Changeset 123835 in webkit
- Timestamp:
- Jul 26, 2012 8:48:18 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r123827 r123835 1 2012-07-26 Dan Bernstein <mitz@apple.com> 2 3 Blocks with reverse column progression don’t have layout overflow for overflowing columns 4 https://bugs.webkit.org/show_bug.cgi?id=92440 5 6 Reviewed by Sam Weinig. 7 8 * fast/multicol/progression-reverse-overflow-expected.html: Added. 9 * fast/multicol/progression-reverse-overflow.html: Added. 10 1 11 2012-07-26 Sukolsak Sakshuwong <sukolsak@google.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r123833 r123835 1 2012-07-26 Dan Bernstein <mitz@apple.com> 2 3 Blocks with reverse column progression don’t have layout overflow for overflowing columns 4 https://bugs.webkit.org/show_bug.cgi?id=92440 5 6 Reviewed by Sam Weinig. 7 8 Test: fast/multicol/progression-reverse-overflow.html 9 10 * rendering/RenderBox.cpp: 11 (WebCore::RenderBox::addLayoutOverflow): If column progression is reversed, then allow 12 layout overflow to go in the opposite direction than it would normally be allowed to go. 13 For example, in a block with writing-mode: horizontal-tb, direction: ltr and 14 column-progression: reverse, columns overflow to the left, so layout overflow would go on 15 the left. 16 1 17 2012-07-26 Keishi Hattori <keishi@webkit.org> 2 18 -
trunk/Source/WebCore/rendering/RenderBox.cpp
r123754 r123835 3635 3635 hasTopOverflow = true; 3636 3636 } 3637 3637 3638 if (hasColumns() && style()->columnProgression() == ReverseColumnProgression) { 3639 if (isHorizontalWritingMode() ^ !style()->hasInlineColumnAxis()) 3640 hasLeftOverflow = !hasLeftOverflow; 3641 else 3642 hasTopOverflow = !hasTopOverflow; 3643 } 3644 3638 3645 if (!hasTopOverflow) 3639 3646 overflowRect.shiftYEdgeTo(max(overflowRect.y(), clientBox.y()));
Note: See TracChangeset
for help on using the changeset viewer.