mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:37:47 +00:00
LibWeb: Remove should_ensure_creation_of_paintable() SVG hack
The elements this hack was being used for were grouping elements, and can be properly sized: https://svgwg.org/svg2-draft/struct.html#Groups. Note: Other than one test change the elements here are already covered by layout tests.
This commit is contained in:
parent
9b2b28b612
commit
2248d85894
2 changed files with 24 additions and 24 deletions
|
@ -10,8 +10,8 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
TextNode <#text>
|
||||
SVGSVGBox <svg> at (8,8) content-size 300x150 [SVG] children: inline
|
||||
TextNode <#text>
|
||||
Box <use> at (8,8) content-size 0x0 children: inline
|
||||
Box <symbol#braces> at (8,8) content-size 0x0 [BFC] children: inline
|
||||
Box <use> at (8,8) content-size 215.625x130.90625 children: inline
|
||||
Box <symbol#braces> at (92.375,26.75) content-size 131.25x112.15625 [BFC] children: inline
|
||||
TextNode <#text>
|
||||
SVGGeometryBox <path> at (92.375,26.75) content-size 131.25x112.15625 children: inline
|
||||
TextNode <#text>
|
||||
|
@ -25,6 +25,6 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|||
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
|
||||
PaintableWithLines (BlockContainer<DIV>) [8,8 784x150]
|
||||
SVGSVGPaintable (SVGSVGBox<svg>) [8,8 300x150]
|
||||
PaintableBox (Box<use>) [8,8 0x0]
|
||||
PaintableBox (Box<symbol>#braces) [8,8 0x0]
|
||||
PaintableBox (Box<use>) [8,8 215.625x130.90625]
|
||||
PaintableBox (Box<symbol>#braces) [92.375,26.75 131.25x112.15625]
|
||||
SVGPathPaintable (SVGGeometryBox<path>) [92.375,26.75 131.25x112.15625]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue