[csswg-drafts] [css-text] Handling 'widows' and 'orphans'. (#3473)

s10wen has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-text] Handling 'widows' and 'orphans'. ==
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.




Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3473 using your GitHub account

Received on Sunday, 30 December 2018 12:21:46 UTC