mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
Instead of computing and caching the transform matrix and transform origin on PaintableBox during resolve_paint_properties(), compute them inline during assign_accumulated_visual_contexts() where they are actually consumed. This makes PaintableBox smaller by not wasting space for properties that are only consumed during AccumulatedVisualContext tree construction.
32 lines
2.3 KiB
Plaintext
32 lines
2.3 KiB
Plaintext
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 39 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 23 0+0+8] children: inline
|
|
frag 0 from BlockContainer start: 0, length: 0, rect: [8,9 200x16] baseline: 16
|
|
frag 1 from BlockContainer start: 0, length: 0, rect: [208,9 200x16] baseline: 16
|
|
BlockContainer <input> at [8,9] inline-block [0+0+0 200 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <div> at [9,16] positioned [0+1+0 200 0+1+-2] [6+1+0 4 0+1+0] children: not-inline
|
|
BlockContainer <div> at [9,16] positioned [0+0+0 100 0+0+0] [0+0+0 4 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <div> at [109,10] [100+0+0 16 0+0+84] [-6+0+0 16 0+0+0] children: not-inline
|
|
BlockContainer <input> at [208,9] inline-block [0+0+0 200 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <div> at [209,16] positioned [0+1+0 200 0+1+-2] [6+1+0 4 0+1+0] children: not-inline
|
|
BlockContainer <div> at [209,16] positioned [0+0+0 20 0+0+0] [0+0+0 4 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <div> at [229,10] [20+0+0 16 0+0+164] [-6+0+0 16 0+0+0] children: not-inline
|
|
TextNode <#text> (not painted)
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x39]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x23]
|
|
PaintableWithLines (BlockContainer<INPUT>) [8,9 200x16]
|
|
PaintableWithLines (BlockContainer<DIV>) [8,15 202x6]
|
|
PaintableWithLines (BlockContainer<DIV>) [9,16 100x4]
|
|
PaintableWithLines (BlockContainer<DIV>) [109,10 16x16]
|
|
PaintableWithLines (BlockContainer<INPUT>) [208,9 200x16]
|
|
PaintableWithLines (BlockContainer<DIV>) [208,15 202x6]
|
|
PaintableWithLines (BlockContainer<DIV>) [209,16 20x4]
|
|
PaintableWithLines (BlockContainer<DIV>) [229,10 16x16]
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [0,0 800x39] [children: 2] (z-index: auto)
|
|
SC for BlockContainer<DIV> [109,10 16x16] [children: 0] (z-index: 1), has_transform
|
|
SC for BlockContainer<DIV> [229,10 16x16] [children: 0] (z-index: 1), has_transform
|