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

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

Issue 593673003: Different fonts selected for width calculation and actual painting (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@ellipsis_not_present
Patch Set: Rebasing Test Expectation file Created 6 years, 2 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.txt » ('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..6314ec165838dcfc1bea11c0958684ca7d4277a5
--- /dev/null
+++ b/LayoutTests/fast/text/ellipsis-platform-font-change.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+@font-face {
+ font-family: AndroidEmoji;
+ src: url(../../third_party/AndroidEmojiMonospace/AndroidEmoji.ttf.subset-uni203C.ttf) format("truetype");
+}
+
+
+#div {
+ font-family: AndroidEmoji;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ width: 2em;
+ overflow: hidden;
+ border: 1px solid #000000;
+ font-size:20px;
+}
+
+</style>
+</head>
+<body>
+
+<div id="div">A,,,B</div>
+
+</body>
+</html>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/text/ellipsis-platform-font-change-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698