Re: [csswg-drafts] [css-pseudo] ::first-line and line-height (#2282)

[Reduced testcase](http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cstyle%3E%0Ap%20%7B%20border%3A%20solid%3B%20width%3A%2010em%3B%20font-size%3A%2024px%3B%20line-height%3A%2036px%3B%20%7D%0Ap%3Afirst-line%20%7B%20%20background%3A%20orange%3B%20font-weight%3A%20bold%3B%20line-height%3A%2012px%3B%20font-size%3A%2012px%3B%20%7D%0A%3C%2Fstyle%3E%0A%0A%3Cp%20class%3D%27container%27%3EThis%20is%20a%20test%20paragraph%20so%20let%27s%20make%20more%20text.)

So I guess this is the practical impact of @Loirooriol’s question in #1384. :)
It does seem to me that letting the ::first-line’s line-height affect the root inline fragment on the first line is helpful, so maybe we want to resolve on that?

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 31 December 2020 08:08:45 UTC