CSSOM creation of @import rules messes up sheet ordering

NEW
Unassigned

Status

()

P4
normal
16 years ago
5 years ago

People

(Reporter: bzbarsky, Unassigned)

Tracking

(4 keywords)

Trunk
css2, helpwanted, student-project, testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

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>.

Updated

16 years ago
Whiteboard: [whitebox]
Keywords: testcase
Whiteboard: [whitebox]

Updated

16 years ago
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
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.

Updated

15 years ago
Keywords: css2
OS: Linux → All
Hardware: PC → All
QA Contact: ian → style-system
Assignee: bzbarsky → nobody
Keywords: helpwanted, student-project
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.
You need to log in before you can comment on or make changes to this bug.