--- /dev/null
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderBlock {HTML} at (0,0) size 800x600
+ RenderBody {BODY} at (8,8) size 784x584
+ RenderText {#text} at (186,20) size 18x4
+ text run at (186,20) width 4: " "
+ RenderText {#text} at (186,44) size 18x4
+ text run at (186,44) width 4: " "
+ RenderText {#text} at (186,68) size 18x4
+ text run at (186,68) width 4: " "
+ RenderText {#text} at (186,92) size 18x4
+ text run at (186,92) width 4: " "
+ RenderText {#text} at (186,116) size 18x4
+ text run at (186,116) width 4: " "
+ RenderText {#text} at (186,140) size 18x4
+ text run at (186,140) width 4: " "
+ RenderText {#text} at (186,164) size 18x4
+ text run at (186,164) width 4: " "
+ RenderText {#text} at (0,0) size 0x0
+layer at (592,8) size 200x20
+ RenderBlock {DIV} at (0,0) size 200x20
+ RenderBlock {DIV} at (0,0) size 400x2
+layer at (592,32) size 200x20
+ RenderBlock {DIV} at (0,24) size 200x20
+ RenderBlock {DIV} at (0,0) size 400x2
+layer at (592,56) size 200x20
+ RenderBlock {DIV} at (0,48) size 200x20
+ RenderBlock {DIV} at (0,0) size 400x2
+layer at (592,80) size 200x20
+ RenderBlock {DIV} at (0,72) size 200x20
+ RenderBlock {DIV} at (0,0) size 400x2
+layer at (592,104) size 200x20
+ RenderBlock {DIV} at (0,96) size 200x20
+ RenderBlock {DIV} at (0,0) size 400x2
+layer at (592,128) size 200x20
+ RenderBlock {DIV} at (0,120) size 200x20
+ RenderBlock {DIV} at (0,0) size 400x2
+layer at (592,152) size 200x20
+ RenderBlock {DIV} at (0,144) size 200x20
+ RenderBlock {DIV} at (0,0) size 400x2
+layer at (592,176) size 200x20
+ RenderBlock {DIV} at (0,168) size 200x20
+ RenderBlock {DIV} at (0,0) size 400x2
--- /dev/null
+<style>
+ body {
+ -webkit-writing-mode: vertical-rl;
+ }
+
+ div.columns {
+ -webkit-columns: 2;
+ width: 200px;
+ height: 20px;
+ -webkit-column-rule-color: gray;
+ -webkit-column-rule-width: 12px;
+ display: inline-block;
+ }
+
+ div.columns div {
+ width: 400px;
+ }
+</style>
+
+<div class="columns" style="-webkit-column-rule-style: solid;">
+ <div></div>
+</div>
+
+<div class="columns" style="-webkit-column-rule-style: dotted;">
+ <div></div>
+</div>
+
+<div class="columns" style="-webkit-column-rule-style: dashed;">
+ <div></div>
+</div>
+
+<div class="columns" style="-webkit-column-rule-style: groove;">
+ <div></div>
+</div>
+
+<div class="columns" style="-webkit-column-rule-style: ridge;">
+ <div></div>
+</div>
+
+<div class="columns" style="-webkit-column-rule-style: inset;">
+ <div></div>
+</div>
+
+<div class="columns" style="-webkit-column-rule-style: outset;">
+ <div></div>
+</div>
+
+<div class="columns" style="-webkit-column-rule-style: double;">
+ <div></div>
+</div>
LayoutUnit ruleRight = isHorizontalWritingMode() ? ruleLeft + ruleWidth : ruleLeft + contentWidth();
LayoutUnit ruleTop = isHorizontalWritingMode() ? paintOffset.y() + borderTop() + paddingTop() : paintOffset.y() + ruleLogicalLeft - ruleWidth / 2 + ruleAdd;
LayoutUnit ruleBottom = isHorizontalWritingMode() ? ruleTop + contentHeight() : ruleTop + ruleWidth;
- drawLineForBoxSide(paintInfo.context, ruleLeft, ruleTop, ruleRight, ruleBottom,
- style()->isLeftToRightDirection() ? BSLeft : BSRight, ruleColor, ruleStyle, 0, 0, antialias);
+ BoxSide side = isHorizontalWritingMode()
+ ? style()->isLeftToRightDirection() ? BSLeft : BSRight
+ : style()->isLeftToRightDirection() ? BSTop : BSBottom;
+ drawLineForBoxSide(paintInfo.context, ruleLeft, ruleTop, ruleRight, ruleBottom, side, ruleColor, ruleStyle, 0, 0, antialias);
}
ruleLogicalLeft = currLogicalLeftOffset;