Files
ladybird/Tests/LibWeb/Screenshot/input/svg-stroke-paintstyle-with-opacity.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

18 lines
573 B
HTML

<!DOCTYPE html>
<link rel="match" href="../expected/svg-stroke-paintstyle-with-opacity-ref.html" />
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-2540">
<style>
body {
background-color: white;
}
</style>
<svg height="150" width="400">
<defs>
<linearGradient id="grad" x1="0" y1="0" x2="70%" y2="0">
<stop offset="0" stop-color="red"/>
<stop offset="1" stop-color="blue"/>
</linearGradient>
</defs>
<rect x="115" y="15" width="170" height="110" stroke="url(#grad)" stroke-opacity="0.3" stroke-width="10" fill="none" />
</svg>