| <!DOCTYPE html> |
| <html> |
| <head> |
| <style> |
| ::-webkit-scrollbar { |
| width: 16px; |
| height: 16px; |
| } |
| |
| ::-webkit-scrollbar-track |
| { |
| background-color: #E3E3E3; |
| } |
| |
| ::-webkit-scrollbar-thumb |
| { |
| background: black; |
| } |
| |
| .scroll-row { |
| display: table-row; |
| } |
| |
| .scroll-cell { |
| display: table-cell; |
| overflow: scroll; |
| width: 50px; |
| height: 50px; |
| } |
| |
| .overflowing { |
| width: 200px; |
| height: 200px; |
| } |
| </style> |
| <script> |
| if (window.testRunner) |
| testRunner.dumpAsText(true); |
| </script> |
| </head> |
| <body> |
| <!-- |
| Bug 93903: Crash in RenderTableCell::borderTop() due to custom scrollbars after r124168 |
| This test has PASSED if there are 2 grey custom scrollbars and each block is 216x216px. |
| --> |
| <div class="scroll-cell"><div class="overflowing"></div></div> |
| <div class="scroll-row"><div class="scroll-cell"><div class="overflowing"></div></div></div> |
| </body> |
| </html> |