serenity/Tests/LibWeb/Ref/css-gradient-currentcolor-ref.html
Sam Atkins 631a988a57 LibWeb: Allow any valid <color> in CSS gradients
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.
2023-08-16 14:51:12 +02:00

11 lines
156 B
HTML

<html>
<style>
div {
width: 200px;
height: 200px;
background: linear-gradient(green, white);
}
</style>
<div></div>
</html>