mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 01:47:34 +00:00
LibWeb: Add a very basic test for SVG-as-image
This mainly just checks that we load the file and learn the correct intrinsic aspect ratio from the external SVG.
This commit is contained in:
parent
b2c899af11
commit
24ea78c613
3 changed files with 8 additions and 0 deletions
4
Tests/LibWeb/Layout/expected/svg/svg-as-image.txt
Normal file
4
Tests/LibWeb/Layout/expected/svg/svg-as-image.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x1584 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x1568 children: not-inline
|
||||
ImageBox <img> at (8,8) content-size 784x1568 children: not-inline
|
Loading…
Add table
Add a link
Reference in a new issue