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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/button-with-ellipsis-expected.html

Issue 1970183002: Don't use canCollapseAnonymousBlockChild() to determine whether to truncate text. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Declaration soup - aka LayoutTest. Created 4 years, 7 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 <style>
3 .button {
4 display: inline-block;
5 width: 20em;
6 height: 2em;
7 font: 16px/2em sans-serif;
8 overflow: hidden;
9 vertical-align: top;
10 text-overflow: ellipsis;
11 white-space: nowrap;
12 background: gray;
13 }
14 </style>
15 <p>There should be two gray boxes with overflowing text, truncated with "...".</ p>
16 <div class="button">Houses can be built from different kinds of materials. The m ost common types are brick, wood, and vinyl or synthetic siding. Houses have law ns that need to be tended.</div>
17 <br><br>
18 <div class="button">Houses can be built from different kinds of materials. The m ost common types are brick, wood, and vinyl or synthetic siding. Houses have law ns that need to be tended.</div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698