mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03: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
Notes:
sideshowbarker
2024-07-17 00:16:31 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/9006c7aece Pull-request: https://github.com/SerenityOS/serenity/pull/20578
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…
Reference in New Issue
Block a user