[fill-stroke] [filter-effects] [css-color] percentage opacity
Categories
(Core :: CSS Parsing and Computation, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: mozilla-apprentice, Assigned: boris)
References
Details
(Keywords: dev-doc-complete, Whiteboard: [layout:backlog:2019q3][wptsync upstream])
Attachments
(1 file)
A resolution was made for csswg-drafts/#3342.
[fill-stroke] [filter-effects] [css-color] percentage opacity
- RESOLVED: No change to spec
We should probably prioritize adding percentage opacity (in all the places it's allowed) relatively highly since once other engines add it, we're likely to start hitting compat problems reasonably quickly. It should also be pretty simple to do.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
•
|
||
This bug will use <alpha-value>
for these properties:
-moz-window-opacity
uses Opacity
type, so for consistency, I will also update it.
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
The following properties accept <alpha-value> [1], which is
"<number> | <percentage>", so we update the parser, spec links, and
their web-platform-tests.
- opacity
- flood-opacity
- fill-opacity
- stroke-opacity
- stop-opacity
- -moz-window-opacity
Besides, shape-image-threshold [2] still only accepts <number>, so we need
to support a different version of Opacity::parse()
.
[1] https://drafts.csswg.org/css-color/#typedef-alpha-value
[2] https://drafts.csswg.org/css-shapes/#shape-image-threshold-property
Assignee | ||
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder |
Comment 9•5 years ago
|
||
Documented as per https://github.com/mdn/sprints/issues/2084
Description
•