mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:07:44 +00:00
LibWeb: Enforce min/max height constraints on abspos replaced boxes
Fixes #18658
This commit is contained in:
parent
36ff6187f6
commit
fc3c3aef22
3 changed files with 24 additions and 4 deletions
|
@ -0,0 +1,4 @@
|
|||
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
|
||||
ImageBox <img#zero-dimensions-but-min-percentages> at (8,8) content-size 800x600 positioned children: not-inline
|
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html><html><head><style>
|
||||
#zero-dimensions-but-min-percentages {
|
||||
width: 0;
|
||||
height: 0;
|
||||
min-width: 100%;
|
||||
min-height: 100%;
|
||||
position: absolute;
|
||||
}
|
||||
</style><body><img id="zero-dimensions-but-min-percentages">
|
Loading…
Add table
Add a link
Reference in a new issue