Re: [csswg-drafts] [css-display] Should anonymous boxes always inherit through the box tree?

The CSS Working Group just discussed `[css-display] Should anonymous boxes always inherit through the box tree?`, and agreed to the following resolutions:

* `RESOLVED: let's try it out, go forward with the diff`

<details><summary>The full IRC log of that discussion</summary>
&lt;astearns> topic: [css-display] Should anonymous boxes always inherit through the box tree?<br>
&lt;tantek> astearns: and another box tree with anon boxes<br>
&lt;astearns> github bot: https://github.com/w3c/csswg-drafts/issues/1118<br>
&lt;tantek> TabAtkins: this is about inheritance, not normal inheritance<br>
&lt;dbaron> github: https://github.com/w3c/csswg-drafts/issues/1118<br>
&lt;tantek> TabAtkins: do they inherit through box tree or element tree<br>
&lt;tantek> TabAtkins: we have a diff in the thread there as a suggestion<br>
&lt;tantek> TabAtkins: aside from a few nits we don't have obj. well we have anti as disagreement<br>
&lt;tantek> TabAtkins: also says webkit could impl without much trouble<br>
&lt;tantek> TabAtkins: it touches several specs<br>
&lt;tantek> TabAtkins: the implication of it is that in the example, first post in the thread<br>
&lt;tantek> TabAtkins: using the code provided where section provides a color and div provies a color<br>
&lt;tantek> TabAtkins: but div is display contents, the text will still be green<br>
&lt;tantek> TabAtkins: it won't turn red just because there is display contents involved<br>
&lt;tantek> astearns: but if the div had an underline?<br>
&lt;tantek> TabAtkins: decorations are weird and should not impinge on this<br>
&lt;tantek> TabAtkins: this is just about normal inheritance<br>
&lt;tantek> TabAtkins: recall these two examples<br>
&lt;TabAtkins> &lt;section color:red>&lt;div color:green display:contents>Foo&lt;/div>&lt;/section><br>
&lt;tantek> TabAtkins: first example, should text be green or red<br>
&lt;TabAtkins> &lt;section color:red>&lt;div color:green display:contents>&lt;span>Foo&lt;/span>&lt;/div>&lt;/section><br>
&lt;tantek> TabAtkins: second, example, there is an absolute correct answer, and no way to question it<br>
&lt;tantek> TabAtkins: 2nd ex span inherits from div in ordinary way, and then foo gets its color from span<br>
&lt;tantek> TabAtkins: just the 1st ex that we have q about<br>
&lt;tantek> TabAtkins: putting in an empty span like that shouldn't change how inheritance works<br>
&lt;tantek> TabAtkins: so the edit we put together, makes node text be stuff in the tree<br>
&lt;tantek> TabAtkins: we have text nodes in the element tree, text runs in the box tree<br>
&lt;tantek> TabAtkins: means inheritance works the same in both cases<br>
&lt;tantek> TabAtkins: (describes color and boxes)<br>
&lt;tantek> astearns: I have not reviewed the diff, but I like the concept as described, would like to go forward<br>
&lt;tantek> TabAtkins: if people feel they need more review that would be fine but if they are ok with it I would like to commit it<br>
&lt;tantek> fremy: for us I think it would be fine<br>
&lt;tantek> astearns: any obj to going fwd with diff?<br>
&lt;tantek> RESOLVED: let's try it out, go forward with the diff<br>
&lt;tantek> astearns: almost to the hour. that's it for today<br>
</details>


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

Received on Wednesday, 31 May 2017 16:59:47 UTC