Index: LayoutTests/fast/css/font-face-unicode-range-load.html |
diff --git a/LayoutTests/fast/css/font-face-unicode-range-load.html b/LayoutTests/fast/css/font-face-unicode-range-load.html |
index a1c8561c5801a63206931af0a6ea259afac03b9a..8306ec1d4b6079f5632b75356d646ded2f43bfad 100644 |
--- a/LayoutTests/fast/css/font-face-unicode-range-load.html |
+++ b/LayoutTests/fast/css/font-face-unicode-range-load.html |
@@ -9,6 +9,7 @@ window.jsTestIsAsync = true; |
var latin1Loaded = false; |
var cyrillicLoaded = false; |
var arabicLoaded = false; |
+var iconLoaded = false; |
function runTests() { |
document.fonts.addEventListener('loadingdone', onloadingdone); |
@@ -23,11 +24,14 @@ function onloadingdone(e) { |
cyrillicLoaded = true; |
if (range == 'U+600-6FF') |
arabicLoaded = true; |
+ if (range == 'U+E000') |
+ iconLoaded = true; |
} |
shouldBeTrue('latin1Loaded'); // Latin-1 font is loaded for basic font metrics. |
shouldBeTrue('cyrillicLoaded'); |
shouldBeFalse('arabicLoaded'); |
+ shouldBeFalse('iconLoaded'); |
finishJSTest(); |
} |
@@ -57,9 +61,19 @@ else { |
#test { |
font-family: TestFont; |
} |
+ |
+@font-face { |
+ font-family: SingleCharacterOverride; |
+ src: url('../../resources/Ahem.woff'); |
+ unicode-range: U+E000; |
+} |
+#test2 { |
+ font-family: SingleCharacterOverride; |
+} |
</style> |
</head> |
<body> |
<p id="test">Проверка</p> |
+ <p id="test2">hello</p> |
</body> |
</html> |