-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LayoutReloaded] Introduce floating to InlineFormattingContext
https://bugs.webkit.org/show_bug.cgi?id=184288 Reviewed by Antti Koivisto. * LayoutReloaded/FormattingContext/BlockFormatting/BlockFormattingContext.js: (BlockFormattingContext.prototype._computeFloatingWidth): Deleted. (BlockFormattingContext.prototype._computeFloatingHeight): Deleted. * LayoutReloaded/FormattingContext/FormattingContext.js: (FormattingContext.prototype._computeFloatingWidth): (FormattingContext.prototype._computeFloatingHeight): * LayoutReloaded/FormattingContext/InlineFormatting/InlineFormattingContext.js: (InlineFormattingContext.prototype.layout): (InlineFormattingContext.prototype._handleFloatingBox): * LayoutReloaded/FormattingContext/InlineFormatting/Line.js: (Line.prototype.addFloatingBox): (Line): * LayoutReloaded/test/float-is-inside-inline-formatting-context-simple.html: Added. * LayoutReloaded/test/index.html: Canonical link: https://commits.webkit.org/199840@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
8777c92
commit 25138e5
Showing
7 changed files
with
52 additions
and
12 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 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 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 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 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
1 change: 1 addition & 0 deletions
1
Tools/LayoutReloaded/test/float-is-inside-inline-formatting-context-simple.html
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 @@ | ||
<div style="height: 1000px;"><div style="float: left; width: 50px; height: 50px;"></div>foobar</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