Files
ladybird/Tests/LibWeb/Layout/expected/svg/natural-width-from-svg-attributes.txt
Andreas Kling 8eacfc8f10 LibWeb: Derive SVG root's natural size from width/height attributes
We were incorrectly looking at the CSS computed values for width and
height to determine the natural size of <svg> root elements.
This meant that elements where the attribute and computed value were
different values would end up with incorrect natural size.
2024-08-22 15:29:29 +02:00

15 lines
842 B
Plaintext

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x144 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 128x128 children: not-inline
SVGSVGBox <svg> at (8,8) content-size 64x64 [SVG] children: not-inline
SVGGeometryBox <rect> at (8,8) content-size 64x64 children: not-inline
BlockContainer <(anonymous)> at (8,72) content-size 128x0 children: inline
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x144]
PaintableWithLines (BlockContainer<BODY>) [8,8 128x128]
SVGSVGPaintable (SVGSVGBox<svg>) [8,8 64x64]
SVGPathPaintable (SVGGeometryBox<rect>) [8,8 64x64]
PaintableWithLines (BlockContainer(anonymous)) [8,72 128x0]