Closed
Bug 1520020
Opened 6 years ago
Closed 6 years ago
Filter functions, e.g. blur(), brightness(), contrast(), ..., could be used without arguments
Categories
(Core :: CSS Parsing and Computation, enhancement, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla68
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: boris, Assigned: violet.bugreport)
References
(Blocks 1 open bug, )
Details
(Keywords: dev-doc-needed)
Attachments
(1 file)
Based on the updated spec [1], if we omit the arguments in these css filter functions (blur(), brightness(), contrast(), grayscale(), hue-rotate(), invert(), opacity(), saturate() and sepia()), omitted values are included and compute to their defaults. This can fix two wpt tests [2].
[1] https://drafts.fxtf.org/filter-effects/#supported-filter-functions
[2] /css/filter-effects/parsing/filter-computed.html
/css/filter-effects/parsing/filter-parsing-valid.html
Reporter | ||
Updated•6 years ago
|
Priority: -- → P3
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → violet.bugreport
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•6 years ago
|
||
Filters blur(), invert(), etc. can omit argument.
Pushed by violet.bugreport@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/17d1c1e26e31
Accept empty argument for some filters r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/16913 for changes under testing/web-platform/tests
Comment 4•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox68:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Upstream PR merged
You need to log in
before you can comment on or make changes to this bug.
Description
•