- From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
- Date: Wed, 29 May 2019 01:05:27 +0000
- To: public-css-archive@w3.org
> I'm not sure zero sink would get you that line break there? I didn't suggest there's an actual line break there (see below)... The offset could just be an implied layout effect from having a zero sink. > Probably the best way to handle this is a sink of 1 plus `wrap-after: always` The disadvantage is that it makes the initial-letter not part of the first line. `::first-line` would only include the initial-letter for example. That's not the case for initial-letters without a `wrap-after: always` style. To me, the first letter [in the example screenshot above] is semantically part of the first line even though it's rendered above the remainder of the line. The red color kind of emphasizes that too. Compare for example `initial-letters: 1 2` - that letter is still on the first line although it's rendered completely below it. (Also, a minor limitation of using `wrap-after` is that you must use a legacy `::first-letter` to apply it (which is a subset of `initial-letter` use cases, IIRC).) -- GitHub Notification of comment by MatsPalmgren Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3698#issuecomment-496744898 using your GitHub account
Received on Wednesday, 29 May 2019 01:05:29 UTC