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
REGRESSION (r292532): pge.com: Unable to focus on any of the inputs
https://bugs.webkit.org/show_bug.cgi?id=240832 <rdar://92538460> Reviewed by Simon Fraser. This is a revert of r292532. Blank float avoiders (used width = 0px) do fit even when the available space is zero. We have to find a different way to address the float fitting issue in contain-inline-size-bfc-floats-001.html (though I am not convinced that the expected result is correct anymore). * LayoutTests/TestExpectations: * LayoutTests/fast/block/float/zero-size-float-avoider-incorrect-position-expected.html: Added. * LayoutTests/fast/block/float/zero-size-float-avoider-incorrect-position.html: Added. * Source/WebCore/rendering/RenderBlockFlow.cpp: (WebCore::RenderBlockFlow::getClearDelta): Canonical link: https://commits.webkit.org/250922@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
8 changed files
with
52 additions
and
105 deletions.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
@@ -0,0 +1,26 @@ | ||
<style> | ||
.container { | ||
background-color: green; | ||
width: 200px; | ||
height: 200px; | ||
} | ||
|
||
.block { | ||
background-color: blue; | ||
height: 100px; | ||
width: 300px; | ||
} | ||
.relative { | ||
width: 0px; | ||
height: 0px; | ||
overflow: hidden; | ||
outline: 5px solid cyan; | ||
position: relative; | ||
left: 300px; | ||
top: -100px; | ||
} | ||
</style> | ||
<div class=container> | ||
<div class=block></div> | ||
<div class=relative></div> | ||
</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
@@ -0,0 +1,24 @@ | ||
<style> | ||
.container { | ||
background-color: green; | ||
width: 200px; | ||
height: 200px; | ||
} | ||
|
||
.float { | ||
float: left; | ||
background-color: blue; | ||
height: 100px; | ||
width: 300px; | ||
} | ||
.overflow { | ||
width: 0px; | ||
height: 0px; | ||
overflow: hidden; | ||
outline: 5px solid cyan; | ||
} | ||
</style> | ||
<div class=container> | ||
<div class=float></div> | ||
<div class=overflow></div> | ||
</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