mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
Using fixed-point saturated arithmetics for CSSPixels allows to avoid accumulating floating-point errors. This implementation is not complete yet: currently saturated arithmetics implemented only for addition. But it is enough to not regress any of layout tests we have :) See https://github.com/SerenityOS/serenity/issues/18566
34 lines
2.1 KiB
Plaintext
34 lines
2.1 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x128.8125 [BFC] children: not-inline
|
|
BlockContainer <body> at (10,10) content-size 780x110.8125 children: not-inline
|
|
BlockContainer <div.foo> at (11,11) content-size 93.765625x34.9375 children: inline
|
|
line 0 width: 43.578125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 0, length: 6, rect: [11,11 43.578125x17.46875]
|
|
"width:"
|
|
line 1 width: 93.765625, height: 17.46875, bottom: 34.9375, baseline: 13.53125
|
|
frag 0 from TextNode start: 7, length: 11, rect: [11,28.46875 93.765625x17.46875]
|
|
"min-content"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (10,46.9375) content-size 780x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.bar> at (11,47.9375) content-size 93.765625x34.9375 children: inline
|
|
line 0 width: 81.3125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 0, length: 10, rect: [11,47.9375 81.3125x17.46875]
|
|
"max-width:"
|
|
line 1 width: 93.765625, height: 17.46875, bottom: 34.9375, baseline: 13.53125
|
|
frag 0 from TextNode start: 11, length: 11, rect: [11,65.40625 93.765625x17.46875]
|
|
"min-content"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (10,83.875) content-size 780x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.baz> at (11,84.875) content-size 93.765625x34.9375 children: inline
|
|
line 0 width: 76.4375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 0, length: 10, rect: [11,84.875 76.4375x17.46875]
|
|
"min-width:"
|
|
line 1 width: 93.765625, height: 17.46875, bottom: 34.9375, baseline: 13.53125
|
|
frag 0 from TextNode start: 11, length: 11, rect: [11,102.34375 93.765625x17.46875]
|
|
"min-content"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (10,120.8125) content-size 780x0 children: inline
|
|
TextNode <#text>
|