Closed Bug 1373559 Opened 8 years ago Closed 8 years ago

Gecko incorrectly applies style from removed @import rule

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: xidorn, Assigned: emilio)

References

Details

Attachments

(2 files)

Attached file testcase
See the attached testcase. Gecko shows a red text while it should be unstyled, but Stylo seems to handle this correctly.
I see unstyled on Gecko, fwiw... Timing-sensitive?
Oh, hmmmm...... Interesting... This was actually fixed by my patch not very long ago...
No longer blocks: stylo-behavior-changes
Status: NEW → RESOLVED
Closed: 8 years ago
Depends on: 1368782
Resolution: --- → FIXED
Let's land that test-case.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I wanted to upstream it, but couldn't find a suitable-folder in w3c-css for it. Should I create a new one under css21? Meanwhile I guess we can land it in layout/reftests/css-import.
Comment on attachment 8878724 [details] Bug 1373559: Test that removed import rules no longer apply to the document. https://reviewboard.mozilla.org/r/150046/#review155428
Attachment #8878724 - Flags: review?(xidorn+moz) → review+
Pushed by xquan@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4d2d5d5342ef Test that removed import rules no longer apply to the document. r=xidorn
(In reply to Emilio Cobos Álvarez [:emilio] from comment #5) > I wanted to upstream it, but couldn't find a suitable-folder in w3c-css for > it. Should I create a new one under css21? Meanwhile I guess we can land it > in layout/reftests/css-import. I don't think it's worth upstreaming, actually... This is pretty much an engine-specific bug. It seems to me Blink doesn't render it correctly, but in a different way, though...
(In reply to Xidorn Quan [:xidorn] UTC+10 from comment #8) > (In reply to Emilio Cobos Álvarez [:emilio] from comment #5) > > I wanted to upstream it, but couldn't find a suitable-folder in w3c-css for > > it. Should I create a new one under css21? Meanwhile I guess we can land it > > in layout/reftests/css-import. > > I don't think it's worth upstreaming, actually... This is pretty much an > engine-specific bug. It seems to me Blink doesn't render it correctly, but > in a different way, though... I do think those tests are extremely valuable, actually... But I'll bite the bullet for this one I guess :)
Status: REOPENED → RESOLVED
Closed: 8 years ago8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Assignee: nobody → emilio
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: