mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09:00

We now keep the color value as a StyleValue up until we go to paint the gradient, which makes `currentColor` work, along with any other color values that can't be immediately converted into a `Gfx::Color` while parsing.
10 lines
156 B
HTML
10 lines
156 B
HTML
<html>
|
|
<style>
|
|
div {
|
|
width: 200px;
|
|
height: 200px;
|
|
background: linear-gradient(green, white);
|
|
}
|
|
</style>
|
|
<div></div>
|
|
</html>
|