Title: [116435] trunk
- Revision
- 116435
- Author
- [email protected]
- Date
- 2012-05-08 10:51:29 -0700 (Tue, 08 May 2012)
Log Message
[Chromium] Fix the position of an RTL resizer
https://bugs.webkit.org/show_bug.cgi?id=80640
Reviewed by Tony Chang.
When rendering an RTL resizer, my r110073 renders it at the same position as the
one used for rendering a LTR resizer. Unfortunately, this code renders the RTL
resizer image at an incorrect position on Mac and Linux. This change uses the
correct formula to calculate the position of an RTL resizer.
Source/WebCore:
Test: platform/chromium/scrollbars/rtl-resizer-position.html
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::drawPlatformResizerImage):
LayoutTests:
* platform/chromium/platform/chromium/scrollbars: Added.
* platform/chromium/platform/chromium/scrollbars/rtl-resizer-position-expected.png: Added.
* platform/chromium/platform/chromium/scrollbars/rtl-resizer-position-expected.txt: Added.
* platform/chromium/scrollbars/rtl-resizer-position.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (116434 => 116435)
--- trunk/LayoutTests/ChangeLog 2012-05-08 17:14:44 UTC (rev 116434)
+++ trunk/LayoutTests/ChangeLog 2012-05-08 17:51:29 UTC (rev 116435)
@@ -1,3 +1,20 @@
+2012-05-08 Hironori Bono <[email protected]>
+
+ [Chromium] Fix the position of an RTL resizer
+ https://bugs.webkit.org/show_bug.cgi?id=80640
+
+ Reviewed by Tony Chang.
+
+ When rendering an RTL resizer, my r110073 renders it at the same position as the
+ one used for rendering a LTR resizer. Unfortunately, this code renders the RTL
+ resizer image at an incorrect position on Mac and Linux. This change uses the
+ correct formula to calculate the position of an RTL resizer.
+
+ * platform/chromium/platform/chromium/scrollbars: Added.
+ * platform/chromium/platform/chromium/scrollbars/rtl-resizer-position-expected.png: Added.
+ * platform/chromium/platform/chromium/scrollbars/rtl-resizer-position-expected.txt: Added.
+ * platform/chromium/scrollbars/rtl-resizer-position.html: Added.
+
2012-05-08 Csaba Osztrogonác <[email protected]>
[Qt] Unreviewed gardening, skip failing tests.
Added: trunk/LayoutTests/platform/chromium/platform/chromium/scrollbars/rtl-resizer-position-expected.png (0 => 116435)
--- trunk/LayoutTests/platform/chromium/platform/chromium/scrollbars/rtl-resizer-position-expected.png (rev 0)
+++ trunk/LayoutTests/platform/chromium/platform/chromium/scrollbars/rtl-resizer-position-expected.png 2012-05-08 17:51:29 UTC (rev 116435)
@@ -0,0 +1,4 @@
+\x89PNG
+
+
+IHDR X \x9Av\x82p )tEXtchecksum 46689358df988e0376f70a2a7324519c\xA0\xD1L&