Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <style> | |
| 5 ::-webkit-scrollbar { | |
| 6 width: 16px; | |
| 7 height: 16px; | |
| 8 -webkit-appearance: searchfield-results-decoration; | |
| 9 } | |
| 10 | |
| 11 ::-webkit-scrollbar-track { | |
| 12 background-color: #E3E3E3; | |
| 13 -webkit-appearance: searchfield-cancel-button; | |
| 14 } | |
| 15 | |
| 16 ::-webkit-scrollbar-thumb { | |
| 17 background: black; | |
| 18 } | |
| 19 | |
| 20 .scroll-container { | |
| 21 overflow: scroll; | |
| 22 width: 50px; | |
| 23 height: 50px; | |
| 24 } | |
| 25 | |
| 26 .overflowing { | |
| 27 width: 200px; | |
| 28 height: 200px; | |
| 29 } | |
| 30 </style> | |
| 31 </head> | |
| 32 <body> | |
| 33 PASS if not crashed. | |
| 34 <div class="scroll-container"><div class="overflowing"></div></div> | |
| 35 </body> | |
| 36 </html> | |
| OLD | NEW |