mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:47:35 +00: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
105 lines
8.1 KiB
Text
105 lines
8.1 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x314.4375 children: not-inline
|
|
Box <div.grid-container> at (8,8) content-size 784x314.4375 [GFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.grid-item.item-span-one-one> at (401.46875,8) content-size 392x131.015625 [BFC] children: inline
|
|
line 0 width: 319.171875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 1, length: 40, rect: [401.46875,8 319.171875x17.46875]
|
|
"In a sollicitudin augue. Sed ante augue,"
|
|
line 1 width: 335.125, height: 17.46875, bottom: 34.9375, baseline: 13.53125
|
|
frag 0 from TextNode start: 42, length: 42, rect: [401.46875,25.46875 335.125x17.46875]
|
|
"rhoncus nec porttitor id, lacinia et nibh."
|
|
line 2 width: 378.625, height: 17.46875, bottom: 52.40625, baseline: 13.53125
|
|
frag 0 from TextNode start: 85, length: 48, rect: [401.46875,42.9375 378.625x17.46875]
|
|
"Pellentesque diam libero, ultrices eget eleifend"
|
|
line 3 width: 182.8125, height: 17.46875, bottom: 69.875, baseline: 13.53125
|
|
frag 0 from TextNode start: 134, length: 22, rect: [401.46875,60.40625 182.8125x17.46875]
|
|
"at, consequat ut orci."
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.grid-item.item-span-one-two> at (401.46875,139.015625) content-size 392x183.421875 [BFC] children: inline
|
|
line 0 width: 359.15625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 1, length: 43, rect: [401.46875,139.015625 359.15625x17.46875]
|
|
"Suspendisse potenti. Pellentesque at varius"
|
|
line 1 width: 318.5625, height: 17.46875, bottom: 34.9375, baseline: 13.53125
|
|
frag 0 from TextNode start: 45, length: 41, rect: [401.46875,156.484375 318.5625x17.46875]
|
|
"lacus, sed sollicitudin leo. Pellentesque"
|
|
line 2 width: 377.640625, height: 17.46875, bottom: 52.40625, baseline: 13.53125
|
|
frag 0 from TextNode start: 87, length: 44, rect: [401.46875,173.953125 377.640625x17.46875]
|
|
"malesuada mi eget pellentesque tempor. Donec"
|
|
line 3 width: 378.03125, height: 17.46875, bottom: 69.875, baseline: 13.53125
|
|
frag 0 from TextNode start: 132, length: 47, rect: [401.46875,191.421875 378.03125x17.46875]
|
|
"egestas mauris est, ut lobortis nisi luctus at."
|
|
line 4 width: 345.953125, height: 17.46875, bottom: 87.34375, baseline: 13.53125
|
|
frag 0 from TextNode start: 180, length: 41, rect: [401.46875,208.890625 345.953125x17.46875]
|
|
"Vivamus eleifend, lorem vulputate maximus"
|
|
line 5 width: 312.765625, height: 17.46875, bottom: 104.8125, baseline: 13.53125
|
|
frag 0 from TextNode start: 222, length: 37, rect: [401.46875,226.359375 312.765625x17.46875]
|
|
"porta, nunc metus porttitor nibh, nec"
|
|
line 6 width: 242.921875, height: 17.46875, bottom: 122.28125, baseline: 13.53125
|
|
frag 0 from TextNode start: 260, length: 31, rect: [401.46875,243.828125 242.921875x17.46875]
|
|
"bibendum nulla lectus ut felis."
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.grid-item.item-span-two> at (8,8) content-size 393.46875x314.4375 [BFC] children: inline
|
|
line 0 width: 337.6875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
|
frag 0 from TextNode start: 1, length: 39, rect: [8,8 337.6875x17.46875]
|
|
"Lorem ipsum dolor sit amet, consectetur"
|
|
line 1 width: 376.34375, height: 17.46875, bottom: 34.9375, baseline: 13.53125
|
|
frag 0 from TextNode start: 41, length: 47, rect: [8,25.46875 376.34375x17.46875]
|
|
"adipiscing elit. Sed vitae condimentum erat, ac"
|
|
line 2 width: 365.84375, height: 17.46875, bottom: 52.40625, baseline: 13.53125
|
|
frag 0 from TextNode start: 89, length: 45, rect: [8,42.9375 365.84375x17.46875]
|
|
"posuere arcu. Aenean tincidunt mi ligula, vel"
|
|
line 3 width: 381.96875, height: 17.46875, bottom: 69.875, baseline: 13.53125
|
|
frag 0 from TextNode start: 135, length: 46, rect: [8,60.40625 381.96875x17.46875]
|
|
"semper dolor aliquet at. Phasellus scelerisque"
|
|
line 4 width: 377.203125, height: 17.46875, bottom: 87.34375, baseline: 13.53125
|
|
frag 0 from TextNode start: 182, length: 45, rect: [8,77.875 377.203125x17.46875]
|
|
"dapibus diam sed rhoncus. Proin sed orci leo."
|
|
line 5 width: 375.390625, height: 17.46875, bottom: 104.8125, baseline: 13.53125
|
|
frag 0 from TextNode start: 228, length: 45, rect: [8,95.34375 375.390625x17.46875]
|
|
"Praesent pellentesque mi eu nunc gravida, vel"
|
|
line 6 width: 383.53125, height: 17.46875, bottom: 122.28125, baseline: 13.53125
|
|
frag 0 from TextNode start: 274, length: 46, rect: [8,112.8125 383.53125x17.46875]
|
|
"consectetur nulla malesuada. Sed pellentesque,"
|
|
line 7 width: 344.8125, height: 17.46875, bottom: 139.75, baseline: 13.53125
|
|
frag 0 from TextNode start: 321, length: 47, rect: [8,130.28125 344.8125x17.46875]
|
|
"elit sit amet sollicitudin sollicitudin, lectus"
|
|
line 8 width: 374.703125, height: 17.46875, bottom: 157.21875, baseline: 13.53125
|
|
frag 0 from TextNode start: 369, length: 46, rect: [8,147.75 374.703125x17.46875]
|
|
"justo facilisis lacus, ac vehicula metus neque"
|
|
line 9 width: 384.125, height: 17.46875, bottom: 174.6875, baseline: 13.53125
|
|
frag 0 from TextNode start: 416, length: 45, rect: [8,165.21875 384.125x17.46875]
|
|
"ac mi. In in augue et massa maximus venenatis"
|
|
line 10 width: 373.25, height: 17.46875, bottom: 192.15625, baseline: 13.53125
|
|
frag 0 from TextNode start: 462, length: 44, rect: [8,182.6875 373.25x17.46875]
|
|
"auctor fermentum dui. Aliquam dictum finibus"
|
|
line 11 width: 288.203125, height: 17.46875, bottom: 209.625, baseline: 13.53125
|
|
frag 0 from TextNode start: 507, length: 35, rect: [8,200.15625 288.203125x17.46875]
|
|
"urna, quis lacinia massa laoreet a."
|
|
line 12 width: 316.296875, height: 17.46875, bottom: 227.09375, baseline: 13.53125
|
|
frag 0 from TextNode start: 543, length: 36, rect: [8,217.625 316.296875x17.46875]
|
|
"Suspendisse elementum non lectus nec"
|
|
line 13 width: 388.78125, height: 17.46875, bottom: 244.5625, baseline: 13.53125
|
|
frag 0 from TextNode start: 580, length: 48, rect: [8,235.09375 388.78125x17.46875]
|
|
"elementum. Quisque ultricies suscipit porttitor."
|
|
line 14 width: 373.828125, height: 17.46875, bottom: 262.03125, baseline: 13.53125
|
|
frag 0 from TextNode start: 629, length: 45, rect: [8,252.5625 373.828125x17.46875]
|
|
"Sed non urna rutrum, mattis nulla at, feugiat"
|
|
line 15 width: 368.75, height: 17.46875, bottom: 279.5, baseline: 13.53125
|
|
frag 0 from TextNode start: 675, length: 48, rect: [8,270.03125 368.75x17.46875]
|
|
"erat. Duis orci elit, vehicula sed blandit eget,"
|
|
line 16 width: 390.625, height: 17.46875, bottom: 296.96875, baseline: 13.53125
|
|
frag 0 from TextNode start: 724, length: 46, rect: [8,287.5 390.625x17.46875]
|
|
"auctor in arcu. Ut cursus magna sit amet nulla"
|
|
line 17 width: 294.90625, height: 17.46875, bottom: 314.4375, baseline: 13.53125
|
|
frag 0 from TextNode start: 771, length: 36, rect: [8,304.96875 294.90625x17.46875]
|
|
"cursus, vitae gravida mauris dictum."
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|