-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LayoutReloaded] Ensure that positioning happens within the formattin…
…g context https://bugs.webkit.org/show_bug.cgi?id=183722 Reviewed by Antti Koivisto. All sizing and positioning need to happen in the formatting context that the box lives in including the final position of in- and out-of-flow descendants. * LayoutReloaded/FormattingContext/BlockFormatting/BlockFormattingContext.js: (BlockFormattingContext.prototype.layout): (BlockFormattingContext.prototype._placeInFlowPositionedChildren): * LayoutReloaded/LayoutTree/Box.js: (Layout.Box.prototype.establishesBlockFormattingContext): (Layout.Box.prototype.isPositioned): (Layout.Box.prototype.isRelativelyPositioned): (Layout.Box.prototype.isAbsolutelyPositioned): (Layout.Box.prototype.isOutOfFlowPositioned): (Layout.Box.prototype.containingBlock): (Layout.Box.prototype.isRelativePositioned): Deleted. (Layout.Box.prototype.isAbsolutePositioned): Deleted. * LayoutReloaded/Utils.js: (Utils.isRelativelyPositioned): (Utils.isAbsolutelyPositioned): (Utils.isRelativePositioned): Deleted. (Utils.isAbsolutePositioned): Deleted. * LayoutReloaded/misc/headers/Box.h: Canonical link: https://commits.webkit.org/199363@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229696 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
24ea44f
commit 68b4eeb
Showing
5 changed files
with
62 additions
and
25 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