Closed Bug 1455805 Opened 6 years ago Closed 6 years ago

Make "CSS" a namespace, not interface

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

(Keywords: site-compat)

Attachments

(1 file)

See https://github.com/w3c/csswg-drafts/pull/437

Compared to our current behavior this mostly manifests in typeof changing to "object" instead of "function" and the proto changing to Object.prototype instead of Function.prototype.

I suspect this is not a compat issue in practice...

Adding tests is a bit hard because of https://github.com/w3c/web-platform-tests/issues/7583
MozReview-Commit-ID: 5WGNFeVwDYX
Attachment #8969860 - Flags: review?(cam)
Attachment #8969860 - Flags: review?(cam) → review+
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4a076254dccf
Make CSS a namespace, not interface.  r=heycam
https://hg.mozilla.org/mozilla-central/rev/4a076254dccf
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.