Closed
Bug 1415210
Opened 7 years ago
Closed 7 years ago
Subsequent-sibling combinator fails to reapply when sibling is removed from DOM then reinserted
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jwatt, Unassigned)
References
(Blocks 1 open bug)
Details
Load:
https://hg.mozilla.org/mozilla-central/raw-file/2535bad09d720e71a982f3f70dd6925f66ab8ec7/layout/reftests/bugs/315920-21.svg
and open the devtools console. Run the following:
let el = document.querySelector("image");
let parent = el.parentNode;
let nextSibling = el.nextSibling;
el.parentNode.removeChild(el);
The circle should turn red. Now reinsert the <image> by running:
parent.insertBefore(el, nextSibling);
The circle should once again be green, but it remains red.
Reporter | ||
Updated•7 years ago
|
Blocks: VisFuzzBugs
Updated•7 years ago
|
Priority: -- → P3
Comment 1•7 years ago
|
||
Jonathan, following your steps in comment 0, the circle does turn green again. Can you confirm you still see this bug?
Flags: needinfo?(jwatt)
Reporter | ||
Comment 2•7 years ago
|
||
The bug has gone. Thanks.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(jwatt)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•