W3C home > Mailing lists > Public > www-style@w3.org > April 2011

Re: The Unwanted Effect of XBL Shadow DOM Elements on Layout

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 08 Apr 2011 09:35:42 -0700
Message-ID: <4D9F395E.9080105@mit.edu>
To: Dimitri Glazkov <dglazkov@google.com>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, "www-style@w3.org" <www-style@w3.org>
On 4/8/11 9:29 AM, Dimitri Glazkov wrote:
> In WebKit today, shadow DOM subtree roots have a null parentNode.
> Instead, there is a special accessor called shadowHost, which is what
> you need to explicitly walk over of the boundary.

Right.  Which means that you need special logic in your box tree 
construction to handle this situation anyway, and hence don't need a 
"special" way of styling the shadow root to indicate that its special.

Which is not the case in the situation under discussion in this thread, 
I think.

-Boris
Received on Friday, 8 April 2011 16:36:15 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:39 GMT