Intent to Implement: Shadow DOM v1

1304 views
Skip to first unread message

Hayato Ito

unread,
Sep 15, 2015, 9:18:37 AM9/15/15
to blink-dev
Contact emails

Spec

Summary
Implement new Shadow DOM APIs based on the *slots* proposal. New APIs are (including, but not limited to):

- Element.attachShadow
- New HTML Element: HTMLSlotElement
- NonDocumentTypeChildNode.assignedSlot

Note that Blink has already shipped Shadow DOM, called *v0*. See "ongoing technical constraints" section for details.

Motivation
All browser vendors finally agreed on the Shadow DOM spec, called *V1*.

Compatibility Risk

There are still active discussions on the spec, https://github.com/w3c/webcomponents/labels/v1, however, I think it's okay to start to implement because we agreed the essential parts of v1 spec.

Ongoing technical constraints
There is an on-going discussion how Shadow DOM v0, which Blink has already shipped, and incoming Shadow DOM v1 should interact each other. That's an issue Blink should resolve.
I'd like to start to implement v1 now so that I can know the feasibility. I'll keep the issue up-to-date.

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux,
Chrome OS, Android, and Android WebView)?
Yes

OWP launch tracking bug

Link to entry on the Chrome Platform Status

Requesting approval to ship?
No

Reply all
Reply to author
Forward
0 new messages