[email protected] | b4a02df | 2012-08-24 16:39:43 | [diff] [blame^] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <style> |
| 5 | ::-webkit-scrollbar { |
| 6 | width: 16px; |
| 7 | height: 16px; |
| 8 | } |
| 9 | |
| 10 | ::-webkit-scrollbar-track |
| 11 | { |
| 12 | background-color: #E3E3E3; |
| 13 | } |
| 14 | |
| 15 | ::-webkit-scrollbar-thumb |
| 16 | { |
| 17 | background: black; |
| 18 | } |
| 19 | |
| 20 | .scroll-row { |
| 21 | display: table-row; |
| 22 | } |
| 23 | |
| 24 | .scroll-cell { |
| 25 | display: table-cell; |
| 26 | overflow: scroll; |
| 27 | width: 50px; |
| 28 | height: 50px; |
| 29 | } |
| 30 | |
| 31 | .overflowing { |
| 32 | width: 200px; |
| 33 | height: 200px; |
| 34 | } |
| 35 | </style> |
| 36 | <script> |
| 37 | if (window.testRunner) |
| 38 | testRunner.dumpAsText(true); |
| 39 | </script> |
| 40 | </head> |
| 41 | <body> |
| 42 | <!-- |
| 43 | Bug 93903: Crash in RenderTableCell::borderTop() due to custom scrollbars after r124168 |
| 44 | This test has PASSED if there are 2 grey custom scrollbars with a black thumb on each div below. |
| 45 | Note that currently the right scrollbar is missing due to https://bugs.webkit.org/show_bug.cgi?id=94054 |
| 46 | --> |
| 47 | <div class="scroll-cell"><div class="overflowing"></div></div> |
| 48 | <div class="scroll-row"><div class="scroll-cell"><div class="overflowing"></div></div></div> |
| 49 | </body> |
| 50 | </html> |