Allow 'none' keyword as color component
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox113 | --- | fixed |
People
(Reporter: tlouw, Assigned: tlouw)
References
Details
Attachments
(2 files)
The keyword none
is allowed to be passed as a component to any color format and the value of those components then defaults to 0.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
In stead of having the css parser construct a color in it's own format
and then converting it to what Gecko needs to perform operations, we now
construct a Gecko friendly color type directly.
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Make use of the new changes in the cssparser that allows 'none' keywords
in color components where allowed. We store the none values as 0.0 (as
per the spec) and mark the components with the flags. This way we don't
have to check anything on the components before doing calculations.
Depends on D170187
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 4•2 years ago
|
||
bugherder |
Assignee | ||
Comment 5•2 years ago
|
||
This had multiple patches on the same bug number. Reopening for now
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 8•2 years ago
•
|
||
Backed out changeset 00e23971f01b (bug 1813481) for causing multiple failures
Backout: https://hg.mozilla.org/integration/autoland/rev/589f49328267d8b35e0fc0e5761e04817d25a913
Failure push: https://treeherder.mozilla.org/jobs?repo=autoland&revision=00e23971f01b12c264cfdb9b515b71af24d7732b
Failure logs:
xpcshell failures: https://treeherder.mozilla.org/logviewer?job_id=408976761&repo=autoland&lineNumber=3566
devtools failures: https://treeherder.mozilla.org/logviewer?job_id=408976549&repo=autoland&lineNumber=6957
mochitest failures: https://treeherder.mozilla.org/logviewer?job_id=408977357&repo=autoland&lineNumber=3923
Wc failure: https://treeherder.mozilla.org/logviewer?job_id=408977858&repo=autoland&lineNumber=4926
crashtest failure: https://treeherder.mozilla.org/logviewer?job_id=408979632&repo=autoland&lineNumber=14355
wpt failure: https://treeherder.mozilla.org/logviewer?job_id=408980718&repo=autoland&lineNumber=9942
Comment 10•2 years ago
|
||
Assignee | ||
Comment 11•2 years ago
|
||
Fixed a failure with missing devtool db changes. Landed again.
Comment 12•2 years ago
|
||
Backed out for causing assertion failures at gfxUtils.cpp.
Backout link: https://hg.mozilla.org/integration/autoland/rev/beeec5bc3085235cb71573be725f487de029d545
Push where failures started failures: https://treeherder.mozilla.org/jobs?repo=autoland&selectedTaskRun=SJl6-I0ETxygbrYFpnvvWQ.0&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=35b95f712005a488ab2d7f6152eae75496509217
Failure log: https://treeherder.mozilla.org/logviewer?job_id=409030439&repo=autoland&lineNumber=16155
Assignee | ||
Comment 13•2 years ago
|
||
Failure because of assertion that only hits in debug mode. Will land again.
Comment 15•2 years ago
|
||
Comment 16•2 years ago
|
||
Backed out changeset 160ac6b5f726 (Bug 1813481) for assertion failure on nsCSSRenderingGradients.cpp.
Backout link
Push with failures <--> Wc
Failure Log
Comment 18•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Comment 19•2 years ago
|
||
bugherder |
Description
•