8000 [css-text] Preventing too-short final lines of blocks (Last Line Minimum Length) · Issue #3473 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[css-text] Preventing too-short final lines of blocks (Last Line Minimum Length) #3473

@s10wen

Description

@s10wen

CodePen example:
https://codepen.io/s10wen/pen/GPWWyP?editors=1100#0

Tweet + replies:
https://twitter.com/s10wen/status/1076079575506083840

Wikipedia explanation:
https://en.wikipedia.org/wiki/Widows_and_orphans

CSS Text 3 w3 Spec:
https://www.w3.org/TR/css-text-3/

The above links have led me here, to further pursue this. I'm wondering if anything currently exists, or could be implemented to handle this. My idea is that orphan: 2 would always leave two strings of text together, please see the CodePen for an example. Or, it could be that orphan: true, would mean that orphans always had at least 2 words.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Not for TPAC?

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0