[LayoutReloaded] BlockFormattingContext::placePositionedDescendants takes care of...
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 18 Mar 2018 00:24:57 +0000 (00:24 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 18 Mar 2018 00:24:57 +0000 (00:24 +0000)
commitf1e366d885313b101497dc9b1bfc03a75cfc11ee
tree84d9910042c62132eca7f0883b74a4d230bd74b0
parenta0852921f62cb2a040c51bacc7f589cc746dd8ad
[LayoutReloaded] BlockFormattingContext::placePositionedDescendants takes care of both in- and out-of-flow placement
https://bugs.webkit.org/show_bug.cgi?id=183727

Reviewed by Antti Koivisto.

* LayoutReloaded/FormattingContext/BlockFormatting/BlockFormattingContext.js:
(BlockFormattingContext.prototype.layout):
(BlockFormattingContext.prototype._placePositionedDescendants):
(BlockFormattingContext.prototype._placeInFlowPositionedChildren):
(BlockFormattingContext.prototype._placeOutOfFlowDescendants):
* LayoutReloaded/test/absolute-position-when-containing-block-is-not-in-the-formatting-context.html: Added.
* LayoutReloaded/test/absolute-position-when-containing-block-is-not-in-the-formatting-context2.html: Added.
* LayoutReloaded/test/index.html:
* LayoutReloaded/test/relative-position-when-containing-block-is-not-in-the-formatting-context.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229698 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/LayoutReloaded/FormattingContext/BlockFormatting/BlockFormattingContext.js
Tools/LayoutReloaded/test/absolute-position-when-containing-block-is-not-in-the-formatting-context.html [new file with mode: 0644]
Tools/LayoutReloaded/test/absolute-position-when-containing-block-is-not-in-the-formatting-context2.html [new file with mode: 0644]
Tools/LayoutReloaded/test/index.html
Tools/LayoutReloaded/test/relative-position-when-containing-block-is-not-in-the-formatting-context.html [new file with mode: 0644]