Re: [csswg-drafts] [css-pseudo] Multi-line ::first-letter

> Just think of a case with width:10px; font-size:1px + ::first-letter font-size:10px (if you don't apply first-letter, you have a first-letter, but if you do, you don't; it just cannot work)

This also happens with `::first-line`, e.g. you can use a big letter-spacing so that the last word does not fit and goes to the next line, where there is no letter-spacing so then it could fit in the available space in the first line. Then browsers leave it in the second line: https://jsfiddle.net/pp4euopt/

So if browsers can know what ends up being in the first line and what in the second line when using `::first-line`, I don't see why it should be different for `::first-letter`.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2254#issuecomment-362393717 using your GitHub account

Received on Thursday, 1 February 2018 20:35:48 UTC