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

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: Rebase patch Created 5 years, 6 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/text/ellipsis-platform-font-change-expected.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2e882640702afb8bc0f0975300251bc5943b9f17
--- /dev/null
+++ b/LayoutTests/fast/text/ellipsis-platform-font-change.html
@@ -0,0 +1,43 @@
+<!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;
+}
+
+#firstLine {
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ border: 1px solid #000000;
+ width: 10em;
+ font-size:24px;
+}
+
+#firstLine:first-line {
+ font-family: DroidSansSubset;
+ font-size: 16px;
+}
+
+</style>
+</head>
+<body>
+
+<div id="div">ABAB</div><br>
+<div id="firstLine">ABABABABABABABABABABAB ABABABABABABAB ABABABABABABABABABAB ABABABABABABABABABABABABABABABAB ABABABABAB ABABABABABABABABAB ABABABABABABABABAB ABABABABABABABABAB ABABABABABABABAB ABABABABABABABABAB ABABABABABABABABAB ABABABABABABABABABABAB ABABABABABABABABABABABABABABAB</div>
+
+
+</body>
+</html>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/text/ellipsis-platform-font-change-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698