Closed
Bug 1844333
Opened 1 year ago
Closed 1 year ago
[css-color] Color components with inf and nan values should be clipped and replace as needed.
Categories
(Core :: CSS Parsing and Computation, enhancement, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
118 Branch
Tracking | Status | |
---|---|---|
firefox118 | --- | fixed |
People
(Reporter: tlouw, Assigned: tlouw)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
In some color formats, components should replace nan values with 0 and infinity values to valid bounds depending on the component.
Assignee | ||
Updated•1 year ago
|
Assignee: nobody → tlouw
Severity: -- → S3
Priority: -- → P3
Assignee | ||
Comment 1•1 year ago
|
||
Deals with many cases where colors have to be clamped within bounds like
lab() and oklab().
Also replace nan values with 0.0 where appropriate and replaces inf
values with finite values depending on which component and color space
it is.
Updated•1 year ago
|
Attachment #9344619 -
Attachment description: WIP: Bug 1844333 - Ensure color component values are clamped correctly and handles inf and nan. r=#layout-reviewers → Bug 1844333 - Ensure color component values are clamped correctly and handles inf and nan. r=#layout-reviewers
Updated•1 year ago
|
Attachment #9344619 -
Attachment description: Bug 1844333 - Ensure color component values are clamped correctly and handles inf and nan. r=#layout-reviewers → WIP: Bug 1844333 - Ensure color component values are clamped correctly and handles inf and nan. r=#layout-reviewers
Updated•1 year ago
|
Attachment #9344619 -
Attachment description: WIP: Bug 1844333 - Ensure color component values are clamped correctly and handles inf and nan. r=#layout-reviewers → WIP: Bug 1844333 - Ensure colors are in the correct syntax and keeps values in bounds. r=#layout-reviewers
Updated•1 year ago
|
Attachment #9344619 -
Attachment description: WIP: Bug 1844333 - Ensure colors are in the correct syntax and keeps values in bounds. r=#layout-reviewers → WIP: Bug 1844333 - Convert inf/nan color components when needed r=#layout-reviewers
Updated•1 year ago
|
Attachment #9344619 -
Attachment description: WIP: Bug 1844333 - Convert inf/nan color components when needed r=#layout-reviewers → Bug 1844333 - Convert inf/nan color components when needed r=#layout-reviewers
Updated•1 year ago
|
Attachment #9344619 -
Attachment description: Bug 1844333 - Convert inf/nan color components when needed r=#layout-reviewers → WIP: Bug 1844333 - Convert inf/nan color components when needed r=#layout-reviewers
Updated•1 year ago
|
Attachment #9344619 -
Attachment description: WIP: Bug 1844333 - Convert inf/nan color components when needed r=#layout-reviewers → Bug 1844333 - Clamp and normalize color values to appropriate ranges. r=#layout-reviewers
Updated•1 year ago
|
Attachment #9344619 -
Attachment description: Bug 1844333 - Clamp and normalize color values to appropriate ranges. r=#layout-reviewers → WIP: Bug 1844333 - Clamp and normalize color values to appropriate ranges. r=#layout-reviewers
Updated•1 year ago
|
Attachment #9344619 -
Attachment description: WIP: Bug 1844333 - Clamp and normalize color values to appropriate ranges. r=#layout-reviewers → Bug 1844333 - Clamp and normalize color values to appropriate ranges. r=#layout-reviewers
Pushed by tlouw@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/de6dcf5a4c0e
Clamp and normalize color values to appropriate ranges. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/41351 for changes under testing/web-platform/tests
Comment 4•1 year ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox118:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•