mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 18:31:13 +00:00
LibWeb/CSS: Add support for the srgb
color space in color()
It makes the following WPT tests pass: - css/css-color/predefined-001.html - css/css-color/xyz-003.html - css/css-color/xyz-d50-003.html - css/css-color/xyz-d50-004.html - css/css-color/xyz-d65-003.html Also we now render the reference of color-mix-currentcolor-nested-for- color-property.html properly. Which means that it's now different from the actual test, that is still rendered incorrectly. In other word, the false positive for this test is now turned into a true negative.
This commit is contained in:
parent
3b04c983f1
commit
a3ef24e30a
Notes:
github-actions[bot]
2024-11-14 09:27:29 +00:00
Author: https://github.com/LucasChollet
Commit: a3ef24e30a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2329
Reviewed-by: https://github.com/AtkinsSJ ✅
5 changed files with 37 additions and 2 deletions
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Green square #009900 reference</title>
|
||||
<style>
|
||||
.test { background-color: #009900; width: 12em; height: 12em;}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if you see a green square, and no red.</p>
|
||||
<div class="test"></div>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue