Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
PassKeywords should appear in serialization of font and fontStretch
Asserts run
Pass
assert_equals("ultra-condensed", "ultra-condensed")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:13:5)
Pass
assert_equals("ultra-condensed medium serif", "ultra-condensed medium serif")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:14:5)
Pass
assert_equals("extra-condensed", "extra-condensed")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:16:5)
Pass
assert_equals("extra-condensed medium serif", "extra-condensed medium serif")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:17:5)
Pass
assert_equals("condensed", "condensed")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:19:5)
Pass
assert_equals("condensed medium serif", "condensed medium serif")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:20:5)
Pass
assert_equals("semi-condensed", "semi-condensed")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:22:5)
Pass
assert_equals("semi-condensed medium serif", "semi-condensed medium serif")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:23:5)
Pass
assert_equals("normal", "normal")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:25:5)
Pass
assert_equals("medium serif", "medium serif", "The keyword normal should be omitted")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:26:5)
Pass
assert_equals("semi-expanded", "semi-expanded")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:28:5)
Pass
assert_equals("semi-expanded medium serif", "semi-expanded medium serif")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:29:5)
Pass
assert_equals("expanded", "expanded")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:31:5)
Pass
assert_equals("expanded medium serif", "expanded medium serif")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:32:5)
Pass
assert_equals("extra-expanded", "extra-expanded")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:34:5)
Pass
assert_equals("extra-expanded medium serif", "extra-expanded medium serif")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:35:5)
Pass
assert_equals("ultra-expanded", "ultra-expanded")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:37:5)
Pass
assert_equals("ultra-expanded medium serif", "ultra-expanded medium serif")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:38:5)
PassPercentages which can be transformed into keywords should be for serialization of font, but not of fontStretch
Asserts run
Pass
assert_equals("50%", "50%")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:44:5)
Pass
assert_equals("ultra-condensed medium serif", "ultra-condensed medium serif")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:45:5)
Pass
assert_equals("62.5%", "62.5%")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:47:5)
Pass
assert_equals("extra-condensed medium serif", "extra-condensed medium serif")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:48:5)
Pass
assert_equals("75%", "75%")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:50:5)
Pass
assert_equals("condensed medium serif", "condensed medium serif")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:51:5)
Pass
assert_equals("87.5%", "87.5%")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:53:5)
Pass
assert_equals("semi-condensed medium serif", "semi-condensed medium serif")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:54:5)
Pass
assert_equals("100%", "100%")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:56:5)
Pass
assert_equals("medium serif", "medium serif", "The keyword normal should be omitted")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:57:5)
Pass
assert_equals("112.5%", "112.5%")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:59:5)
Pass
assert_equals("semi-expanded medium serif", "semi-expanded medium serif")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:60:5)
Pass
assert_equals("125%", "125%")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:62:5)
Pass
assert_equals("expanded medium serif", "expanded medium serif")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:63:5)
Pass
assert_equals("150%", "150%")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:65:5)
Pass
assert_equals("extra-expanded medium serif", "extra-expanded medium serif")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:66:5)
Pass
assert_equals("200%", "200%")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:68:5)
Pass
assert_equals("ultra-expanded medium serif", "ultra-expanded medium serif")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:69:5)
Pass
assert_equals("50%", "50%")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:71:5)
Pass
assert_equals("ultra-condensed medium serif", "ultra-condensed medium serif")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:72:5)
PassPercentages which cannot be transformed into keywords should prevent the font shorthand from serializing, but not fontStretch
Asserts run
Pass
assert_equals("25%", "25%")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:78:5)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:79:5)
Pass
assert_equals("101%", "101%")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:81:5)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:82:5)
Pass
assert_equals("50.01%", "50.01%")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:84:5)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:85:5)
Failcalc() transformation into keywordsassert_equals: expected "calc(50% + (25% * sign(100em - 1px)))" but got "calc(50%)"
    at Test.<anonymous> (https://www1.wpt.live/css/css-fonts/font-shorthand-serialization-font-stretch.html:97:5)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2684:25)
    at test (https://www1.wpt.live/resources/testharness.js:633:30)
    at https://www1.wpt.live/css/css-fonts/font-shorthand-serialization-font-stretch.html:88:1
Asserts run
Pass
assert_equals("calc(50%)", "calc(50%)")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:93:5)
Pass
assert_equals("ultra-condensed medium serif", "ultra-condensed medium serif")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:94:5)
Fail
assert_equals("calc(50%)", "calc(50% + (25% * sign(100em - 1px)))")
    at Test.<anonymous> ( /css/css-fonts/font-shorthand-serialization-font-stretch.html:97:5)