mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 04:17:35 +00:00
LibWeb: Use separate structure to represent fragments in paintable tree
This is a part of refactoring towards making the paintable tree independent of the layout tree. Now, instead of transferring text fragments from the layout tree to the paintable tree during the layout commit phase, we allocate separate PaintableFragments that contain only the information necessary for painting. Doing this also allows us to get rid LineBoxes, as they are used only during layout.
This commit is contained in:
parent
785fa60cca
commit
de32b77ceb
401 changed files with 2122 additions and 3614 deletions
|
@ -1,43 +1,41 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x257 children: inline
|
||||
line 0 width: 772, height: 130, bottom: 130, baseline: 127
|
||||
frag 0 from SVGSVGBox start: 0, length: 0, rect: [9,84 100x50]
|
||||
frag 1 from TextNode start: 0, length: 1, rect: [110,121 8x17]
|
||||
frag 0 from SVGSVGBox start: 0, length: 0, rect: [9,84 100x50] baseline: 52
|
||||
frag 1 from TextNode start: 0, length: 1, rect: [110,121 8x17] baseline: 13.296875
|
||||
" "
|
||||
frag 2 from SVGSVGBox start: 0, length: 0, rect: [119,84 100x50]
|
||||
frag 3 from TextNode start: 0, length: 1, rect: [220,121 8x17]
|
||||
frag 2 from SVGSVGBox start: 0, length: 0, rect: [119,84 100x50] baseline: 52
|
||||
frag 3 from TextNode start: 0, length: 1, rect: [220,121 8x17] baseline: 13.296875
|
||||
" "
|
||||
frag 4 from SVGSVGBox start: 0, length: 0, rect: [229,84 100x50]
|
||||
frag 5 from TextNode start: 0, length: 1, rect: [330,121 8x17]
|
||||
frag 4 from SVGSVGBox start: 0, length: 0, rect: [229,84 100x50] baseline: 52
|
||||
frag 5 from TextNode start: 0, length: 1, rect: [330,121 8x17] baseline: 13.296875
|
||||
" "
|
||||
frag 6 from SVGSVGBox start: 0, length: 0, rect: [339,84 100x50]
|
||||
frag 7 from TextNode start: 0, length: 1, rect: [440,121 8x17]
|
||||
frag 6 from SVGSVGBox start: 0, length: 0, rect: [339,84 100x50] baseline: 52
|
||||
frag 7 from TextNode start: 0, length: 1, rect: [440,121 8x17] baseline: 13.296875
|
||||
" "
|
||||
frag 8 from SVGSVGBox start: 0, length: 0, rect: [449,84 100x50]
|
||||
frag 9 from TextNode start: 0, length: 1, rect: [550,121 8x17]
|
||||
frag 8 from SVGSVGBox start: 0, length: 0, rect: [449,84 100x50] baseline: 52
|
||||
frag 9 from TextNode start: 0, length: 1, rect: [550,121 8x17] baseline: 13.296875
|
||||
" "
|
||||
frag 10 from SVGSVGBox start: 0, length: 0, rect: [559,84 100x50]
|
||||
frag 11 from TextNode start: 0, length: 1, rect: [660,121 8x17]
|
||||
frag 10 from SVGSVGBox start: 0, length: 0, rect: [559,84 100x50] baseline: 52
|
||||
frag 11 from TextNode start: 0, length: 1, rect: [660,121 8x17] baseline: 13.296875
|
||||
" "
|
||||
frag 12 from SVGSVGBox start: 0, length: 0, rect: [669,9 50x125]
|
||||
frag 13 from TextNode start: 0, length: 1, rect: [720,121 8x17]
|
||||
frag 12 from SVGSVGBox start: 0, length: 0, rect: [669,9 50x125] baseline: 127
|
||||
frag 13 from TextNode start: 0, length: 1, rect: [720,121 8x17] baseline: 13.296875
|
||||
" "
|
||||
frag 14 from SVGSVGBox start: 0, length: 0, rect: [729,9 50x125]
|
||||
line 1 width: 402, height: 130, bottom: 257, baseline: 127
|
||||
frag 0 from SVGSVGBox start: 0, length: 0, rect: [9,136 50x125]
|
||||
frag 1 from TextNode start: 0, length: 1, rect: [60,248 8x17]
|
||||
frag 14 from SVGSVGBox start: 0, length: 0, rect: [729,9 50x125] baseline: 127
|
||||
frag 15 from SVGSVGBox start: 0, length: 0, rect: [9,136 50x125] baseline: 127
|
||||
frag 16 from TextNode start: 0, length: 1, rect: [60,248 8x17] baseline: 13.296875
|
||||
" "
|
||||
frag 2 from SVGSVGBox start: 0, length: 0, rect: [69,136 50x125]
|
||||
frag 3 from TextNode start: 0, length: 1, rect: [120,248 8x17]
|
||||
frag 17 from SVGSVGBox start: 0, length: 0, rect: [69,136 50x125] baseline: 127
|
||||
frag 18 from TextNode start: 0, length: 1, rect: [120,248 8x17] baseline: 13.296875
|
||||
" "
|
||||
frag 4 from SVGSVGBox start: 0, length: 0, rect: [129,136 50x125]
|
||||
frag 5 from TextNode start: 0, length: 1, rect: [180,248 8x17]
|
||||
frag 19 from SVGSVGBox start: 0, length: 0, rect: [129,136 50x125] baseline: 127
|
||||
frag 20 from TextNode start: 0, length: 1, rect: [180,248 8x17] baseline: 13.296875
|
||||
" "
|
||||
frag 6 from SVGSVGBox start: 0, length: 0, rect: [189,136 50x125]
|
||||
frag 7 from TextNode start: 0, length: 1, rect: [240,248 8x17]
|
||||
frag 21 from SVGSVGBox start: 0, length: 0, rect: [189,136 50x125] baseline: 127
|
||||
frag 22 from TextNode start: 0, length: 1, rect: [240,248 8x17] baseline: 13.296875
|
||||
" "
|
||||
frag 8 from SVGSVGBox start: 0, length: 0, rect: [249,201 160x60]
|
||||
frag 23 from SVGSVGBox start: 0, length: 0, rect: [249,201 160x60] baseline: 62
|
||||
SVGSVGBox <svg> at (9,84) content-size 100x50 [SVG] children: inline
|
||||
TextNode <#text>
|
||||
SVGGeometryBox <circle> at (34,84) content-size 50x50 children: not-inline
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue