ladybird/Tests/LibWeb/Ref/input/css-gradient-negative-first-stop.html
Tim Ledbetter de9fbf1679 LibWeb: Honor explicit first and last color stop positions in gradients
When resolving the used positions of color stops, we were
unconditionally overwriting the first position with 0% and the last
position with 100%. We now only set these default values for color
stops without an explicit position.
2026-05-30 15:44:50 +01:00

12 lines
298 B
HTML

<!DOCTYPE html>
<html>
<link rel="match" href="../expected/css-gradient-negative-first-stop-ref.html" />
<style>
div {
width: 200px;
height: 50px;
background: repeating-linear-gradient(to right, green -25%, green 0%, red 0%, red 25%);
}
</style>
<div></div>
</html>