mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:57:35 +00:00
LibWeb: Remove rounding division for CSSPixels
Reverts 98926b487c
that regressed: block-and-inline/small-percentage-margin.html
(thrashing layout while window resizing)
Fixes https://github.com/SerenityOS/serenity/issues/22610
This commit is contained in:
parent
7db8b206a8
commit
e7eaf3b566
32 changed files with 257 additions and 245 deletions
|
@ -1,14 +1,14 @@
|
|||
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 784x47.6875 children: inline
|
||||
line 0 width: 61.1875, height: 47.6875, bottom: 47.6875, baseline: 33.84375
|
||||
frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 61.1875x47.6875]
|
||||
BlockContainer <div.ib> at (8,8) content-size 61.1875x47.6875 inline-block [BFC] children: inline
|
||||
line 0 width: 61.1875, height: 47.6875, bottom: 47.6875, baseline: 33.84375
|
||||
BlockContainer <body> at (8,8) content-size 784x47.671875 children: inline
|
||||
line 0 width: 61.1875, height: 47.671875, bottom: 47.671875, baseline: 33.828125
|
||||
frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 61.1875x47.671875]
|
||||
BlockContainer <div.ib> at (8,8) content-size 61.1875x47.671875 inline-block [BFC] children: inline
|
||||
line 0 width: 61.1875, height: 47.671875, bottom: 47.671875, baseline: 33.828125
|
||||
frag 0 from BlockContainer start: 0, length: 0, rect: [9,24 17.828125x21.84375]
|
||||
frag 1 from TextNode start: 0, length: 1, rect: [28,28 8x17.46875]
|
||||
" "
|
||||
frag 2 from BlockContainer start: 0, length: 0, rect: [41,10 23.359375x43.6875]
|
||||
frag 2 from BlockContainer start: 0, length: 0, rect: [41,10 23.359375x43.671875]
|
||||
TextNode <#text>
|
||||
BlockContainer <div.label> at (9,24) content-size 17.828125x21.84375 inline-block [BFC] children: inline
|
||||
line 0 width: 17.828125, height: 21.84375, bottom: 21.84375, baseline: 16.921875
|
||||
|
@ -16,31 +16,31 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
"A"
|
||||
TextNode <#text>
|
||||
TextNode <#text>
|
||||
BlockContainer <button> at (41,10) content-size 23.359375x43.6875 inline-block [BFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (41,10) content-size 23.359375x43.6875 flex-container(column) [FFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (41,10) content-size 23.359375x43.6875 flex-item [BFC] children: not-inline
|
||||
BlockContainer <button> at (41,10) content-size 23.359375x43.671875 inline-block [BFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (41,10) content-size 23.359375x43.671875 flex-container(column) [FFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (41,10) content-size 23.359375x43.671875 flex-item [BFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (41,10) content-size 23.359375x0 children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <div> at (41,10) content-size 23.359375x43.6875 children: inline
|
||||
line 0 width: 23.359375, height: 43.6875, bottom: 43.6875, baseline: 33.84375
|
||||
BlockContainer <div> at (41,10) content-size 23.359375x43.671875 children: inline
|
||||
line 0 width: 23.359375, height: 43.671875, bottom: 43.671875, baseline: 33.828125
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [41,10 23.359375x43.671875]
|
||||
"B"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> at (41,53.6875) content-size 23.359375x0 children: inline
|
||||
BlockContainer <(anonymous)> at (41,53.671875) content-size 23.359375x0 children: inline
|
||||
TextNode <#text>
|
||||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x47.6875]
|
||||
PaintableWithLines (BlockContainer<DIV>.ib) [8,8 61.1875x47.6875]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x47.671875]
|
||||
PaintableWithLines (BlockContainer<DIV>.ib) [8,8 61.1875x47.671875]
|
||||
PaintableWithLines (BlockContainer<DIV>.label) [8,23 19.828125x23.84375]
|
||||
TextPaintable (TextNode<#text>)
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<BUTTON>) [36,8 33.359375x47.6875]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [41,10 23.359375x43.6875]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [41,10 23.359375x43.6875]
|
||||
PaintableWithLines (BlockContainer<BUTTON>) [36,8 33.359375x47.671875]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [41,10 23.359375x43.671875]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [41,10 23.359375x43.671875]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [41,10 23.359375x0]
|
||||
PaintableWithLines (BlockContainer<DIV>) [41,10 23.359375x43.6875]
|
||||
PaintableWithLines (BlockContainer<DIV>) [41,10 23.359375x43.671875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer(anonymous)) [41,53.6875 23.359375x0]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [41,53.671875 23.359375x0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue