[webkit-dev] Implementing slot-based shadow DOM API

Ryosuke Niwa rniwa at webkit.org
Tue Jun 14 20:07:23 PDT 2016


Hi all,

Antti and I have successfully implemented new slot-based shadow DOM
API, and it has been enabled on Safari Technology Preview as well as
Safari 10 included in macOS Sierra.  There are a few remaining bugs to
be fixed as tracked in webkit.org/b/148695 but we believe we've
polished it enough to be shipped on all ports soon.

As such, we're enabling the feature and removing the build flag on all
ports on webkit.org/b/158738.  We still have a runtime flag so please
disable the feature using that if you're about to ship a product with
WebKit and would like to disable the feature on your port.

- R. Niwa


On Tue, Sep 15, 2015 at 5:10 PM, Ryosuke Niwa <rniwa at webkit.org> wrote:
> Hi all,
>
> Now that our Slot Proposal [1] has been accepted by the Web Apps WG in
> the latest editor's working draft of shadow DOM API [2], I've started
> implementing in WebKit.  You can follow this effort on Bugzilla [3].
> The feature will be enabled by default without prefix on trunk on Mac
> and iOS ports and disabled elsewhere by default.
>
> I'll let you all know once our implementation is mature enough to be
> enabled on other ports.
>
> We're also planning to deprecate and remove the old CSS selector-based
> "v0" API implemented by Google before Blink fork as the code is no
> longer maintained.  I've already moved the implementation to
> HTMLDetailsElement [4] as it's the only feature in WebKit that still
> uses this feature.
>
> Please let me know if you have any comments or concerns.
>
> [1] https://lists.w3.org/Archives/Public/public-webapps/2015AprJun/0184.html
> [2] https://w3c.github.io/webcomponents/spec/shadow/
> [3] https://bugs.webkit.org/show_bug.cgi?id=148695
> [4] http://trac.webkit.org/changeset/189824
>
> - R. Niwa


More information about the webkit-dev mailing list