Closed
Bug 1426493
Opened 7 years ago
Closed 6 years ago
Optimize QuerySelector / GetElementById inside shadow trees.
Categories
(Core :: CSS Parsing and Computation, enhancement, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
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.
Updated•7 years ago
|
Priority: -- → P1
Updated•7 years ago
|
Priority: P1 → P3
Comment 1•7 years ago
|
||
Do we need this for shipping Shadow DOM for the first time? (otherwise I'd like to make it block bug 1438607 instead)
Flags: needinfo?(emilio)
Assignee | ||
Comment 2•7 years ago
|
||
Sounds nice to have and shouldn't be _too_ much work, but yeah, let's move it, doesn't need to block.
Flags: needinfo?(emilio)
Updated•7 years ago
|
Assignee | ||
Comment 4•6 years ago
|
||
This is the only optimization missing compared to documents.
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/aa84fe3c5853
Optimize Element.getElementById inside shadow trees. r=bzbarsky
Comment 6•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•