Closed Bug 282281 Opened 20 years ago Closed 14 years ago

should nsIDOMCSS2Properties.idl and nsIDOMElementCSSInlineStyle.idl be frozen?

Categories

(Core :: DOM: CSS Object Model, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: Biesinger, Unassigned)

Details

Attachments

(1 file)

Please add nsIDOMCSS2Properties to the list for consideration, and it would
appear that nsIDOMCSSStyleDeclaration.idl is already frozen.
nevermind, looks like it was just a typo in the bug summary.
Summary: should nsIDOMCSSStyleDeclaration.idl and nsIDOMElementCSSInlineStyle.idl be frozen? → should nsIDOMCSS2Properties.idl and nsIDOMElementCSSInlineStyle.idl be frozen?
This has come up before....  In brief, the DOM CSS stuff is rather badly
designed (in fact, parts of it are incompatible with CSS).

We can freeze nsIDOMElementCSSInlineStyle, I think, but I'm not sure about
nsIDOMCSS2Properties, since the DOM interface (based on CSS2) doesn't match what
we implement (CSS2.1).
> ...I'm not sure about
> nsIDOMCSS2Properties, since the DOM interface (based on CSS2) doesn't match what
> we implement (CSS2.1).

Is there an alternate version defined by CSS2.1?  Should we implement that
version of the interface instead?
There isn't yet.  In general, some of the DOM CSS interfaces are due to be
withdrawn from REC status, last I checked.  When that will happen, I don't know.
Nobody apart from me has really indicated any interest in doing the work, and my
WHATWG work has priority. So ETA is not this year.
(In reply to comment #3)
> We can freeze nsIDOMElementCSSInlineStyle, I think, but I'm not sure about
> nsIDOMCSS2Properties, since the DOM interface (based on CSS2) doesn't match what
> we implement (CSS2.1).

Any objections to freezing nsIDOMCSSInlineStyle as-is, then?
If it matches the DOM spec, freezing it is OK with me.
OK with me too.
Attached patch freeze itSplinter Review
Assignee: general → bryner
Status: NEW → ASSIGNED
Attachment #183122 - Flags: superreview?(bzbarsky)
Attachment #183122 - Flags: review?(bzbarsky)
Comment on attachment 183122 [details] [diff] [review]
freeze it

Looks good.
Attachment #183122 - Flags: superreview?(bzbarsky)
Attachment #183122 - Flags: superreview+
Attachment #183122 - Flags: review?(bzbarsky)
Attachment #183122 - Flags: review+
Comment on attachment 183122 [details] [diff] [review]
freeze it

requesting approval to land
Attachment #183122 - Flags: approval1.8b2?
Comment on attachment 183122 [details] [diff] [review]
freeze it

a=shaver for SDK improvements.
Attachment #183122 - Flags: approval1.8b2? → approval1.8b2+
Comment on attachment 183122 [details] [diff] [review]
freeze it

checked in; I'm leaving the bug open since we haven't decided what to do about
nsIDOMCSS2Properties.
Assignee: bryner → general
Status: ASSIGNED → NEW
Assignee: general → nobody
QA Contact: ian → general
WONTFIX, now we unfroze everything?
Well, it was fixed, really, and we treated nsIDOMCSS2Properties as frozen despite the silliness of using it from C++ in the first place (when the whole point of the interface was shortcuts that were useful for JS).
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: