| Index: LayoutTests/fast/overflow/line-clamp-hides-trailing-anchor.html
|
| diff --git a/LayoutTests/fast/overflow/line-clamp-hides-trailing-anchor.html b/LayoutTests/fast/overflow/line-clamp-hides-trailing-anchor.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..57d566ae118f9cb4a05321ba7f63d6f2aaaf0610
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/overflow/line-clamp-hides-trailing-anchor.html
|
| @@ -0,0 +1,25 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| + <head>
|
| + <style>
|
| + div {
|
| + display: -webkit-inline-box;
|
| + width: 100px;
|
| + -webkit-box-orient: vertical;
|
| + -webkit-line-clamp: 1;
|
| + overflow: hidden;
|
| + }
|
| + </style>
|
| + </head>
|
| + <body>
|
| + This test prevents regression of now-removed legacy line
|
| + clamping behavior where a trailing anchor tag in a
|
| + line-clamped inline box would always render and be available
|
| + for hit-testing in the ellipsified visible box. Test passes
|
| + if no anchor text is visible.
|
| + <br><br>
|
| + <div>
|
| + aaaaa bbbbb<a href="#">ccccc</a>
|
| + </div>
|
| + </body>
|
| +</html>
|
|
|