Changeset 194461 in webkit
- Timestamp:
- Dec 31, 2015 11:27:58 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r194459 r194461 1 2015-12-31 Zalan Bujtas <zalan@apple.com> 2 3 Simple line layout: Nested block with pseudo first-line parent should bail out of simple line layout. 4 https://bugs.webkit.org/show_bug.cgi?id=152599 5 6 Reviewed by Simon Fraser. 7 8 We should bail out of simple line layout if any of the ancestors have pseudo first-line style. 9 (see RenderBlock::firstLineBlock()) 10 11 * fast/block/line-layout/first-line-should-bail-out-of-simple-line-layout-expected.html: Added. 12 * fast/block/line-layout/first-line-should-bail-out-of-simple-line-layout.html: Added. 13 1 14 2015-12-31 Martin Robinson <mrobinson@igalia.com> 2 15 -
trunk/Source/WebCore/ChangeLog
r194457 r194461 1 2015-12-31 Zalan Bujtas <zalan@apple.com> 2 3 Simple line layout: Nested block with pseudo first-line parent should bail out of simple line layout. 4 https://bugs.webkit.org/show_bug.cgi?id=152599 5 6 Reviewed by Simon Fraser. 7 8 We should bail out of simple line layout if any of the ancestors have pseudo first-line style. 9 (see RenderBlock::firstLineBlock()) 10 11 Test: fast/block/line-layout/first-line-should-bail-out-of-simple-line-layout.html 12 13 * rendering/SimpleLineLayout.cpp: 14 (WebCore::SimpleLineLayout::canUseForWithReason): 15 1 16 2015-12-30 Simon Fraser <simon.fraser@apple.com> 2 17 -
trunk/Source/WebCore/rendering/SimpleLineLayout.cpp
r193947 r194461 288 288 if (flow.document().paginated()) 289 289 SET_REASON_AND_RETURN_IF_NEEDED(FlowIsPaginated, reasons, includeReasons); 290 if (flow. isAnonymous() && flow.firstLineBlock())290 if (flow.firstLineBlock()) 291 291 SET_REASON_AND_RETURN_IF_NEEDED(FlowHasPseudoFirstLine, reasons, includeReasons); 292 292 if (flow.isAnonymousBlock() && flow.parent()->style().textOverflow())
Note: See TracChangeset
for help on using the changeset viewer.