W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2018

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

From: Simon Owen via GitHub <sysbot+gh@w3.org>
Date: Sun, 30 Dec 2018 12:21:44 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-394867976-1546172503-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:41 UTC