mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +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.
12 lines
690 B
Plaintext
12 lines
690 B
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 118 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <body> at [9,9] [8+1+0 100 0+1+690] [8+1+0 100 0+1+8] children: not-inline
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x118]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 102x102]
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [0,0 800x118] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<BODY> [9,9 100x100] [children: 0] (z-index: auto), has_transform
|