Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[LayoutReloaded] Remove border/padding/contentBox() functions from La…
…yout.Box https://bugs.webkit.org/show_bug.cgi?id=183761 Reviewed by Antti Koivisto. Display.Box has them. * LayoutReloaded/FormattingContext/BlockFormatting/BlockFormattingContext.js: (BlockFormattingContext.prototype._computeOutOfFlowWidth): (BlockFormattingContext.prototype._computeOutOfFlowHeight): (BlockFormattingContext.prototype._horizontalConstraint): (BlockFormattingContext.prototype._contentHeight): (BlockFormattingContext.prototype._adjustBottomWithFIXME): (BlockFormattingContext.prototype._computeOutOfFlowPosition): * LayoutReloaded/FormattingContext/FloatingContext.js: (FloatingContext.prototype._availableSpace): * LayoutReloaded/FormattingContext/FormattingContext.js: (FormattingContext.prototype.absoluteBorderBox): (FormattingContext.prototype.absolutePaddingBox): (FormattingContext.prototype.absoluteContentBox): * LayoutReloaded/LayoutTree/Box.js: (Layout.Box.prototype.isDescendantOf): (Layout.Box): (Layout.Box.prototype.borderBox): Deleted. (Layout.Box.prototype.paddingBox): Deleted. (Layout.Box.prototype.contentBox): Deleted. Canonical link: https://commits.webkit.org/199392@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229734 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
41 additions
and 23 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
@@ -239,16 +239,4 @@ Layout.Box = class Box { | ||
ascendant = ascendant.parent(); | ||
return !!ascendant; | ||
} | ||
} |