LibWeb: Convert blend test to use rectangle rather than circle

Using a circle isn't relevant to the outcome of the test and introduces
anti-aliasing artifacts.
This commit is contained in:
Tim Ledbetter 2025-08-30 18:29:25 +01:00 committed by Tim Ledbetter
parent a00e7cb20b
commit c79063a77d
Notes: github-actions[bot] 2025-09-30 21:34:23 +00:00
2 changed files with 3 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg">
<svg width="500" height="500" xmlns="http://www.w3.org/2000/svg">
<rect x="0" y="0" width="100" height="100" fill="green"/>
<circle cx="50" cy="50" r="50" fill="black" />
<rect x="25" y="25" width="50" height="50" fill="black" />
</svg>

View file

@ -1,6 +1,5 @@
<!DOCTYPE html>
<link rel="match" href="../../expected/svg/blend-filter-ref.html" />
<meta name="fuzzy" content="0-1;0-35">
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg">
<defs>
<filter id="blendFilter">
@ -9,5 +8,5 @@
</filter>
</defs>
<rect x="0" y="0" width="100" height="100" fill="blue" />
<circle cx="50" cy="50" r="50" fill="red" filter="url(#blendFilter)" />
<rect x="25" y="25" width="50" height="50" fill="red" filter="url(#blendFilter)" />
</svg>