Elements in disconnected shadow roots should still be readable with ShadowRoot.getElementById #34740
Labels
A-content/dom
Interacting with the DOM from web content
E-more-complex
Variable effort required; may require a mentor. Recommended solution is clearly described in the iss
Test:
tests/wpt/tests/shadow-dom/getElementById-dynamic-001.html
Spec: https://dom.spec.whatwg.org/#dom-nonelementparentnode-getelementbyid
I suspect we need to make the logic in these methods more complicated than it currently is:
servo/components/script/dom/element.rs
Lines 3644 to 3647 in 2ab66ce
servo/components/script/dom/element.rs
Line 3492 in 2ab66ce
The text was updated successfully, but these errors were encountered: