W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: [webcomponents] Making the shadow root an Element

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 11 Feb 2013 16:56:50 -0800
Message-ID: <CAAWBYDBjqvy9tjvns+BJkifCkkd0p7ZwnYRWfABNBccdCkabsQ@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: public-webapps <public-webapps@w3.org>
On Mon, Feb 11, 2013 at 4:52 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 2/11/13 6:49 PM, Tab Atkins Jr. wrote:
>> I propose that we reify the shadow root into an element, but default
>> it to "display: contents;"
> Why does this part matter?
>> <http://dev.w3.org/csswg/css-display-3/#the-display-box> in the UA
>> stylesheet. That way it has no layout effect by default
> It has no layout by default anyway, since it's not present in the flattened
> tree, no?

If it's an element and thus has an effect on styling, I presume it
would appear in the final flattened tree.  (But given the styling I
suggest, it wouldn't.)

If you need a wrapper element anyway, might as well just expose the
ability to use the shadow root itself, since it acts like a wrapper.

Received on Tuesday, 12 February 2013 00:57:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:58 UTC