ojan@chromium.org | bc5ca6e | 2012-08-15 02:14:23 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <div id=flexbox style="-webkit-box-orient: vertical; -webkit-line-clamp: 1; display: -webkit-box; background-color: salmon; overflow:hidden"> |
| 3 | <span>AAA </span><a href=#>X</a> |
| 4 | </div> |
| 5 | <script> |
| 6 | document.body.offsetTop; |
ojan@chromium.org | 8bd1183 | 2012-08-16 22:01:24 +0000 | [diff] [blame] | 7 | // If the page doesn't crash under AddressSanitizer, then the test passes. |
| 8 | if (window.testRunner) |
| 9 | testRunner.dumpAsText(); |
ojan@chromium.org | bc5ca6e | 2012-08-15 02:14:23 +0000 | [diff] [blame] | 10 | </script> |
| 11 | <style> |
| 12 | body { |
| 13 | -webkit-column-width: 50px; |
| 14 | -webkit-column-count: 12; |
| 15 | } |
| 16 | </style> |