Re: [csswg-drafts] [css-inline][css-pseudo] Interaction of root inline box and ::first-line (#1384)

The CSS Working Group just discussed `[css-inline][css-pseudo] Interaction of root inline box and ::first-line`, and agreed to the following:

* `RESOLVED: root inline box is inside all the first line pseudo elements`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: [css-inline][css-pseudo] Interaction of root inline box and ::first-line<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/1384<br>
&lt;dael> oriol: I can explain unless florian prefers<br>
&lt;dael> oriol: The idea is that in css 2 we had concept of the strat that forced the line height to be at least the value of the line height in block container<br>
&lt;dael> oriol: Replaced with root inline box, but not clear how that interacts with first line. root inline is anon inline box that contains inline level contents in first line.<br>
&lt;dael> oriol: The first line is behaving as an inline lievel is it inside the root inline box? Inside the first line pseudo?<br>
&lt;dael> oriol: This was more theoretical but had practical implication we resolved in issue 2282<br>
&lt;dael> oriol: There resolved in first line pseudo element you can set line height to a value smaller than in block. this should reduce it.<br>
&lt;dael> oriol: Implication of this is that first-line pseudo element cannot be inside root inline box. Has to be the opposite<br>
&lt;dael> oriol: Then florian proposed that what we could do is unify the boxes and say first-line pseudo is exactly the frag of the root inline box in the first line. Don't think this works b/c can have multiple first line pseudo elements<br>
&lt;dael> oriol: At most what we could do is innermost is the frag of the root inline box. Otherwise we do need nesting<br>
&lt;dael> oriol: Only possibility we have is that the fragment of the root inline box is inside the innermost or it's equal to innermost<br>
&lt;Rossen_> q?<br>
&lt;dael> florian: Makes sense. Prop because seemed simplier but you have a case where makes a difference. Given that we're left with one possibility and go with that<br>
&lt;dael> fantasai: Prop: root inline box is inside all the first line pseudo elements<br>
&lt;dael> oriol: Yeah<br>
&lt;dael> Rossen_: Other opinions?<br>
&lt;dael> Rossen_: Obj?<br>
&lt;dael> RESOLVED: root inline box is inside all the first line pseudo elements<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1384#issuecomment-1028481343 using your GitHub account


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

Received on Thursday, 3 February 2022 00:18:27 UTC