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

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 UTC