Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Unified Diff: LayoutTests/scrollbars/rtl/div-horizontal-with-vertical-scrollbar.html

Issue 70163005: Fix clientLeft value for RTL direction, while the element have vertical scrollbar in left side. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/scrollbars/rtl/div-horizontal-with-vertical-scrollbar.html
diff --git a/LayoutTests/scrollbars/rtl/div-horizontal-with-vertical-scrollbar.html b/LayoutTests/scrollbars/rtl/div-horizontal-with-vertical-scrollbar.html
index 5c59fcbf7d4950e77e5f05904d60c7d19e80dfce..ba10654e119091dc97cfcd2daa8a431155afd965 100644
--- a/LayoutTests/scrollbars/rtl/div-horizontal-with-vertical-scrollbar.html
+++ b/LayoutTests/scrollbars/rtl/div-horizontal-with-vertical-scrollbar.html
@@ -34,6 +34,7 @@ debug('Verify the width of the vertical scrollbar of the outer RTL element is th
var scrollbarWidthLTR = outerLTR.offsetWidth - outerLTR.clientWidth;
var scrollbarWidthRTL = outerRTL.offsetWidth - outerRTL.clientWidth;
shouldBeTrue('scrollbarWidthLTR == scrollbarWidthRTL');
+shouldBeTrue('outerRTL.clientLeft == scrollbarWidthRTL');
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698