[webkit-dev] Shadow DOM API (first iteration) ready for landing

Dimitri Glazkov dglazkov at chromium.org
Tue Jun 28 16:42:21 PDT 2011

Dear WebKit,

After nearly a year of building up the shadow DOM plumbing and
converting WebKit to use it, we are finally at the point where we can
expose this plumbing as public-facing API. The approach we take here
is a very cautious one: we want to expose the minimum subset of the
larger Web Component Model (some of you might remember is it as XBL2).

The goal is to minimize the impact, but have something useful enough
for Web developers to help us gather feedback.

After careful consideration, we've come up with this subset for our
first iteration:


Since this is an experimental API, here are the actual API names we want to use:


We will also provide the ENABLE(COMPONENT_MODEL) flag to control
availability of this API and its iterations, even though all of the
C++ code will always compile, since it's used throughout WebKit.

NOTE: This iteration of the API is not intended to ship in a release
version of a browser (think nightlies and dev channel only). Be sure
to disable it on your respective release branches.

Please chime in if you have concerns. Wish us luck!


More information about the webkit-dev mailing list