| 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" |
| 11 PASS ahemFace.featureSettings is "'dlig' 1" | 11 PASS ahemFace.featureSettings is "'dlig' 1" |
| 12 PASS ahemFace.display is "block" |
| 12 | 13 |
| 13 PASS defaultFace.family is "defaultFace" | 14 PASS defaultFace.family is "defaultFace" |
| 14 PASS defaultFace.style is "normal" | 15 PASS defaultFace.style is "normal" |
| 15 PASS defaultFace.weight is "normal" | 16 PASS defaultFace.weight is "normal" |
| 16 PASS defaultFace.stretch is "normal" | 17 PASS defaultFace.stretch is "normal" |
| 17 PASS defaultFace.unicodeRange is "U+0-10FFFF" | 18 PASS defaultFace.unicodeRange is "U+0-10FFFF" |
| 18 PASS defaultFace.variant is "normal" | 19 PASS defaultFace.variant is "normal" |
| 19 PASS defaultFace.featureSettings is "normal" | 20 PASS defaultFace.featureSettings is "normal" |
| 21 PASS defaultFace.display is "auto" |
| 20 | 22 |
| 21 PASS constructedFace.family is "constructedFace" | 23 PASS constructedFace.family is "constructedFace" |
| 22 PASS constructedFace.style is "oblique" | 24 PASS constructedFace.style is "oblique" |
| 23 PASS constructedFace.weight is "bold" | 25 PASS constructedFace.weight is "bold" |
| 24 PASS constructedFace.unicodeRange is "U+100-1FF, U+ABCD" | 26 PASS constructedFace.unicodeRange is "U+100-1FF, U+ABCD" |
| 25 PASS constructedFace.variant is "small-caps" | 27 PASS constructedFace.variant is "small-caps" |
| 26 PASS constructedFace.featureSettings is "'liga' 0" | 28 PASS constructedFace.featureSettings is "'liga' 0" |
| 29 PASS constructedFace.display is "optional" |
| 27 | 30 |
| 28 PASS modifiedFace.family is "modified" | 31 PASS modifiedFace.family is "modified" |
| 29 PASS modifiedFace.style is "italic" | 32 PASS modifiedFace.style is "italic" |
| 30 PASS modifiedFace.weight is "900" | 33 PASS modifiedFace.weight is "900" |
| 31 PASS modifiedFace.unicodeRange is "U+0-3FF" | 34 PASS modifiedFace.unicodeRange is "U+0-3FF" |
| 32 PASS modifiedFace.variant is "small-caps" | 35 PASS modifiedFace.variant is "small-caps" |
| 33 PASS modifiedFace.featureSettings is "'dlig' 1, 'liga' 0" | 36 PASS modifiedFace.featureSettings is "'dlig' 1, 'liga' 0" |
| 37 PASS modifiedFace.display is "fallback" |
| 34 | 38 |
| 35 PASS face.style = '' threw exception SyntaxError: Failed to set the 'style' prop
erty on 'FontFace': Failed to set '' as a property value.. | 39 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.. | 40 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.. | 41 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.. | 42 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.. | 43 PASS face.featureSettings = null threw exception SyntaxError: Failed to set the
'featureSettings' property on 'FontFace': Failed to set 'null' as a property val
ue.. |
| 44 PASS face.display = 123 threw exception SyntaxError: Failed to set the 'display'
property on 'FontFace': Failed to set '123' as a property value.. |
| 40 PASS promise1 === promise2 is true | 45 PASS promise1 === promise2 is true |
| 41 PASS promise1 === promise3 is true | 46 PASS promise1 === promise3 is true |
| 42 PASS "A network error occurred." is "A network error occurred." | 47 PASS "A network error occurred." is "A network error occurred." |
| 43 PASS successfullyParsed is true | 48 PASS successfullyParsed is true |
| 44 | 49 |
| 45 TEST COMPLETE | 50 TEST COMPLETE |
| 46 | 51 |
| OLD | NEW |