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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/scrolling/hide-scrollbars-expected.html

Issue 2239313002: Hide non-composited native scrollbars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update comment Created 4 years, 4 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
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;
11 height: 100px; 11 height: 100px;
12 background-color: lime; 12 background-color: lime;
13 position: relative; 13 position: relative;
14 display: block;
15 font-family: "Arial";
16 font-size : 12pt;
17 }
18 .scrollbar {
19 background-color: #808080;
20 position: absolute;
21 }
22 .vertical {
23 width: 3px;
24 height: 92px;
25 } 14 }
26 </style> 15 </style>
27 <script> 16 <script>
28 </script> 17 </script>
29 </head> 18 </head>
30 <body> 19 <body>
31 <p>You should see 2 green boxes with-out overlay scrollbar.</p>» 20 <p>You should see 4 green boxes that do not show scrollbars.
21 The first two boxes would show overlay scrollbars if they weren't
22 hidden (second one with a scrollbar on the left).</p>
23
24 <div class="container"></div>
25 <div dir="rtl" class="container"></div>
32 26
33 <div class="container"></div> 27 <div class="container"></div>
34 <div dir="rtl" class="container"></div> 28 <div dir="rtl" class="container"></div>
35 </body> 29 </body>
36 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698