Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / overflow / line-clamp-hides-trailing-anchor.html
blob57d566ae118f9cb4a05321ba7f63d6f2aaaf0610
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 div {
6 display: -webkit-inline-box;
7 width: 100px;
8 -webkit-box-orient: vertical;
9 -webkit-line-clamp: 1;
10 overflow: hidden;
12 </style>
13 </head>
14 <body>
15 This test prevents regression of now-removed legacy line
16 clamping behavior where a trailing anchor tag in a
17 line-clamped inline box would always render and be available
18 for hit-testing in the ellipsified visible box. Test passes
19 if no anchor text is visible.
20 <br><br>
21 <div>
22 aaaaa bbbbb<a href="#">ccccc</a>
23 </div>
24 </body>
25 </html>