Closed Bug 1385193 Opened 3 years ago Closed 3 years ago

stylo: Set owner rule properly for stylesheet from import rule

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: xidorn, Assigned: xidorn)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This is a regression from bug 1372041 and causes layout/inspector/tests/test_getCSSStyleRules.html to crash at inserting import rule.
Comment on attachment 8891214 [details]
Bug 1385193 - Set owner rule of child sheet properly.

https://reviewboard.mozilla.org/r/162432/#review167728

Whoops... r=me

Any chance to have a test for this?
Attachment #8891214 - Flags: review?(emilio+bugs) → review+
We just need to enable mochitests in layout/inspector...
Pushed by xquan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/38b225af571b
Set owner rule of child sheet properly. r=emilio
https://hg.mozilla.org/mozilla-central/rev/38b225af571b
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.