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.
35 lines
2.7 KiB
Plaintext
35 lines
2.7 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 996 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 980 0+0+8] children: not-inline
|
|
BlockContainer <div.sin> at [8,8] positioned [0+0+0 80 0+0+704] [0+0+0 100 0+0+0] children: not-inline
|
|
BlockContainer <div.cos> at [8,108] positioned [0+0+0 100 0+0+684] [0+0+0 100 0+0+0] children: not-inline
|
|
BlockContainer <div.tan> at [8,208] positioned [0+0+0 120 0+0+664] [0+0+0 100 0+0+0] children: not-inline
|
|
BlockContainer <div.asin> at [8,308] positioned [0+0+0 100 0+0+684] [0+0+0 140 0+0+0] children: not-inline
|
|
BlockContainer <div.acos> at [8,448] positioned [0+0+0 100 0+0+684] [0+0+0 160 0+0+0] children: not-inline
|
|
BlockContainer <div.atan> at [8,608] positioned [0+0+0 100 0+0+684] [0+0+0 180 0+0+0] children: not-inline
|
|
BlockContainer <div.atan2> at [8,788] positioned [0+0+0 100 0+0+684] [0+0+0 200 0+0+0] children: not-inline
|
|
BlockContainer <(anonymous)> at [8,988] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
|
|
TextNode <#text> (not painted)
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600] overflow: [0,0 800x996]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x996]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x980]
|
|
PaintableWithLines (BlockContainer<DIV>.sin) [8,8 80x100]
|
|
PaintableWithLines (BlockContainer<DIV>.cos) [8,108 100x100]
|
|
PaintableWithLines (BlockContainer<DIV>.tan) [8,208 120x100]
|
|
PaintableWithLines (BlockContainer<DIV>.asin) [8,308 100x140]
|
|
PaintableWithLines (BlockContainer<DIV>.acos) [8,448 100x160]
|
|
PaintableWithLines (BlockContainer<DIV>.atan) [8,608 100x180]
|
|
PaintableWithLines (BlockContainer<DIV>.atan2) [8,788 100x200]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,988 784x0]
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [0,0 800x996] [children: 7] (z-index: auto)
|
|
SC for BlockContainer<DIV>.sin [8,8 80x100] [children: 0] (z-index: auto), has_transform
|
|
SC for BlockContainer<DIV>.cos [8,108 100x100] [children: 0] (z-index: auto), has_transform
|
|
SC for BlockContainer<DIV>.tan [8,208 120x100] [children: 0] (z-index: auto), has_transform
|
|
SC for BlockContainer<DIV>.asin [8,308 100x140] [children: 0] (z-index: auto), has_transform
|
|
SC for BlockContainer<DIV>.acos [8,448 100x160] [children: 0] (z-index: auto), has_transform
|
|
SC for BlockContainer<DIV>.atan [8,608 100x180] [children: 0] (z-index: auto), has_transform
|
|
SC for BlockContainer<DIV>.atan2 [8,788 100x200] [children: 0] (z-index: auto), has_transform
|