47 bytes, text/x-phabricator-request
|Details | Review|
We have optimizations for GetElementById and querySelector with id selectors for nodes in the document, we should be able to do the same for nodes in a shadow root.
Do we need this for shipping Shadow DOM for the first time? (otherwise I'd like to make it block bug 1438607 instead)
Sounds nice to have and shouldn't be _too_ much work, but yeah, let's move it, doesn't need to block.
There's only one missing bit here.
Assignee: nobody → emilio
This is the only optimization missing compared to documents.
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/aa84fe3c5853 Optimize Element.getElementById inside shadow trees. r=bzbarsky
You need to log in before you can comment on or make changes to this bug.