mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
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:
parent
a00e7cb20b
commit
c79063a77d
Notes:
github-actions[bot]
2025-09-30 21:34:23 +00:00
Author: https://github.com/tcl3
Commit: c79063a77d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5744
Reviewed-by: https://github.com/gmta ✅
Reviewed-by: https://github.com/konradekk
2 changed files with 3 additions and 4 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue