Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Layout issue on IMDB page for Robbie Coltrane
https://bugs.webkit.org/show_bug.cgi?id=247293 <rdar://101193884> Reviewed by Simon Fraser. Floating boxes overlap with their margin boxes. * LayoutTests/fast/block/float/float-with-margin-bottom-incorrect-expected.html: Added. * LayoutTests/fast/block/float/float-with-margin-bottom-incorrect.html: Added. * Source/WebCore/layout/floats/FloatingState.h: (WebCore::Layout::FloatingState::FloatItem::bottom const): Canonical link: https://commits.webkit.org/256183@main
- Loading branch information
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<style> | ||
div { | ||
width: 300px; | ||
height: 50px; | ||
background-color: blue; | ||
} | ||
.right { | ||
position: absolute; | ||
top: 8px; | ||
left: 458px; | ||
width: 50px; | ||
height: 200px; | ||
} | ||
</style> | ||
<div style="margin-bottom: 100px;"></div><div></div><div class=right></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<style> | ||
.container { | ||
width: 500px; | ||
font-family: Ahem; | ||
font-size: 20px; | ||
color: transparent; | ||
} | ||
.float_right { | ||
float: right; | ||
background-color: blue; | ||
width: 50px; | ||
height: 200px; | ||
} | ||
|
||
.float_left { | ||
float: left; | ||
width: 300px; | ||
height: 50px; | ||
background-color: blue; | ||
} | ||
</style> | ||
<div class=container> | ||
<div class=float_right></div> | ||
<div style="margin-bottom: 100px;" class=float_left></div> | ||
<div class=float_left></div> | ||
XXXX | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters