[LFC] Adjust static position for out-of-flow positioned boxes.
[WebKit-https.git] / Source / WebCore / ChangeLog
index ee8b94e..0e5c357 100644 (file)
@@ -1,3 +1,19 @@
+2018-06-25  Zalan Bujtas  <zalan@apple.com>
+
+        [LFC] Adjust static position for out-of-flow positioned boxes.
+        https://bugs.webkit.org/show_bug.cgi?id=187000
+
+        Reviewed by Antti Koivisto.
+
+        The static position of an out-of-flow positioned box is the the position where box would go
+        if it was in-flow positioned. This position needs to the resolved in the containing block's coordinate system.
+
+        * layout/blockformatting/BlockFormattingContext.h:
+        * layout/blockformatting/BlockFormattingContextGeometry.cpp:
+        (WebCore::Layout::BlockFormattingContext::Geometry::inFlowReplacedWidthAndMargin):
+        (WebCore::Layout::BlockFormattingContext::Geometry::staticPositionForOutOfFlowPositioned):
+        (WebCore::Layout::BlockFormattingContext::Geometry::staticPosition):
+
 2018-06-25  Brady Eidson  <beidson@apple.com>
 
         Remove RELEASE_ASSERT added in r230875.