Open Bug 383650 Opened 19 years ago Updated 3 years ago

Provide API for getting a nsIDOMCSSStyleSheet from nsIStyleSheetService

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

People

(Reporter: WeirdAl, Unassigned)

Details

For Mozilla 1.8 code, our application (where I work, not Verbosio) adds and removes stylesheets we provide by the style sheet service. For Mozilla 1.9, we'd prefer the ability to disable and enable style sheets via the nsIDOMStyleSheet interface, and to get a little data about the style sheets in the service already. Alternatively, if loadAndRegisterSheet() were to return the nsIDOMStyleSheet, we could deal with the stylesheets we're responsible for. I'd like to implement this. Any thoughts on what a revised IDL should look like?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.