Changeset 239991 in webkit
- Timestamp:
- Jan 15, 2019, 10:27:06 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/block/block-only/non-auto-top-bottom-left-right-widht-height-out-of-flow-expected.txt (added)
-
LayoutTests/fast/block/block-only/non-auto-top-bottom-left-right-widht-height-out-of-flow.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/layout/FormattingContextGeometry.cpp (modified) (2 diffs)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/LayoutReloaded/misc/LFC-passing-tests.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r239990 r239991 1 2019-01-15 Zalan Bujtas <zalan@apple.com> 2 3 [LFC][Out-of-flow] Ignore bottom when the vertical values are over-constrained 4 https://bugs.webkit.org/show_bug.cgi?id=193448 5 6 Reviewed by Antti Koivisto. 7 8 * fast/block/block-only/non-auto-top-bottom-left-right-widht-height-out-of-flow-expected.txt: Added. 9 * fast/block/block-only/non-auto-top-bottom-left-right-widht-height-out-of-flow.html: Added. 10 1 11 2019-01-15 Devin Rousso <drousso@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r239987 r239991 1 2019-01-15 Zalan Bujtas <zalan@apple.com> 2 3 [LFC][Out-of-flow] Ignore bottom when the vertical values are over-constrained 4 https://bugs.webkit.org/show_bug.cgi?id=193448 5 6 Reviewed by Antti Koivisto. 7 8 Add missing check. We should only resolve auto values. 9 10 Test: fast/block/block-only/non-auto-top-bottom-left-right-widht-height-out-of-flow.html 11 12 * layout/FormattingContextGeometry.cpp: 13 (WebCore::Layout::FormattingContext::Geometry::outOfFlowNonReplacedVerticalGeometry): 14 1 15 2019-01-15 Devin Rousso <drousso@apple.com> 2 16 -
trunk/Source/WebCore/layout/FormattingContextGeometry.cpp
r239983 r239991 302 302 usedVerticalMargin.after = *computedVerticalMargin.after; 303 303 usedVerticalMargin.before = containingBlockHeight - (*top + borderTop + paddingTop + contentHeight() + paddingBottom + borderBottom + usedVerticalMargin.after + *bottom); 304 } else {304 } else if (!computedVerticalMargin.after) { 305 305 usedVerticalMargin.before = *computedVerticalMargin.before; 306 306 usedVerticalMargin.after = containingBlockHeight - (*top + usedVerticalMargin.before + borderTop + paddingTop + contentHeight() + paddingBottom + borderBottom + *bottom); … … 308 308 // Over-constrained? 309 309 auto boxHeight = *top + usedVerticalMargin.before + borderTop + paddingTop + contentHeight() + paddingBottom + borderBottom + usedVerticalMargin.after + *bottom; 310 if (boxHeight >containingBlockHeight)310 if (boxHeight != containingBlockHeight) 311 311 bottom = containingBlockHeight - (*top + usedVerticalMargin.before + borderTop + paddingTop + contentHeight() + paddingBottom + borderBottom + usedVerticalMargin.after); 312 312 } -
trunk/Tools/ChangeLog
r239989 r239991 1 2019-01-15 Zalan Bujtas <zalan@apple.com> 2 3 [LFC][Out-of-flow] Ignore bottom when the vertical values are over-constrained 4 https://bugs.webkit.org/show_bug.cgi?id=193448 5 6 Reviewed by Antti Koivisto. 7 8 * LayoutReloaded/misc/LFC-passing-tests.txt: 9 1 10 2019-01-15 Jonathan Bedard <jbedard@apple.com> 2 11 -
trunk/Tools/LayoutReloaded/misc/LFC-passing-tests.txt
r239983 r239991 79 79 fast/block/block-only/box-sizing-inflow-out-of-flow-simple.html 80 80 fast/block/block-only/out-of-flow-with-containing-block-border-padding.html 81 fast/block/block-only/non-auto-top-bottom-left-right-widht-height-out-of-flow.html 81 82 fast/block/basic/002.html 82 83 fast/block/basic/003.html
Note:
See TracChangeset
for help on using the changeset viewer.