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

Unified Diff: sky/tests/layout/ellipsis.sky

Issue 751483002: Fix bug from 3db9471ae80bd492f2a346113d2323ba8eee0c09. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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: sky/tests/layout/ellipsis.sky
diff --git a/sky/tests/layout/ellipsis.sky b/sky/tests/layout/ellipsis.sky
new file mode 100644
index 0000000000000000000000000000000000000000..08288a42a0e0d5019a87b30ccfb92bd4351e1f76
--- /dev/null
+++ b/sky/tests/layout/ellipsis.sky
@@ -0,0 +1,25 @@
+<sky>
+ <import src="../resources/dump-as-render-tree.sky" />
+ <style>
+ div {
+ width: 50px;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+ border: 3px solid blue;
+ }
+ p {
+ width: 50px;
+ display: paragraph;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+ border: 3px solid red;
+ }
+ span {
+ display: inline;
+ }
+ </style>
+ <div>These lines <p>should</p> all ellipsize. </div>
+ <p><span>As should this.</span></p>
+</sky>

Powered by Google App Engine
This is Rietveld 408576698