[CherryPick] To paint column-rules wider than column-gap
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Feb 2013 20:11:43 +0000 (20:11 +0000)
committerKyungTae Kim <kt@kt.(none)>
Wed, 22 May 2013 01:59:43 +0000 (10:59 +0900)
commitd6d712fc525b4b002bf382986f4212c108544a1c
treee52fc02c58da3977e38352fe2954d9db813f322c
parentddaa343ce9808a650017d487110ffda3b7b480f3
[CherryPick] To paint column-rules wider than column-gap

[Title] [CherryPick] To paint column-rules wider than column-gap
[Issue] TWEB-1032
[Problem] If column-rule-width > column-gap, the column-rule is not painted
[Cause] WebKit ignored column-rules wider than column-gap
[Solution] Cherry-pick the opensource patch.
[Cherry-Picker] KyungTae Kim <ktf.kim@samsung.com>

WebKit ignores column-rules wider than column-gap
https://bugs.webkit.org/show_bug.cgi?id=15553

Paint column rules even if they are wider than the gap.
Rules wider than the gap should just overlap with column contents.

Patch by Morten Stenshorne <mstensho@opera.com> on 2013-02-13
Reviewed by Eric Seidel.

Source/WebCore:

Test: fast/multicol/rule-thicker-than-gap.html

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::paintColumnRules):

LayoutTests:

* fast/multicol/rule-thicker-than-gap-expected.html: Added.
* fast/multicol/rule-thicker-than-gap.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142770 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Change-Id: I3881829f6d2fe71236ff909699d165c1997b3664
LayoutTests/fast/multicol/rule-thicker-than-gap-expected.html [new file with mode: 0644]
LayoutTests/fast/multicol/rule-thicker-than-gap.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBlock.cpp