Changeset 97794 in webkit
- Timestamp:
- Oct 18, 2011, 3:14:00 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r97791 r97794 1 2011-10-18 Dan Bernstein <mitz@apple.com> 2 3 Certain column-rule styles render incorrectly in vertical writing modes 4 https://bugs.webkit.org/show_bug.cgi?id=70362 5 6 Reviewed by Darin Adler. 7 8 * fast/multicol/vertical-rl/rule-style-expected.png: Added. 9 * fast/multicol/vertical-rl/rule-style-expected.txt: Added. 10 * fast/multicol/vertical-rl/rule-style.html: Added. 11 1 12 2011-10-18 Gavin Barraclough <barraclough@apple.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r97793 r97794 1 2011-10-18 Dan Bernstein <mitz@apple.com> 2 3 Certain column-rule styles render incorrectly in vertical writing modes 4 https://bugs.webkit.org/show_bug.cgi?id=70362 5 6 Reviewed by Darin Adler. 7 8 Test: fast/multicol/vertical-rl/rule-style.html 9 10 * rendering/RenderBlock.cpp: 11 (WebCore::RenderBlock::paintColumnRules): Use the correct border sides for vertical writing modes. 12 1 13 2011-10-18 Anna Cavender <annacc@chromium.org> 2 14 -
trunk/Source/WebCore/rendering/RenderBlock.cpp
r97786 r97794 2417 2417 LayoutUnit ruleTop = isHorizontalWritingMode() ? paintOffset.y() + borderTop() + paddingTop() : paintOffset.y() + ruleLogicalLeft - ruleWidth / 2 + ruleAdd; 2418 2418 LayoutUnit ruleBottom = isHorizontalWritingMode() ? ruleTop + contentHeight() : ruleTop + ruleWidth; 2419 drawLineForBoxSide(paintInfo.context, ruleLeft, ruleTop, ruleRight, ruleBottom, 2420 style()->isLeftToRightDirection() ? BSLeft : BSRight, ruleColor, ruleStyle, 0, 0, antialias); 2419 BoxSide side = isHorizontalWritingMode() 2420 ? style()->isLeftToRightDirection() ? BSLeft : BSRight 2421 : style()->isLeftToRightDirection() ? BSTop : BSBottom; 2422 drawLineForBoxSide(paintInfo.context, ruleLeft, ruleTop, ruleRight, ruleBottom, side, ruleColor, ruleStyle, 0, 0, antialias); 2421 2423 } 2422 2424
Note:
See TracChangeset
for help on using the changeset viewer.