Description
Following the resolution in #3473 (comment), opening an issue. I will copy my comment from that issue:
In various recent typographic contexts, words like “widows” and “orphans” can be considered insensitive, and also can be easily confused between themselves, with people often using one when meaning another.
From wikipedia
Source- Widow (sometimes called orphan)
- A paragraph-ending line that falls at the beginning of the following page or column, thus separated from the rest of the text. Mnemonically, a widow is "alone at the top" (of the family tree but, in this case, of the page).
- Orphan (sometimes called widow)
- A paragraph-opening line that appears by itself at the bottom of a page or column, thus separated from the rest of the text. Mnemonically, an orphan is "alone at the bottom" (of the family tree but, in this case, of the page).
- Runt (sometimes called widow or orphan)
- A word, part of a word, or a very short line that appears by itself at the end of a paragraph. Mnemonically still "alone at the bottom", just this time at the bottom of a paragraph. Orphans of this type give the impression of too much white space between paragraphs.
By this definition, this property should've been called `avoid-runts`, for example, which would be even harder for people to understand (and would also be insensitive, as it also seems to be used as a derogatory term).
For example, Ellen Lupton writes about this in her “Thinking with Type” book, on page 128, and proposes a term “short lines” instead of “orphans”.
Given the current description of text-wrap-style: avoid-orphans
starts as “Specifies the UA should avoid excessively short last lines,” I propose renaming the value to avoid-short-lines
(could be more explicit as avoid-short-last-lines
, but this is probably too much)
In the meeting and in IRC, there were two questions brought up:
-
Should the name be
avoid-short-lines
oravoid-short-last-lines
? Justavoid-short-lines
might be a bit too vague, and authors could expect that short lines on other lines could also be avoided. -
There are already
widows
andorphans
properties in CSS.
My thoughts about these:
-
The current spec already allows UA to decide against improving the last line, so having the
avoid-short-lines
not doing something that they expect will be already an issue. I also think that a case when there are short lines in the middle of the text are relatively rare. It happens only when there are very long words with a short word between, and in the majority of cases, people want to fix the last line specifically. So, when an author trying to solve this problem would see theavoid-short-lines
available, they will understand that it will solve it. The opposite: an author looking at the available values and wondering when they could use one is a much more rare case. -
I'd vote to rename these two, but probably in a separate issue: [css-break] Rename and/or reimagine
widows
andorphans
#11286. While these properties exist, their support is very uneven, with Firefox not implementing them yet, and other browsers having an uneven support for them.
I did also write a blog post about this.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status