Closed
Bug 1387933
Opened 7 years ago
Closed 7 years ago
stylo: Import stylesheets are not preserved after reparsing
Categories
(Core :: CSS Parsing and Computation, enhancement, P2)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: xidorn, Assigned: bradwerth)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 2 obsolete files)
Test layout/inspector/tests/test_parseStyleSheetImport.html checks this.
I'm not sure whether the inspector requires this invariant to behave correctly. We probably should preserve imported stylesheets after reparsing like what Gecko does.
Reporter | ||
Comment 1•7 years ago
|
||
This could potentially be tricky for Stylo, I guess...
Anything related to @import could become tricky :/
Comment 2•7 years ago
|
||
This is the LoaderReusableStyleSheets stuff? I thought that was working.
Reporter | ||
Comment 3•7 years ago
|
||
Maybe we regressed it somehow. I think I didn't see this failure a while before.
Assignee | ||
Comment 4•7 years ago
|
||
Likely in code I've touched recently. I'll take a look.
Assignee: nobody → bwerth
Assignee | ||
Comment 5•7 years ago
|
||
This test doesn't fail for me, with or without e10s. It does show weird behavior in that the test summary page (with the passed/failed/todo counts) displays a purple background, so there could be some bug present. Does the test still fail for you?
Flags: needinfo?(xidorn+moz)
Reporter | ||
Comment 6•7 years ago
|
||
This test is enabled and marked fail-if [1] so it should still be failing on at least infra.
[1] https://searchfox.org/mozilla-central/rev/33295c6f4d57d16fe76476ac131cadd4cd3d05ad/layout/inspector/tests/mochitest.ini#37
Reporter | ||
Comment 7•7 years ago
|
||
Same as what I described in bug 1387913 comment 4, this test does still fail, and it shows green just because it is marked expected fail.
Flags: needinfo?(xidorn+moz)
Reporter | ||
Updated•7 years ago
|
Priority: -- → P2
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8899986 -
Flags: review?(xidorn+moz)
Attachment #8899987 -
Flags: review?(xidorn+moz)
Attachment #8899988 -
Flags: review?(xidorn+moz)
Reporter | ||
Comment 11•7 years ago
|
||
mozreview-review |
Comment on attachment 8899986 [details]
Bug 1387933 Part 1: Servo-side add a reusable sheets parameter to Servo_StyleSheet_FromUTF8Bytes.
https://reviewboard.mozilla.org/r/171310/#review176518
Attachment #8899986 -
Flags: review?(xidorn+moz) → review+
Reporter | ||
Comment 12•7 years ago
|
||
mozreview-review |
Comment on attachment 8899987 [details]
Bug 1387933 Part 2: Gecko-side add a reusable sheets parameter to Servo_StyleSheet_FromUTF8Bytes, and mark a test as passing.
https://reviewboard.mozilla.org/r/171312/#review176520
Attachment #8899987 -
Flags: review?(xidorn+moz) → review+
Reporter | ||
Comment 13•7 years ago
|
||
mozreview-review |
Comment on attachment 8899988 [details]
Bug 1387933 Part 3: Mark as passing test_parseStyleSheetImport.html.
https://reviewboard.mozilla.org/r/171314/#review176522
This should probably be merged into part 2, actually.
Attachment #8899988 -
Flags: review?(xidorn+moz) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8899988 -
Attachment is obsolete: true
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8899986 -
Attachment is obsolete: true
Comment 18•7 years ago
|
||
Pushed by bwerth@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1e7e3c146e8c
Part 2: Gecko-side add a reusable sheets parameter to Servo_StyleSheet_FromUTF8Bytes, and mark a test as passing. r=xidorn
Comment 19•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in
before you can comment on or make changes to this bug.
Description
•