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)
- Not enough test coverage for the canvas compositing operators combined with shadows
- `print/crashtests/reload-crash.html` is incorrect
- WEB_FEATURES.yml should allow for exclusion HOT 1
- Add support for HTTP/3
- how to handle exceptions thrown in testdriver HOT 2
- CSS color-contrast() tests are testing the version of color-contrast() remove from the spec HOT 1
- Should calc(NaN) and calc(infinity) be serialized as part of the CSS colors HOT 1
- Shutdown of WebTestHttpd from wptserve takes about 0.5s
- [css-transitions] transition-behavior: allow-discrete; work incorrectly in Safari 17.5 and Firefox Nightly with 100% test passing HOT 2
- Locatiom
- Apache Beneficiary
- Good test for my code
- Who are u ??
- Orhanoguz
- Can wpt.fyi indicate results of WebNN API Conformance tests by Chrome and Edge browsers enabled WebNN API flag HOT 2
- Geolocation permission policy tests are wrong
- Wpt
- webrtc/RTCConfiguration-rtcpMuxPolicy.html is testing negotiate value which is no longer supported by the spec HOT 1
- Stable runs for Safari are missing since June 20th, 2024 HOT 1
- Attribute typo in core-aam form-manual test
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.