mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:17:35 +00:00
headless-browser: Paint while running layout tests (but discard results)
If we don't paint, SVG-as-image documents don't get laid out, and so have 0x0 size throughout. This change is also generally nice, as it makes the painting code run on all the layout tests, increasing coverage. :^)
This commit is contained in:
parent
79d3942012
commit
a0b4987e92
2 changed files with 8 additions and 3 deletions
|
@ -3,8 +3,8 @@ Viewport <#document> at (0,0) content-size 800x600 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
|
||||
(SVG-as-image isolated context)
|
||||
Viewport <#document> at (0,0) content-size 0x0 children: inline
|
||||
SVGSVGBox <svg> at (0,0) content-size 0x0 [SVG] children: inline
|
||||
Viewport <#document> at (0,0) content-size 784x1568 children: inline
|
||||
SVGSVGBox <svg> at (0,0) content-size 784x1568 [SVG] children: inline
|
||||
TextNode <#text>
|
||||
SVGGeometryBox <rect> at (0,0) content-size 0x0 children: not-inline
|
||||
SVGGeometryBox <rect> at (-0.000007,-0.000015) content-size 784x1568 children: not-inline
|
||||
TextNode <#text>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue