Comments (5)
Yeah hwb()
is even worse than hsl()
in that respect. For colors a little outside sRGB
it is lossless but it suddenly falls apart quite quickly.
Those hwb()
round-trip subtests should be deleted. The rgb()
and hsl()
ones appear correct.
from wpt.
@mysteryDate @svgeesus @tiaanl @mdubet
from wpt.
Btw @weinig I strongly suggest double-checking the to-xyz and from-xyz matrices, the chromatic adaptation matrices, and the matrices to and from oklab in WebKit against the ones in the sample code. There have been several rounds of revisions and we believe the ones in the sample code are 64-bit float accurate, but it may be that WebKit is using some older ones which (while not giving visibly different colors) will be subject to small round-off errors which can accumulate to the point of failing a test if there are many color conversion stages.
Same advice for Blink and Gecko but given how WebKit was such an early adopter the chance of the matrices being older ones is greater, I suspect.
from wpt.
Btw @weinig I strongly suggest double-checking the to-xyz and from-xyz matrices, the chromatic adaptation matrices, and the matrices to and from oklab in WebKit against the ones in the sample code
On it! WebKit/WebKit#27824
from wpt.
I'm going to assume this was fixed by #45940, but feel free to reopen if that is not the case.
from wpt.
Related Issues (20)
- Add support for testing native find-in-page search results
- Are css/css-contain/contain-layout-baseline-005.html css/css-contain/contain-layout-button-001.html correct? HOT 8
- The wpt Writing Tests documentation should be updated HOT 4
- infrastructure/testdriver/click_iframe_crossorigin.sub.html can fail in Firefox HOT 1
- REGRESSION(c3a572d): TypeError: can't compare offset-naive and offset-aware datetimes
- lint for tests with link rel=match and testharness.js
- Do not run tests for PRs still in draft mode HOT 1
- Fa
- Firefox Android runs missing since May 12
- tools/unittests (Python 3.12) are failing
- Lovely
- Azure Pipeline run queued and not restarted HOT 17
- iss
- tytg
- WebVTT rendering tests fail widely because of UA-specific cue backgrounds HOT 2
- Incorrect test added for text-transform HOT 8
- UAX 14 not strictly required by css-text HOT 2
- wpt.live lists files instead of tests HOT 1
- [python style] gentestutilsunion.py gives the WebKit style checker hiccup
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wpt.