On 09/20/2016 12:53 AM, fantasai wrote:
    <div style="display:contents">

and what about:

    <div style="display:contents">

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.  (The only difference is that when the <div>
exists, its children inherits style from it.)
That's how display:contents is implemented in Gecko, and we support
display:contents pretty much everywhere, including tables, shadow DOM
and whatnot.

Note that in Gecko the answer is different for those two cases,
more or less by accident.

That's just a bug IMO.  I've filed:


Reply via email to