OLD | NEW |
1 Test getting/setting FontFace properties. | 1 Test getting/setting FontFace properties. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS ahemFace.family is "Ahem" | 6 PASS ahemFace.family is "Ahem" |
7 PASS ahemFace.style is "italic" | 7 PASS ahemFace.style is "italic" |
8 PASS ahemFace.weight is "300" | 8 PASS ahemFace.weight is "300" |
9 PASS ahemFace.unicodeRange is "U+0-3FF" | 9 PASS ahemFace.unicodeRange is "U+0-3FF" |
10 PASS ahemFace.variant is "small-caps" | 10 PASS ahemFace.variant is "small-caps" |
(...skipping 14 matching lines...) Expand all Loading... |
25 PASS constructedFace.variant is "small-caps" | 25 PASS constructedFace.variant is "small-caps" |
26 PASS constructedFace.featureSettings is "'liga' 0" | 26 PASS constructedFace.featureSettings is "'liga' 0" |
27 | 27 |
28 PASS modifiedFace.family is "modified" | 28 PASS modifiedFace.family is "modified" |
29 PASS modifiedFace.style is "italic" | 29 PASS modifiedFace.style is "italic" |
30 PASS modifiedFace.weight is "900" | 30 PASS modifiedFace.weight is "900" |
31 PASS modifiedFace.unicodeRange is "U+0-3FF" | 31 PASS modifiedFace.unicodeRange is "U+0-3FF" |
32 PASS modifiedFace.variant is "small-caps" | 32 PASS modifiedFace.variant is "small-caps" |
33 PASS modifiedFace.featureSettings is "'dlig' 1, 'liga' 0" | 33 PASS modifiedFace.featureSettings is "'dlig' 1, 'liga' 0" |
34 | 34 |
| 35 PASS serifFace.family is "" |
| 36 |
35 PASS face.style = '' threw exception SyntaxError: Failed to set the 'style' prop
erty on 'FontFace': Failed to set '' as a property value.. | 37 PASS face.style = '' threw exception SyntaxError: Failed to set the 'style' prop
erty on 'FontFace': Failed to set '' as a property value.. |
36 PASS face.weight = 'a' threw exception SyntaxError: Failed to set the 'weight' p
roperty on 'FontFace': Failed to set 'a' as a property value.. | 38 PASS face.weight = 'a' threw exception SyntaxError: Failed to set the 'weight' p
roperty on 'FontFace': Failed to set 'a' as a property value.. |
37 PASS face.unicodeRange = 'U+' threw exception SyntaxError: Failed to set the 'un
icodeRange' property on 'FontFace': Failed to set 'U+' as a property value.. | 39 PASS face.unicodeRange = 'U+' threw exception SyntaxError: Failed to set the 'un
icodeRange' property on 'FontFace': Failed to set 'U+' as a property value.. |
38 PASS face.variant = '???' threw exception SyntaxError: Failed to set the 'varian
t' property on 'FontFace': Failed to set '???' as a property value.. | 40 PASS face.variant = '???' threw exception SyntaxError: Failed to set the 'varian
t' property on 'FontFace': Failed to set '???' as a property value.. |
39 PASS face.featureSettings = null threw exception SyntaxError: Failed to set the
'featureSettings' property on 'FontFace': Failed to set 'null' as a property val
ue.. | 41 PASS face.featureSettings = null threw exception SyntaxError: Failed to set the
'featureSettings' property on 'FontFace': Failed to set 'null' as a property val
ue.. |
40 PASS promise1 === promise2 is true | 42 PASS promise1 === promise2 is true |
41 PASS promise1 === promise3 is true | 43 PASS promise1 === promise3 is true |
42 PASS "A network error occurred." is "A network error occurred." | 44 PASS "A network error occurred." is "A network error occurred." |
43 PASS successfullyParsed is true | 45 PASS successfullyParsed is true |
44 | 46 |
45 TEST COMPLETE | 47 TEST COMPLETE |
46 | 48 |
OLD | NEW |