[Sub pixel layout] RTL cells with padding wraps
authoreae@chromium.org <eae@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Jan 2013 00:14:57 +0000 (00:14 +0000)
committereae@chromium.org <eae@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Jan 2013 00:14:57 +0000 (00:14 +0000)
commitf6857ca5f53c26779fda4c9ac068b3a7a62a3a75
tree1b0ad006423c596b6026e9b82178e81d56ee4c49
parentd6ac16aa2f713fe6835e2d9bc9c482bb34904b55
[Sub pixel layout] RTL cells with padding wraps
https://bugs.webkit.org/show_bug.cgi?id=106843

Source/WebCore:

Reviewed by Levi Weintraub.

At certain zoom levels table cells with padding wraps for rtl
content.

Test: fast/sub-pixel/table-rtl-padding.html

* rendering/RenderTable.h: Override paddingStart/End to return
integer values for padding as we do elsewhere in the table code.

LayoutTests:

Reviewed by Levi Weintraub.

Add test for rtl tables with padding.

* fast/sub-pixel/input-caret-on-subpixel-bound-expected.html:
* fast/sub-pixel/table-rtl-padding-expected.html: Added.
* fast/sub-pixel/table-rtl-padding.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@139807 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/sub-pixel/input-caret-on-subpixel-bound-expected.html
LayoutTests/fast/sub-pixel/table-rtl-padding-expected.html [new file with mode: 0644]
LayoutTests/fast/sub-pixel/table-rtl-padding.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderTable.h