mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 12:27:36 +00:00
LibWeb: Use SVGGraphicsBox for <symbol>
and <use>
elements
This allows various SVG properties (like masking) to be applied to these elements.
This commit is contained in:
parent
05f42efc06
commit
15e3b0ebde
5 changed files with 15 additions and 14 deletions
|
@ -4,7 +4,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
frag 0 from SVGSVGBox start: 0, length: 0, rect: [9,9 100x100] baseline: 102
|
||||
SVGSVGBox <svg#outer> at (9,9) content-size 100x100 [SVG] children: inline
|
||||
TextNode <#text>
|
||||
Box <use> at (9,9) content-size 100x100 children: inline
|
||||
SVGGraphicsBox <use> at (9,9) content-size 50x50 children: inline
|
||||
SVGSVGBox <svg#whee> at (9,9) content-size 100x100 [SVG] children: inline
|
||||
TextNode <#text>
|
||||
SVGGeometryBox <rect> at (9,9) content-size 50x50 children: inline
|
||||
|
@ -16,6 +16,6 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x118]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x102]
|
||||
SVGSVGPaintable (SVGSVGBox<svg>#outer) [8,8 102x102]
|
||||
PaintableBox (Box<use>) [9,9 100x100]
|
||||
SVGGraphicsPaintable (SVGGraphicsBox<use>) [9,9 50x50]
|
||||
SVGSVGPaintable (SVGSVGBox<svg>#whee) [9,9 100x100]
|
||||
SVGPathPaintable (SVGGeometryBox<rect>) [9,9 50x50]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue