Closed
Bug 1301591
Opened 9 years ago
Closed 7 years ago
.createShadowRoot(); doesn't work in firefox
Categories
(Developer Documentation Graveyard :: API: DOM, defect, P5)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: pepsicolaman33, Unassigned)
References
()
Details
:: Developer Documentation Request
Request Type: Correction
Gecko Version: unspecified
Technical Contact:
:: Details
checking out mdn documentation on shadow dom
https://developer.mozilla.org/en-US/docs/Web/Web_Components/Shadow_DOM
Basic Shadow DOM example doesn't work in firefox -
// create shadow DOM on the <p> element above
var shadow = document.querySelector('#hostElement').createShadowRoot();
results in console error - .createShadowRoot() is not a function.
I included webcomponents.js script from Polymer and then shadow dom works fine.
| Reporter | ||
Comment 1•9 years ago
|
||
noted this in 47.0 on ubuntu
Comment 2•9 years ago
|
||
createShadowRoot() is an old API that we're not going to implement in Firefox. The standard one we're working on is tracked in bug 1205323.
Updated•7 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•