mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
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.
18 lines
445 B
HTML
18 lines
445 B
HTML
<!doctype html>
|
|
<link rel="match" href="../expected/svg-path-offset-rounding-ref.html" />
|
|
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-1">
|
|
<style>
|
|
body {
|
|
padding-left: 10.6px;
|
|
}
|
|
</style>
|
|
<body>
|
|
<svg width="34" height="22" viewBox="0 0 34 22">
|
|
<path
|
|
d="M -0.2 0 L 34 0 L 34 22 L -0.2 22 Z"
|
|
fill="none"
|
|
stroke="#000000"
|
|
></path>
|
|
</svg>
|
|
</body>
|