mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb: Use generic <color-interpolation-method> parsing for gradients
See previous commit for details We now support parsing of `display-p3-linear` (although it just falls back to using Oklab since Skia doesn't support it)
This commit is contained in:
committed by
Tim Ledbetter
parent
d8c38a294c
commit
9db607b1a7
Notes:
github-actions[bot]
2026-03-18 13:23:27 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/9db607b1a77 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8485 Reviewed-by: https://github.com/tcl3 ✅
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<script src="../include.js"></script>
|
||||
<style>
|
||||
#foo {
|
||||
background-image: linear-gradient(in display-p3-linear, red, blue);
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
test(() => {
|
||||
println(document.styleSheets[0].cssRules[0].cssText);
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user