Le 05/01/2012 13:30, Matthew Wilcox a écrit : > Widow is a CSS property from the CSS2 era, which is part of the “paged > media” specifications, it isn't relevant to screen media. Orphans are > a related concept that are, but have never been implemented in any > media. I propose that we do. > > An orphan is a singular word that drops to a new-line at the end of a > sentence. They're a typographic no-no and never happen in professional > print. > > I'd like to have something like: > > h2 { orphans: 2; } > > which would control the minimum number of words that must be dropped > onto a new-line if a new-line is required. > Hi, Both 'widows' and 'orphans' properties exist in CSS 2.1, but they’re both about the number of lines on a page, not the number of words on a line. They’re unchanged in CSS3: http://www.w3.org/TR/CSS21/page.html#break-inside http://dev.w3.org/csswg/css3-page/#breaks-inside Do you mean CSS should gain an orphan-words property? (Or whatever the name.) I’m not sure widow-words would make sense. Regards, -- Simon SapinReceived on Thursday, 5 January 2012 12:58:53 UTC
This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:08 UTC