Changeset 67463 in webkit
- Timestamp:
- Sep 14, 2010 6:25:06 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 8 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r67460 r67463 1 2010-09-14 Pierre-Antoine LaFayette <plafayet@codeaurora.org> 2 3 Reviewed by Darin Adler. 4 5 REGRESSION (r52839): Incomplete repaint of IMG with text-align:center 6 https://bugs.webkit.org/show_bug.cgi?id=40142 7 8 Add pixel tests to verify proper repaint of RenderReplaced as well as non-inline children. 9 10 * fast/repaint/block-layout-inline-children-float-positioned.html: Added. 11 * fast/repaint/block-layout-inline-children-replaced.html: Added. 12 * platform/mac/fast/repaint/block-layout-inline-children-float-positioned-expected.checksum: Added. 13 * platform/mac/fast/repaint/block-layout-inline-children-float-positioned-expected.png: Added. 14 * platform/mac/fast/repaint/block-layout-inline-children-float-positioned-expected.txt: Added. 15 * platform/mac/fast/repaint/block-layout-inline-children-replaced-expected.checksum: Added. 16 * platform/mac/fast/repaint/block-layout-inline-children-replaced-expected.png: Added. 17 * platform/mac/fast/repaint/block-layout-inline-children-replaced-expected.txt: Added. 18 1 19 2010-09-14 Pavel Podivilov <podivilov@chromium.org> 2 20 -
trunk/WebCore/ChangeLog
r67461 r67463 1 2010-09-14 Pierre-Antoine LaFayette <plafayet@codeaurora.org> 2 3 Reviewed by Darin Adler. 4 5 REGRESSION (r52839): Incomplete repaint of IMG with text-align:center 6 https://bugs.webkit.org/show_bug.cgi?id=40142 7 8 http://trac.webkit.org/changeset/52839 didn't really deal with the inline replaced element case. This just generalizes to all inline content. 9 10 Patch by: Dave Hyatt 11 12 Tests: fast/repaint/block-layout-inline-children-float-positioned.html 13 fast/repaint/block-layout-inline-children-replaced.html 14 15 * rendering/RenderBlockLineLayout.cpp: 16 (WebCore::RenderBlock::layoutInlineChildren): 17 1 18 2010-09-14 Balazs Kelemen <kb@inf.u-szeged.hu> 2 19 -
trunk/WebCore/rendering/RenderBlockLineLayout.cpp
r67350 r67463 560 560 bool hasInlineChild = false; 561 561 while (o) { 562 if (!hasInlineChild && o->isInline()) 563 hasInlineChild = true; 564 562 565 if (o->isReplaced() || o->isFloating() || o->isPositioned()) { 563 566 RenderBox* box = toRenderBox(o); … … 581 584 } 582 585 } else if (o->isText() || (o->isRenderInline() && !endOfInline)) { 583 hasInlineChild = true;584 586 if (fullLayout || o->selfNeedsLayout()) 585 587 dirtyLineBoxesForRenderer(o, fullLayout);
Note: See TracChangeset
for help on using the changeset viewer.