Closed Bug 1687126 Opened 4 years ago Closed 4 years ago

Remove a spurious check in HTMLStyleElement::UnbindFromTree which causes shadowRoot.styleSheets to be incorrect.

Categories

(Core :: DOM: CSS Object Model, defect)

defect

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(1 file)

No description provided.

This matches other browsers and
https://github.com/w3c/csswg-drafts/issues/3096.

It also matches SVGStyleElement and HTMLLinkElement of course.

Attachment #9197580 - Attachment description: Bug 1687126 - Fix HTMLStyleElement::UnbindFromTree to always remove its stylesheet. r=smaug → Bug 1687126 - Fix HTMLStyleElement::UnbindFromTree to always remove its stylesheet. r=smaug,edgar
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/933b5d98c1bf
Fix HTMLStyleElement::UnbindFromTree to always remove its stylesheet. r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/27215 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: