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