W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2013

Re: [whatwg] Styling <details>

From: Dimitri Glazkov <dglazkov@chromium.org>
Date: Mon, 7 Jan 2013 11:45:09 -0800
Message-ID: <CADh5Ky1iN=-_vFyznr-cebE5zhKunVeNfEEW9L4EsGP81P=zvQ@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: WHATWG <whatwg@lists.whatwg.org>
On Mon, Jan 7, 2013 at 2:25 AM, Anne van Kesteren <annevk@annevk.nl> wrote:
> On Sun, Jan 6, 2013 at 8:36 PM, Dimitri Glazkov <dglazkov@chromium.org> wrote:
>> So I wouldn't call this exactly vaporware :)
> I cannot get it to work for <select>.

Right. Here is WebKit's burn down list for all remaining elements to
convert to be shadow tree-aware:


> But this is certainly interesting. It would require <details> to be defined in terms of
> shadow trees, or not? As otherwise the triangle in Chrome's
> implementation would not disappear so easily...

While <details> is indeed implemented as a shadow tree in WebKit, it
does not have to be. It does, however, need to be know how to interact
with shadow trees. Specifically, the element has to pretend that its
composition is defined in terms of insertion points:

Received on Monday, 7 January 2013 19:45:33 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:52 UTC