- From: Roman Komarov via GitHub <sysbot+gh@w3.org>
- Date: Wed, 27 Nov 2024 21:53:01 +0000
- To: public-css-archive@w3.org
kizu has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-break] Rename and/or reimagine `widows` and `orphans` == I am splitting this from the issue about renaming `avoid-orphans`: https://github.com/w3c/csswg-drafts/issues/11283 For context and arguments why we want to rename it, see the linked issue, but what I would like to discuss in this one is twofold: 1. Do we want to rename the `widows` and `orphans` properties from the [CSS Fragmentation Module](https://drafts.csswg.org/css-break/#widows-orphans)? The exact names need to be bikeshed, but because both of these are about “bad breaks” (how Ellen Lupton names them in her “Thinking with Type”), we could name it by it. Or, we could go from the current behavior which “keeps the lines together”, and name it something like `min-trailing-lines` and `min-leading-lines`. Or something else! 2. If so, do we want to create new properties with the same syntax, and deprecate the old ones, keeping them as aliases? Or is there something else we could improve with the properties, given we will not be bound by interoperability? Given, the current support for these properties is [very spotty](https://caniuse.com/css-widows-orphans), either could work out. I do not know the reason Firefox did not implement it yet, as well as why there are differences in what was implemented in Chrome and Safari (see https://quirksmode.org/css/css2/widows.html for test cases). This could be a good opportunity to discuss these differences, why they're there, and if we could come with a consensus which all browsers could agree on, so we could move forward. Both avoiding short lines, and avoiding single leading or trailing lines in fragments are something I (and many other developers) wanted to have for a while (example: https://github.com/web-platform-tests/interop/issues/520), so it would be great to get closer to it. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11286 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 27 November 2024 21:53:02 UTC