Summary: | Web Inspector: limit P3 colors to two decimals | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Devin Rousso <hi> | ||||
Component: | Web Inspector | Assignee: | Devin Rousso <hi> | ||||
Status: | RESOLVED MOVED | ||||||
Severity: | Normal | CC: | hi, inspector-bugzilla-changes, nvasilyev | ||||
Priority: | P2 | ||||||
Version: | WebKit Nightly Build | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 203534 | ||||||
Attachments: |
|
Description
Devin Rousso
2019-11-21 15:20:19 PST
Created attachment 384096 [details]
Patch
I agree that we should limit the number of decimals but I don't agree on allowing only two. Display-P3 color space is 10bit per channel. Allowing only two decimals for 0 to 1 values is quite limiting. Re: bug title This isn't just about P3, it's about color function, e.g. `color(SRGB 1 0 1)`. Looks like this is handled by <https://webkit.org/b/203534>. |