Closed Bug 992260 Opened 10 years ago Closed 6 years ago

[WebComponents] Element.getDistributedNodes demo does not seems to work correctly at http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom-301/#toc-distributed-nodes

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: vingtetun, Unassigned)

References

(Blocks 1 open bug)

Details

Just looking at some tutos in both Chrome and Firefox and it seems like the Element.getDistributedNodes demo at http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom-301/#toc-distributed-nodes does not work as expected in Firefox.

In the results area the values returned for "h4:first-of-type" seems to be empty.

(This is with dom.webcomponents.enabled = true).
getDestinationInsertionPoints is Google only thingie, not v1 ShadowDOM API
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.