mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:07:46 +00:00
LibWeb: Add ref test for opacity (stacking context) paint order
Now that we can test this, let's add a test, as mentioned in: https://github.com/SerenityOS/serenity/pull/20559#issuecomment-1677126697 (I confirmed this test failed before #20559)
This commit is contained in:
parent
394529b7d0
commit
9006c7aece
2 changed files with 8 additions and 0 deletions
4
Tests/LibWeb/Ref/opacity-stacking-ref.html
Normal file
4
Tests/LibWeb/Ref/opacity-stacking-ref.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<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" />
|
||||
</svg>
|
After Width: | Height: | Size: 182 B |
4
Tests/LibWeb/Ref/opacity-stacking.html
Normal file
4
Tests/LibWeb/Ref/opacity-stacking.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<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" />
|
||||
</svg>
|
After Width: | Height: | Size: 194 B |
Loading…
Add table
Add a link
Reference in a new issue