Closed Bug 1435568 Opened 6 years ago Closed 6 years ago

Remove SVGUnitTypes values from elements

Categories

(Core :: SVG, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: longsonr, Assigned: longsonr)

Details

Attachments

(1 file, 1 obsolete file)

This seems to be both what https://github.com/w3c/svgwg/issues/291 decided and what Chrome has implemented.

There's a test here: https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=4581

It also makes using values from bindings in C++ easier as there aren't multiple copies of the same constant (albeit in different namespaces) floating around.
Attached patch patch (obsolete) — Splinter Review
Assignee: nobody → longsonr
Attachment #8948189 - Flags: review?(dholbert)
Attachment #8948189 - Attachment is obsolete: true
Attachment #8948189 - Flags: review?(dholbert)
Attachment #8948243 - Flags: review?(dholbert)
Attachment #8948243 - Flags: review?(dholbert) → review+
Comment on attachment 8948243 [details] [diff] [review]
Don't need SVGUnitTypeValues at all now

I need a DOM peer review too.
Attachment #8948243 - Flags: review?(bkelly)
Comment on attachment 8948243 [details] [diff] [review]
Don't need SVGUnitTypeValues at all now

Review of attachment 8948243 [details] [diff] [review]:
-----------------------------------------------------------------

WebIDL changes look ok.  It would be nice if the svg webidl files pointed to where the various interfaces are defined.  Some of these are not in the main SVG spec, but things like css-masking AFAICT.

Also, do we have WPT tests for SVG?
Attachment #8948243 - Flags: review?(bkelly) → review+
(In reply to Ben Kelly [:bkelly] from comment #4)
> Also, do we have WPT tests for SVG?

Looks like there are some in https://dxr.mozilla.org/mozilla-central/source/testing/web-platform/tests/svg (though those are mostly from upstream -- most of our own SVG test coverage is from reftests/mochitests right now).
Pushed by longsonr@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/dd4ffa63228d
Remove SVGUnitTypes values from elements r=jwatt r=bkelly (DOM Peer)
https://hg.mozilla.org/mozilla-central/rev/dd4ffa63228d
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: