Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: LayoutTests/fast/overflow/line-clamp-hides-trailing-anchor.html

Issue 1065783002: Remove legacy markup box behavior when line-clamping. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rename new layout test to reflect intent. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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;
11 }
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698