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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/forms/button-with-ellipsis-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/button-with-ellipsis-expected.html b/third_party/WebKit/LayoutTests/fast/forms/button-with-ellipsis-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..53bc84ddf72336763231ea93511271c99919da32
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/forms/button-with-ellipsis-expected.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<style>
+ .button {
+ display: inline-block;
+ width: 20em;
+ height: 2em;
+ font: 16px/2em sans-serif;
+ overflow: hidden;
+ vertical-align: top;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ background: gray;
+ }
+</style>
+<p>There should be two gray boxes with overflowing text, truncated with "...".</p>
+<div class="button">Houses can be built from different kinds of materials. The most common types are brick, wood, and vinyl or synthetic siding. Houses have lawns that need to be tended.</div>
+<br><br>
+<div class="button">Houses can be built from different kinds of materials. The most common types are brick, wood, and vinyl or synthetic siding. Houses have lawns that need to be tended.</div>

Powered by Google App Engine
This is Rietveld 408576698