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

Side by Side Diff: LayoutTests/fast/scrolling/overlay-scrollbars-expected.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 18 matching lines...) Expand all
29 </script> 29 </script>
30 </head> 30 </head>
31 <body> 31 <body>
32 <p>You should see 2 green boxes with overlay scrollbars. The second box 32 <p>You should see 2 green boxes with overlay scrollbars. The second box
33 should have a scrollbar on the left.</p> 33 should have a scrollbar on the left.</p>
34 34
35 <div class="container"> 35 <div class="container">
36 <div class="scrollbar vertical" style="right: 4px; top: 4px;"></div> 36 <div class="scrollbar vertical" style="right: 4px; top: 4px;"></div>
37 <div class="scrollbar horizontal" style="left: 4px; bottom: 4px;"></div> 37 <div class="scrollbar horizontal" style="left: 4px; bottom: 4px;"></div>
38 </div> 38 </div>
39 <div dir="rtl" class="container">
40 <div class="scrollbar vertical" style="left: 4px; top: 4px;"></div>
41 <div class="scrollbar horizontal" style="right: 4px; bottom: 4px;"></div>
42 </div>
39 43
44 <div class="container">
45 <div class="scrollbar vertical" style="right: 4px; top: 4px; height: 85px"></div >
46 <div class="scrollbar horizontal" style="left: 4px; bottom: 4px; width: 85px"></ div>
47 </div>
40 <div dir="rtl" class="container"> 48 <div dir="rtl" class="container">
41 <div class="scrollbar vertical" style="left: 0px; top: 4px;"></div> 49 <div class="scrollbar vertical" style="left: 4px; top: 4px; height: 85px"></div>
42 <div class="scrollbar horizontal" style="right: 4px; bottom: 4px;"></div> 50 <div class="scrollbar horizontal" style="right: 4px; bottom: 4px; width: 85px">< /div>
43 </div> 51 </div>
44 </body> 52 </body>
45 </html> 53 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698