Open Bug 183038 Opened 22 years ago Updated 2 years ago

CSSOM creation of @import rules messes up sheet ordering

Categories

(Core :: CSS Parsing and Computation, defect, P4)

defect

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

References

Details

(4 keywords)

Attachments

(1 file)

This is spun off bug 107567.  I'll try to attach testcases later tonight.

The right approach may be to make the @import rule kick off the child sheet load
upon being inserted into the parent sheet like we do for <link> and <style>.
Blocks: 107567
Whiteboard: [whitebox]
Attached file simple testcase
Keywords: testcase
Whiteboard: [whitebox]
Priority: -- → P2
Please do _NOT_ set the priority on my bugs.  I can do it myself, thank you.
Priority: P2 → --
Priority: -- → P2
Target Milestone: --- → mozilla1.5beta
Depends on: 98765
Another option, now that bug 98765 is fixed, is to push all the order-checking
and such down into the parser, eliminate this business of passing back an
nsISupportsArray, and change the appending function in this case to insert the
rule into the sheet in the right place.
Blocks: 202138
Keywords: css2
OS: Linux → All
Hardware: PC → All
QA Contact: ian → style-system
Assignee: bzbarsky → nobody
Priority: P2 → --
Target Milestone: mozilla1.5beta → ---
This is still an issue.  See the comment right above mozilla::css::Loader::InsertChildSheet which explains the problem pretty clearly.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: