Make DevTools work with CSSNestedDeclarations objects.
Categories
(DevTools :: Inspector: Rules, defect)
Tracking
(firefox132 fixed)
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(2 files)
After bug 1918408, some styles start coming from CSSNestedDeclarations objects. However those aren't returned by InspectorUtils.getCSSStyleRules
for example.
Assignee | ||
Comment 1•2 months ago
|
||
Rename getCSSStyleRules now that it can return something else, and
change getCSSStyleRules_starting_style.html to cover this again.
Unfortunately the asserts in ServoStyleRuleMap.cpp no longer hold,
because the style attribute and other declarations are expected not to
show up there.
Updated•2 months ago
|
Assignee | ||
Comment 2•2 months ago
|
||
Now that we get CSSNestedDeclarations objects from getMatchedCSSRules(),
undo the workarounds added in bug 1918408, and deal with them in
DevTools somewhat reasonably, and remove the behavior-preserving
workarounds introduced in bug 1918408.
Assignee | ||
Updated•2 months ago
|
Comment 5•2 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8635b3512ad8
https://hg.mozilla.org/mozilla-central/rev/e9455a58a096
https://hg.mozilla.org/mozilla-central/rev/ad52da9e24b6
Description
•