Tests/LibWeb: Add opacity-stacking.html test to manifest.json

(Also explicitly set the background color)
This commit is contained in:
MacDue 2023-08-14 22:15:15 +01:00 committed by Alexander Kalenik
parent 9006c7aece
commit 4e49aee545
Notes: sideshowbarker 2024-07-17 02:05:41 +09:00
3 changed files with 12 additions and 1 deletions

View File

@ -1,4 +1,5 @@
{
"square-flex.html": "square-ref.html",
"separate-borders-inline-table.html": "separate-borders-ref.html"
"separate-borders-inline-table.html": "separate-borders-ref.html",
"opacity-stacking.html": "opacity-stacking-ref.html"
}

View File

@ -1,3 +1,8 @@
<style>
body {
background-color: white;
}
</style>
<svg width="600" viewBox="0 0 150 100" xmlns="http://www.w3.org/2000/svg">
<circle cx="100" cy="50" r="40" fill="#b3b3b3" />
<circle cx="50" cy="50" r="40" fill="blue" />

Before

Width:  |  Height:  |  Size: 182 B

After

Width:  |  Height:  |  Size: 241 B

View File

@ -1,3 +1,8 @@
<style>
body {
background-color: white;
}
</style>
<svg width="600" viewBox="0 0 150 100" xmlns="http://www.w3.org/2000/svg">
<circle cx="100" cy="50" r="40" fill="black" opacity="0.3" />
<circle cx="50" cy="50" r="40" fill="blue" />

Before

Width:  |  Height:  |  Size: 194 B

After

Width:  |  Height:  |  Size: 253 B