mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-16 12:52:46 +00:00
631a988a57
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.
11 lines
156 B
HTML
11 lines
156 B
HTML
<html>
|
|
<style>
|
|
div {
|
|
width: 200px;
|
|
height: 200px;
|
|
background: linear-gradient(green, white);
|
|
}
|
|
</style>
|
|
<div></div>
|
|
</html>
|