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> |