mask-mode must not have a value called 'auto'

RESOLVED FIXED in Firefox 47

Status

()

defect
RESOLVED FIXED
4 years ago
3 years ago

People

(Reporter: u459114, Unassigned)

Tracking

(Blocks 1 bug, {dev-doc-needed})

unspecified
mozilla45
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox47 fixed)

Details

Attachments

(1 attachment)

Reporter

Description

4 years ago
Report by dbaron
https://lists.w3.org/Archives/Public/public-fx/2015OctDec/0021.html

In short, mask-mode should not have a value called 'auto' since it makes parsing the mask shorthand ambiguous.

For example,
  mask: url(xxx) auto

You have no idea that this auto means mask-mode:auto or mask-size:auto
The CSS WG just (a few minutes ago) resolved to rename 'auto' to 'match-source'.

(We also noticed that the definition for SVG images should really say to honor mask-type, not to just do luminance -- but there was discussion about maybe removing mask-type.)
Reporter

Updated

3 years ago
Blocks: 1228354
Reporter

Comment 3

3 years ago
Change in this patch is very trivial. Waiting for test result.
Reporter

Updated

3 years ago
Attachment #8722595 - Flags: review?(dbaron)
Comment on attachment 8722595 [details]
MozReview Request: Bug 1224424 - Replace mask-mode:auto keyword by mask-mode:match-source

https://reviewboard.mozilla.org/r/36117/#review33059
Attachment #8722595 - Flags: review?(dbaron) → review+
Reporter

Updated

3 years ago
Blocks: mask-ship
Reporter

Comment 5

3 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/244ab4103b969298cc006d1459de0653344235dd
Bug 1224424 - Replace mask-mode:auto keyword by mask-mode:match-source; r=dbaron

Comment 6

3 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/244ab4103b96
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.