OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <style> | 5 <style> |
6 .scroll { | 6 .scroll { |
7 width: 200px; | 7 width: 200px; |
8 height: 200px; | 8 height: 200px; |
9 border: 1px solid black; | 9 border: 1px solid black; |
10 margin: 15px; | 10 margin: 15px; |
11 padding: 5px; | 11 padding: 5px; |
12 overflow-y: scroll; | 12 overflow-y: scroll; |
13 -webkit-transform: translateZ(0); | 13 transform: translateZ(0); |
14 box-shadow: 0 0 15px black; | 14 box-shadow: 0 0 15px black; |
15 } | 15 } |
16 | 16 |
17 .rotated { | 17 .rotated { |
18 -webkit-transform: rotate3d(0, 0, 1, 45deg); | 18 transform: rotate3d(0, 0, 1, 45deg); |
19 } | 19 } |
20 .scroll > div { | 20 .scroll > div { |
21 background-color: silver; | 21 background-color: silver; |
22 width: 500px; | 22 width: 500px; |
23 height: 1000px; | 23 height: 1000px; |
24 } | 24 } |
25 </style> | 25 </style> |
26 </head> | 26 </head> |
27 <body> | 27 <body> |
28 | 28 |
29 <p>Overlay scrollbars (on Mac) should show in the correct place when scrolli
ng.</p> | 29 <p>Overlay scrollbars (on Mac) should show in the correct place when scrolli
ng.</p> |
30 <div class="scroll"> | 30 <div class="scroll"> |
31 <div></div> | 31 <div></div> |
32 </div> | 32 </div> |
33 | 33 |
34 <p>Overlay scrollbars (on Mac) should show in the correct place when scrolli
ng, and the resize corner should show in the correct place.</p> | 34 <p>Overlay scrollbars (on Mac) should show in the correct place when scrolli
ng, and the resize corner should show in the correct place.</p> |
35 <div class="scroll" style="resize: both; overflow:hiddens"> | 35 <div class="scroll" style="resize: both; overflow:hiddens"> |
36 <div></div> | 36 <div></div> |
37 </div> | 37 </div> |
38 | 38 |
39 <p>Overlay scrollbars (on Mac) should show in the correct place when scrolli
ng, and the resize corner should show in the correct place.</p> | 39 <p>Overlay scrollbars (on Mac) should show in the correct place when scrolli
ng, and the resize corner should show in the correct place.</p> |
40 <div class="rotated scroll" style="resize: both; overflow:hiddens"> | 40 <div class="rotated scroll" style="resize: both; overflow:hiddens"> |
41 <div></div> | 41 <div></div> |
42 </div> | 42 </div> |
43 | 43 |
44 </body> | 44 </body> |
45 </html> | 45 </html> |
OLD | NEW |