Files
ladybird/Tests/LibWeb/Screenshot/input/svg-gradient-paint-transformation.html
Jelle Raaijmakers 59a867d3e3 Tests: Enable all screenshot tests on all platforms
With the newly supported fuzzy matching in our test-web runner, we can
now define the expected maximum color channel and pixel count errors per
failing test and set a baseline they should not exceed.

The figures I added to these tests all come from my macOS M4 machine.
Most discrepancies seem to come from color calculations being slightly
off.
2025-07-17 12:59:11 +01:00

16 lines
570 B
HTML

<!DOCTYPE html>
<link rel="match" href="../expected/svg-gradient-paint-transformation-ref.html" />
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-231">
<svg height="150" width="150" xmlns="http://www.w3.org/2000/svg">
<style>
.hi {
font: bold 70px sans-serif;
}
</style>
<linearGradient id="gradient">
<stop offset="0%" stop-color="rgba(255, 0, 0, 1)"/>
<stop offset="100%" stop-color="rgba(0, 255, 0, 1)"/>
</linearGradient>
<text x="50" y="50" class="hi" fill="url(#gradient)" transform="rotate(45 50 50)">HI</text>
</svg>