Only store the preferred stylesheet set in one place

NEW
Assigned to

Status

()

defect
P4
normal
13 years ago
9 years ago

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Right now we store the preferred stylesheet set for a document on both the document and the CSSLoader.  We should pick one and stick with it.

We could store on the CSSLoader, I guess, if we check all the callers of GetHeaderData and move the relevant ones over to GetPreferredStyleSheetSet.  Or we could store on the document if we had a quick way of getting to it from the CSSLoader (I don't like the GetHeaderData API so much).

I think I'd prefer to store on the loader, myself.  Thoughts?
Target Milestone: --- → mozilla1.9alpha
QA Contact: ian → general
Priority: -- → P2
Target Milestone: mozilla1.9alpha1 → ---
Priority: P2 → P3
Priority: P3 → P4
QA Contact: general → style-system
You need to log in before you can comment on or make changes to this bug.