Closed
Bug 1547619
Opened 6 years ago
Closed 6 years ago
:-moz-use-shadow-tree-root pseudo-class code is wrong.
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla68
| Tracking | Status | |
|---|---|---|
| firefox68 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
The following code:
Matches even if the <symbol> element is not in the shadow tree.
It should also check self.parent_node().map_or(false, |p| p.is_shadow_root()) or such.
But I think we can get rid of the pseudo-class entirely and all the associated code for symbol frames now we use Shadow DOM for this stuff.
| Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(emilio)
Updated•6 years ago
|
Keywords: regression
| Assignee | ||
Comment 1•6 years ago
|
||
Turns out removing the pseudo-class and such ends up not being quite as trivial
as I initially thought, or possible at all, since the fact that the <symbol> is
a <symbol> is observable via selectors, added a test for that.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fcb59a0c2c44
Fix :-moz-svg-use-shadow-tree-root pseudo-class. r=violet
Comment 3•6 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox68:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/16711 for changes under testing/web-platform/tests
Updated•4 years ago
|
Has Regression Range: --- → yes
You need to log in
before you can comment on or make changes to this bug.
Description
•