Changeset 238493 in webkit
- Timestamp:
- Nov 26, 2018, 7:23:44 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/inline/inline-content-with-float-and-margin-expected.txt (added)
-
LayoutTests/fast/inline/inline-content-with-float-and-margin.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/layout/inlineformatting/InlineFormattingContext.cpp (modified) (1 diff)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/LayoutReloaded/misc/LFC-passing-tests.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r238488 r238493 1 2018-11-25 Zalan Bujtas <zalan@apple.com> 2 3 [LFC][IFC] Use float box's margin box to adjust the line constraints. 4 https://bugs.webkit.org/show_bug.cgi?id=191961 5 6 Reviewed by Antti Koivisto. 7 8 * fast/inline/inline-content-with-float-and-margin-expected.txt: Added. 9 * fast/inline/inline-content-with-float-and-margin.html: Added. 10 1 11 2018-11-26 Manuel Rego Casasnovas <rego@igalia.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r238492 r238493 1 2018-11-25 Zalan Bujtas <zalan@apple.com> 2 3 [LFC][IFC] Use float box's margin box to adjust the line constraints. 4 https://bugs.webkit.org/show_bug.cgi?id=191961 5 6 Reviewed by Antti Koivisto. 7 8 Test: fast/inline/inline-content-with-float-and-margin.html 9 10 (WebCore::Layout::outputMismatchingComplexLineInformationIfNeeded): 11 (WebCore::Layout::LayoutState::verifyAndOutputMismatchingLayoutTree const): 12 * layout/inlineformatting/InlineFormattingContext.cpp: 13 (WebCore::Layout::InlineFormattingContext::layoutInlineContent const): 14 1 15 2018-11-26 Carlos Garcia Campos <cgarcia@igalia.com> 2 16 -
trunk/Source/WebCore/layout/inlineformatting/InlineFormattingContext.cpp
r238482 r238493 288 288 inlineFormattingState.floatingState().append(floatBox); 289 289 290 auto floatBoxWidth = layoutState.displayBoxForLayoutBox(floatBox). width();290 auto floatBoxWidth = layoutState.displayBoxForLayoutBox(floatBox).marginBox().width(); 291 291 // Shrink availble space for current line and move existing inline runs. 292 292 floatBox.isLeftFloatingPositioned() ? line.adjustLogicalLeft(floatBoxWidth) : line.adjustLogicalRight(floatBoxWidth); -
trunk/Tools/ChangeLog
r238486 r238493 1 2018-11-25 Zalan Bujtas <zalan@apple.com> 2 3 [LFC][IFC] Use float box's margin box to adjust the line constraints. 4 https://bugs.webkit.org/show_bug.cgi?id=191961 5 6 Reviewed by Antti Koivisto. 7 8 * LayoutReloaded/misc/LFC-passing-tests.txt: 9 1 10 2018-11-25 Zalan Bujtas <zalan@apple.com> 2 11 -
trunk/Tools/LayoutReloaded/misc/LFC-passing-tests.txt
r238460 r238493 78 78 fast/inline/inline-content-and-nested-formatting-root-with-margin-left-right.html 79 79 fast/inline/inline-content-with-image-simple.html 80 fast/inline/inline-content-with-float-and-margin.html 80 81 fast/block/basic/height-percentage-simple.html 81 82 fast/block/basic/child-block-level-box-with-height-percent.html
Note:
See TracChangeset
for help on using the changeset viewer.