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

Unified Diff: LayoutTests/fast/text/ellipsis-platform-font-change.html

Issue 781003003: Using fullstop Unicode if horizontal ellipsis not present (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@diff_font_render
Patch Set: Rebasing patch Created 5 years, 11 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: LayoutTests/fast/text/ellipsis-platform-font-change.html
diff --git a/LayoutTests/fast/text/ellipsis-platform-font-change.html b/LayoutTests/fast/text/ellipsis-platform-font-change.html
new file mode 100644
index 0000000000000000000000000000000000000000..6871f763c77a51842a72441043e512a3d435f5bb
--- /dev/null
+++ b/LayoutTests/fast/text/ellipsis-platform-font-change.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+@font-face {
+ font-family: DroidSansSubset;
+ src: url(../../third_party/DroidSans/DroidSans.ttf.subset-U002E-U0041-42.ttf) format("truetype");
+}
+
+
+#div {
+ font-family: DroidSansSubset;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ width: 2em;
+ overflow: hidden;
+ border: 1px solid #000000;
+ font-size:24px;
+}
+
+</style>
+</head>
+<body>
+
+<!--
Dominik Röttsches 2015/01/08 13:02:25 Please do not submit unused/commented-out code.
+<div id="div">A,,,B</div>
+-->
+<div id="div">ABAB</div>
Dominik Röttsches 2015/01/08 13:02:25 Can the test case be extended to cover the firstli
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698