Changeset 204908 in webkit
- Timestamp:
- Aug 24, 2016 11:33:43 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r204907 r204908 1 2016-08-24 Zalan Bujtas <zalan@apple.com> 2 3 ASSERTION FAILED: childrenInline() in WebCore::RenderBlockFlow::hasLines 4 https://bugs.webkit.org/show_bug.cgi?id=139396 5 <rdar://problem/27704339> 6 7 Reviewed by David Hyatt. 8 9 * fast/ruby/assert-with-block-rt-child-and-emphasis-expected.txt: Added. 10 * fast/ruby/assert-with-block-rt-child-and-emphasis.html: Added. 11 1 12 2016-08-24 Per Arne Vollan <pvollan@apple.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r204894 r204908 1 2016-08-24 Zalan Bujtas <zalan@apple.com> 2 3 ASSERTION FAILED: childrenInline() in WebCore::RenderBlockFlow::hasLines 4 https://bugs.webkit.org/show_bug.cgi?id=139396 5 <rdar://problem/27704339> 6 7 Reviewed by David Hyatt. 8 9 RenderBlockFlow::hasLines() should be able to handle the block-children case. 10 11 Test: fast/ruby/assert-with-block-rt-child-and-emphasis.html 12 13 * rendering/RenderBlock.h: 14 (WebCore::RenderBlock::hasLines): Deleted. 15 * rendering/RenderBlockFlow.cpp: 16 (WebCore::RenderBlockFlow::hasLines): 17 * rendering/RenderBlockFlow.h: 18 1 19 2016-08-24 Carlos Garcia Campos <cgarcia@igalia.com> 2 20 -
trunk/Source/WebCore/rendering/RenderBlock.h
r204400 r204908 418 418 virtual bool childrenPreventSelfCollapsing() const; 419 419 420 // FIXME-BLOCKFLOW: Remove virtualizaion when all callers have moved to RenderBlockFlow421 virtual bool hasLines() const { return false; }422 423 420 void createFirstLetterRenderer(RenderElement* firstLetterBlock, RenderText* currentTextChild); 424 421 void updateFirstLetterStyle(RenderElement* firstLetterBlock, RenderObject* firstLetterContainer); -
trunk/Source/WebCore/rendering/RenderBlockFlow.cpp
r204466 r204908 3598 3598 bool RenderBlockFlow::hasLines() const 3599 3599 { 3600 ASSERT(childrenInline()); 3600 if (!childrenInline()) 3601 return false; 3601 3602 3602 3603 if (auto simpleLineLayout = this->simpleLineLayout()) -
trunk/Source/WebCore/rendering/RenderBlockFlow.h
r200220 r204908 346 346 RootInlineBox* lastRootBox() const { return downcast<RootInlineBox>(m_lineBoxes.lastLineBox()); } 347 347 348 bool hasLines() const final;348 bool hasLines() const; 349 349 void invalidateLineLayoutPath() final; 350 350
Note: See TracChangeset
for help on using the changeset viewer.