mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
LibWeb: Resolve padding against 0 and not inf for indefinite width more
In particular, in BFC: - Non-floating, non-replaced elements - Floating, non-replaced elements - Floating, replaced elements The first two regressed in1d76126abe
The third one seems to have been introduced by this regression, as it was seemingly copied from compute_width_for_floating_box in7f9ede07bc
This commit is contained in:
parent
0ec522ab54
commit
f4446cdf8c
7 changed files with 56 additions and 6 deletions
|
@ -0,0 +1,6 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x16 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x0 children: not-inline
|
||||
Box <div#box1> at (8,8) content-size 784x0 flex-container(row) [FFC] children: not-inline
|
||||
BlockContainer <div> at (8,8) content-size 0x0 flex-item [BFC] children: not-inline
|
||||
Box <div#box2> at (8,8) content-size 0x0 floating flex-container(row) [FFC] children: not-inline
|
|
@ -0,0 +1,6 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x80 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x64 children: not-inline
|
||||
Box <div#box1> at (8,8) content-size 784x64 flex-container(row) [FFC] children: not-inline
|
||||
BlockContainer <div> at (8,8) content-size 16x64 flex-item [BFC] children: not-inline
|
||||
ImageBox <img#box2> at (24,24) content-size 16x32 floating flex-container(row) children: not-inline
|
|
@ -0,0 +1,6 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x16 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x0 children: not-inline
|
||||
Box <div#box1> at (8,8) content-size 784x0 flex-container(row) [FFC] children: not-inline
|
||||
BlockContainer <div> at (8,8) content-size 0x0 flex-item [BFC] children: not-inline
|
||||
Box <div#box2> at (8,8) content-size 0x0 flex-container(row) [FFC] children: not-inline
|
Loading…
Add table
Add a link
Reference in a new issue