Closed
Bug 793617
Opened 11 years ago
Closed 11 years ago
implement mask-type property from CSS Masking
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: heycam, Assigned: heycam)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 1 obsolete file)
24.08 KB,
patch
|
dbaron
:
review+
longsonr
:
review+
|
Details | Diff | Splinter Review |
The initially proposed maskType="" attribute on <mask> morphed into a mask-type property that applies to <mask> elements last week during the SVG WG's F2F. A WebKit implementation landed later that week (perhaps a record time between spec change and implementation appearing?): http://trac.webkit.org/changeset/129018 Attached is a WIP implementation. David, can you give some guidance on what we should be doing here with prefixes?
Attachment #663963 -
Flags: feedback?(dbaron)
Comment 1•11 years ago
|
||
Comment on attachment 663963 [details] [diff] [review] WIP (v0.1) I think we should not prefix. If WebKit-based browsers are shipping this, then it's fine for us to ship it too; if not, we probably want to put it behind a pref if the spec isn't stable yet.
Attachment #663963 -
Flags: feedback?(dbaron) → feedback+
Comment 2•11 years ago
|
||
And you need to add to property_database.js and then make sure the layout/style mochitests pass.
Assignee | ||
Comment 3•11 years ago
|
||
r?longsonr for {content,layout}/svg/ changes, r?dbaron for the rest. I've used layout.css.masking.enabled as the pref to put this behind, with the expectation that other things we implement from the CSS Masking specification go behind that pref too.
Attachment #663963 -
Attachment is obsolete: true
Attachment #678965 -
Flags: review?(longsonr)
Attachment #678965 -
Flags: review?(dbaron)
Comment 4•11 years ago
|
||
Comment on attachment 678965 [details] [diff] [review] patch I'd like to see a SMIL animation reftest too.
Attachment #678965 -
Flags: review?(longsonr) → review+
Comment 5•11 years ago
|
||
Comment on attachment 678965 [details] [diff] [review] patch r=dbaron on the parts requested
Attachment #678965 -
Flags: review?(dbaron) → review+
![]() |
||
Updated•11 years ago
|
Keywords: dev-doc-needed
Comment 6•11 years ago
|
||
Is there any reason not to land this?
Assignee | ||
Comment 7•11 years ago
|
||
We just this morning had a telcon where we resolved some concerns about the naming of this property. So I will be landing it today.
Assignee | ||
Comment 8•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e043d5feb0b6
Comment 9•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e043d5feb0b6
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Comment 10•11 years ago
|
||
Documentation done: https://developer.mozilla.org/en-US/docs/Web/CSS/mask-type (with live sample) and https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/20
Keywords: dev-doc-needed → dev-doc-complete
Updated•7 years ago
|
Blocks: css-masking-1
You need to log in
before you can comment on or make changes to this bug.
Description
•