Chromium Code Reviews| 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> |