Re: [webcomponents] Making the shadow root an Element

On Mon, Feb 11, 2013 at 5:41 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 2/11/13 7:56 PM, Tab Atkins Jr. wrote:
>> If it's an element and thus has an effect on styling, I presume it
>> would appear in the final flattened tree.
>
> Not given the flattened tree construction algorithm I last saw...  Am I just
> missing something?

Right, because it's not an element yet, and thus can't appear in the
tree like all the other elements do.  Once it becomes an element, I
presume it would.

>> (But given the styling I
>> suggest, it wouldn't.)
>
> Styling doesn't affect the structure of the flattened tree.

Sorry, my mistake.  My point is that it won't appear in the box tree.

~TJ

Received on Tuesday, 12 February 2013 06:12:23 UTC