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

Side by Side Diff: LayoutTests/fast/scrolling/overlay-scrollbars.html

Issue 23480037: Fix RTL scroll bars being misrendered on Android. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: isLeftSideVerticalScrollbar Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 html, body { 5 html, body {
6 margin: 0; 6 margin: 0;
7 padding: 0; 7 padding: 0;
8 } 8 }
9 .container { 9 .container {
10 width: 100px; 10 width: 100px;
(...skipping 10 matching lines...) Expand all
21 if (window.internals) { 21 if (window.internals) {
22 testRunner.dumpAsText(true); 22 testRunner.dumpAsText(true);
23 internals.setUsesOverlayScrollbars(true); 23 internals.setUsesOverlayScrollbars(true);
24 internals.settings.setMockScrollbarsEnabled(true); 24 internals.settings.setMockScrollbarsEnabled(true);
25 } 25 }
26 </script> 26 </script>
27 </head> 27 </head>
28 <body> 28 <body>
29 <p>You should see 2 green boxes with overlay scrollbars. The second box 29 <p>You should see 2 green boxes with overlay scrollbars. The second box
30 should have a scrollbar on the left.</p> 30 should have a scrollbar on the left.</p>
31
31 <div class="container"><div class="box"></div></div> 32 <div class="container"><div class="box"></div></div>
32 <div dir="rtl" class="container"><div class="box"></div></div> 33 <div dir="rtl" class="container"><div class="box"></div></div>
34
35 <div class="container" style="overflow: scroll"></div>
36 <div dir="rtl" class="container" style="overflow: scroll"></div>
33 </body> 37 </body>
34 </html> 38 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/scrolling/overlay-scrollbars-expected.html » ('j') | Source/web/ScrollbarGroup.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698