Shorthand test

Summary

Harness status: OK

Found 22 tests

Details

ResultTest NameMessage
PassFont shorthand: Font size specified as calc()
Asserts run
Pass
assert_equals(true, true, "Font shorthand: Font size specified as calc()")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Pass
assert_equals("normal", "normal", "Font shorthand expected style: Font size specified as calc()")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
Pass
assert_equals("400", "400", "Font shorthand expected weight: Font size specified as calc()")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:61:17)
Pass
assert_equals("24px", "24px", "Font shorthand expected size: Font size specified as calc()")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:62:17)
PassFont shorthand: Font weight specified as number
Asserts run
Pass
assert_equals(true, true, "Font shorthand: Font weight specified as number")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Pass
assert_equals("normal", "normal", "Font shorthand expected style: Font weight specified as number")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
Pass
assert_equals("700.5", "700.5", "Font shorthand expected weight: Font weight specified as number")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:61:17)
Pass
assert_equals("24px", "24px", "Font shorthand expected size: Font weight specified as number")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:62:17)
PassFont shorthand: Font weight specified as number, value less than 1
Asserts run
Pass
assert_equals(false, false, "Font shorthand: Font weight specified as number, value less than 1")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Pass
assert_equals("normal", "normal", "Font shorthand expected style: Font weight specified as number, value less than 1")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
Pass
assert_equals("400", "400", "Font shorthand expected weight: Font weight specified as number, value less than 1")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:61:17)
Pass
assert_equals("16px", "16px", "Font shorthand expected size: Font weight specified as number, value less than 1")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:62:17)
PassFont shorthand: Font weight specified as number, value greater than 1000
Asserts run
Pass
assert_equals(false, false, "Font shorthand: Font weight specified as number, value greater than 1000")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Pass
assert_equals("normal", "normal", "Font shorthand expected style: Font weight specified as number, value greater than 1000")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
Pass
assert_equals("400", "400", "Font shorthand expected weight: Font weight specified as number, value greater than 1000")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:61:17)
Pass
assert_equals("16px", "16px", "Font shorthand expected size: Font weight specified as number, value greater than 1000")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:62:17)
PassFont shorthand: Font weight specified as calc()
Asserts run
Pass
assert_equals(true, true, "Font shorthand: Font weight specified as calc()")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Pass
assert_equals("normal", "normal", "Font shorthand expected style: Font weight specified as calc()")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
Pass
assert_equals("500.5", "500.5", "Font shorthand expected weight: Font weight specified as calc()")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:61:17)
Pass
assert_equals("24px", "24px", "Font shorthand expected size: Font weight specified as calc()")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:62:17)
FailFont shorthand: Font weight specified as calc(), value smaller than 1assert_equals: Font shorthand expected weight: Font weight specified as calc(), value smaller than 1 expected "1" but got "400"
    at Test.<anonymous> (http://wpt.live/css/css-fonts/variations/font-shorthand.html:61:17)
    at Test.step (http://wpt.live/resources/testharness.js:2638:25)
    at test (http://wpt.live/resources/testharness.js:633:30)
    at http://wpt.live/css/css-fonts/variations/font-shorthand.html:50:13
    at Array.forEach (<anonymous>)
Asserts run
Pass
assert_equals(true, true, "Font shorthand: Font weight specified as calc(), value smaller than 1")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Pass
assert_equals("normal", "normal", "Font shorthand expected style: Font weight specified as calc(), value smaller than 1")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
Fail
assert_equals("400", "1", "Font shorthand expected weight: Font weight specified as calc(), value smaller than 1")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:61:17)
FailFont shorthand: Font weight specified as calc(), value greater than 1000assert_equals: Font shorthand expected weight: Font weight specified as calc(), value greater than 1000 expected "1000" but got "400"
    at Test.<anonymous> (http://wpt.live/css/css-fonts/variations/font-shorthand.html:61:17)
    at Test.step (http://wpt.live/resources/testharness.js:2638:25)
    at test (http://wpt.live/resources/testharness.js:633:30)
    at http://wpt.live/css/css-fonts/variations/font-shorthand.html:50:13
    at Array.forEach (<anonymous>)
Asserts run
Pass
assert_equals(true, true, "Font shorthand: Font weight specified as calc(), value greater than 1000")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Pass
assert_equals("normal", "normal", "Font shorthand expected style: Font weight specified as calc(), value greater than 1000")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
Fail
assert_equals("400", "1000", "Font shorthand expected weight: Font weight specified as calc(), value greater than 1000")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:61:17)
PassFont shorthand: 'oblique' with positive angle
Asserts run
Pass
assert_equals(true, true, "Font shorthand: 'oblique' with positive angle")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Pass
assert_equals("oblique 45deg", "oblique 45deg", "Font shorthand expected style: 'oblique' with positive angle")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
Pass
assert_equals("400", "400", "Font shorthand expected weight: 'oblique' with positive angle")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:61:17)
Pass
assert_equals("24px", "24px", "Font shorthand expected size: 'oblique' with positive angle")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:62:17)
PassFont shorthand: 'oblique' with negative angle
Asserts run
Pass
assert_equals(true, true, "Font shorthand: 'oblique' with negative angle")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Pass
assert_equals("oblique -45deg", "oblique -45deg", "Font shorthand expected style: 'oblique' with negative angle")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
Pass
assert_equals("400", "400", "Font shorthand expected weight: 'oblique' with negative angle")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:61:17)
Pass
assert_equals("24px", "24px", "Font shorthand expected size: 'oblique' with negative angle")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:62:17)
FailFont shorthand: 'oblique' without slant angleassert_equals: Font shorthand expected style: 'oblique' without slant angle expected "oblique" but got "italic"
    at Test.<anonymous> (http://wpt.live/css/css-fonts/variations/font-shorthand.html:60:17)
    at Test.step (http://wpt.live/resources/testharness.js:2638:25)
    at test (http://wpt.live/resources/testharness.js:633:30)
    at http://wpt.live/css/css-fonts/variations/font-shorthand.html:50:13
    at Array.forEach (<anonymous>)
Asserts run
Pass
assert_equals(true, true, "Font shorthand: 'oblique' without slant angle")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Fail
assert_equals("italic", "oblique", "Font shorthand expected style: 'oblique' without slant angle")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
PassFont shorthand: 'oblique' with positive angle, value out of range
Asserts run
Pass
assert_equals(false, false, "Font shorthand: 'oblique' with positive angle, value out of range")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Pass
assert_equals("normal", "normal", "Font shorthand expected style: 'oblique' with positive angle, value out of range")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
Pass
assert_equals("400", "400", "Font shorthand expected weight: 'oblique' with positive angle, value out of range")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:61:17)
Pass
assert_equals("16px", "16px", "Font shorthand expected size: 'oblique' with positive angle, value out of range")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:62:17)
PassFont shorthand: 'oblique' with negative angle, value out of range
Asserts run
Pass
assert_equals(false, false, "Font shorthand: 'oblique' with negative angle, value out of range")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Pass
assert_equals("normal", "normal", "Font shorthand expected style: 'oblique' with negative angle, value out of range")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
Pass
assert_equals("400", "400", "Font shorthand expected weight: 'oblique' with negative angle, value out of range")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:61:17)
Pass
assert_equals("16px", "16px", "Font shorthand expected size: 'oblique' with negative angle, value out of range")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:62:17)
FailFont shorthand: 'oblique' followed by valid small weightassert_equals: Font shorthand expected style: 'oblique' followed by valid small weight expected "oblique" but got "italic"
    at Test.<anonymous> (http://wpt.live/css/css-fonts/variations/font-shorthand.html:60:17)
    at Test.step (http://wpt.live/resources/testharness.js:2638:25)
    at test (http://wpt.live/resources/testharness.js:633:30)
    at http://wpt.live/css/css-fonts/variations/font-shorthand.html:50:13
    at Array.forEach (<anonymous>)
Asserts run
Pass
assert_equals(true, true, "Font shorthand: 'oblique' followed by valid small weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Fail
assert_equals("italic", "oblique", "Font shorthand expected style: 'oblique' followed by valid small weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
FailFont shorthand: 'oblique' followed by valid large weightassert_equals: Font shorthand expected style: 'oblique' followed by valid large weight expected "oblique" but got "italic"
    at Test.<anonymous> (http://wpt.live/css/css-fonts/variations/font-shorthand.html:60:17)
    at Test.step (http://wpt.live/resources/testharness.js:2638:25)
    at test (http://wpt.live/resources/testharness.js:633:30)
    at http://wpt.live/css/css-fonts/variations/font-shorthand.html:50:13
    at Array.forEach (<anonymous>)
Asserts run
Pass
assert_equals(true, true, "Font shorthand: 'oblique' followed by valid large weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Fail
assert_equals("italic", "oblique", "Font shorthand expected style: 'oblique' followed by valid large weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
PassFont shorthand: 'oblique' with positive angle followed by valid weight
Asserts run
Pass
assert_equals(true, true, "Font shorthand: 'oblique' with positive angle followed by valid weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Pass
assert_equals("oblique 45deg", "oblique 45deg", "Font shorthand expected style: 'oblique' with positive angle followed by valid weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
Pass
assert_equals("500", "500", "Font shorthand expected weight: 'oblique' with positive angle followed by valid weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:61:17)
Pass
assert_equals("24px", "24px", "Font shorthand expected size: 'oblique' with positive angle followed by valid weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:62:17)
PassFont shorthand: 'oblique' with negative angle followed by valid weight
Asserts run
Pass
assert_equals(true, true, "Font shorthand: 'oblique' with negative angle followed by valid weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Pass
assert_equals("oblique -45deg", "oblique -45deg", "Font shorthand expected style: 'oblique' with negative angle followed by valid weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
Pass
assert_equals("500", "500", "Font shorthand expected weight: 'oblique' with negative angle followed by valid weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:61:17)
Pass
assert_equals("24px", "24px", "Font shorthand expected size: 'oblique' with negative angle followed by valid weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:62:17)
FailFont shorthand: 'oblique' followed by valid calc() weightassert_equals: Font shorthand expected style: 'oblique' followed by valid calc() weight expected "oblique" but got "italic"
    at Test.<anonymous> (http://wpt.live/css/css-fonts/variations/font-shorthand.html:60:17)
    at Test.step (http://wpt.live/resources/testharness.js:2638:25)
    at test (http://wpt.live/resources/testharness.js:633:30)
    at http://wpt.live/css/css-fonts/variations/font-shorthand.html:50:13
    at Array.forEach (<anonymous>)
Asserts run
Pass
assert_equals(true, true, "Font shorthand: 'oblique' followed by valid calc() weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Fail
assert_equals("italic", "oblique", "Font shorthand expected style: 'oblique' followed by valid calc() weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
PassFont shorthand: 'oblique' with angle followed by valid calc() weight
Asserts run
Pass
assert_equals(true, true, "Font shorthand: 'oblique' with angle followed by valid calc() weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Pass
assert_equals("oblique 30deg", "oblique 30deg", "Font shorthand expected style: 'oblique' with angle followed by valid calc() weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
Pass
assert_equals("500", "500", "Font shorthand expected weight: 'oblique' with angle followed by valid calc() weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:61:17)
Pass
assert_equals("24px", "24px", "Font shorthand expected size: 'oblique' with angle followed by valid calc() weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:62:17)
FailFont shorthand: 'oblique' followed by a to-be-clamped calc() weightassert_equals: Font shorthand expected style: 'oblique' followed by a to-be-clamped calc() weight expected "oblique" but got "italic"
    at Test.<anonymous> (http://wpt.live/css/css-fonts/variations/font-shorthand.html:60:17)
    at Test.step (http://wpt.live/resources/testharness.js:2638:25)
    at test (http://wpt.live/resources/testharness.js:633:30)
    at http://wpt.live/css/css-fonts/variations/font-shorthand.html:50:13
    at Array.forEach (<anonymous>)
Asserts run
Pass
assert_equals(true, true, "Font shorthand: 'oblique' followed by a to-be-clamped calc() weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Fail
assert_equals("italic", "oblique", "Font shorthand expected style: 'oblique' followed by a to-be-clamped calc() weight")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
FailFont shorthand: calc() weight folowed by 'oblique'assert_equals: Font shorthand expected style: calc() weight folowed by 'oblique' expected "oblique" but got "italic"
    at Test.<anonymous> (http://wpt.live/css/css-fonts/variations/font-shorthand.html:60:17)
    at Test.step (http://wpt.live/resources/testharness.js:2638:25)
    at test (http://wpt.live/resources/testharness.js:633:30)
    at http://wpt.live/css/css-fonts/variations/font-shorthand.html:50:13
    at Array.forEach (<anonymous>)
Asserts run
Pass
assert_equals(true, true, "Font shorthand: calc() weight folowed by 'oblique'")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Fail
assert_equals("italic", "oblique", "Font shorthand expected style: calc() weight folowed by 'oblique'")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
PassFont shorthand: calc() weight folowed by 'oblique' and slant angle
Asserts run
Pass
assert_equals(true, true, "Font shorthand: calc() weight folowed by 'oblique' and slant angle")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)
Pass
assert_equals("oblique 45deg", "oblique 45deg", "Font shorthand expected style: calc() weight folowed by 'oblique' and slant angle")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:60:17)
Pass
assert_equals("500", "500", "Font shorthand expected weight: calc() weight folowed by 'oblique' and slant angle")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:61:17)
Pass
assert_equals("24px", "24px", "Font shorthand expected size: calc() weight folowed by 'oblique' and slant angle")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:62:17)
FailFont shorthand: To-be-clamped calc() weight folowed by 'oblique' and slant angleassert_equals: Font shorthand: To-be-clamped calc() weight folowed by 'oblique' and slant angle expected true but got false
    at Test.<anonymous> (http://wpt.live/css/css-fonts/variations/font-shorthand.html:51:17)
    at Test.step (http://wpt.live/resources/testharness.js:2638:25)
    at test (http://wpt.live/resources/testharness.js:633:30)
    at http://wpt.live/css/css-fonts/variations/font-shorthand.html:50:13
    at Array.forEach (<anonymous>)
Asserts run
Fail
assert_equals(false, true, "Font shorthand: To-be-clamped calc() weight folowed by 'oblique' and slant angle")
    at Test.<anonymous> ( /css/css-fonts/variations/font-shorthand.html:51:17)