Re: [whatwg] [css-display] CSS Display Review

On 09/20/2016 02:54 AM, Boris Zbarsky wrote:
> On 9/20/16 1:46 AM, Mats Palmgren wrote:
>> Assuming that the above are the final DOM trees, then they should
>> create exactly the same CSS boxes as if the <div> element is replaced
>> by its (DOM) children.
>
> That contradicts what fantasai claimed the spec says.

This is what the CSS Display spec says:
"For the purposes of box generation and layout, the element must be 
treated as if it had been replaced with its children and pseudo-elements 
in the document tree."
https://drafts.csswg.org/css-display/#box-generation

Which is pretty much what I said above, no?

I'm confused - @fantasai are you claiming that the above wording in
the css-display spec is wrong and that the intended meaning is
something fundamentally different?

/Mats

Received on Tuesday, 20 September 2016 01:45:10 UTC