mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 13:07:46 +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,11 +1,9 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (1,1) content-size 798x121 [BFC] children: inline
|
||||
line 0 width: 170.96875, height: 121, bottom: 121, baseline: 15.296875
|
||||
frag 0 from BlockContainer start: 0, length: 0, rect: [2,2 168.96875x119]
|
||||
frag 0 from BlockContainer start: 0, length: 0, rect: [2,2 168.96875x119] baseline: 15.296875
|
||||
BlockContainer <body> at (2,2) content-size 168.96875x119 inline-block [BFC] children: not-inline
|
||||
BlockContainer <div.hmm> at (3,3) content-size 166.96875x17 children: inline
|
||||
line 0 width: 166.96875, height: 17, bottom: 17, baseline: 13.296875
|
||||
frag 0 from TextNode start: 0, length: 21, rect: [3,3 166.96875x17]
|
||||
frag 0 from TextNode start: 0, length: 21, rect: [3,3 166.96875x17] baseline: 13.296875
|
||||
"suspiciously tall box"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> at (2,121) content-size 168.96875x0 children: inline
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue