blob: 9bd156d437a3d2654f17985613f02e4814a6e7e1 [file] [log] [blame]
Shorthand test
PASS Font shorthand: Font size specified as calc()
PASS Font shorthand: Font weight specified as number
PASS Font shorthand: Font weight specified as number, value less than 1
PASS Font shorthand: Font weight specified as number, value greater than 1000
PASS Font shorthand: Font weight specified as calc()
FAIL Font shorthand: Font weight specified as calc(), value smaller than 1 assert_equals: Font shorthand expected weight: Font weight specified as calc(), value smaller than 1 expected "1" but got "0.25"
PASS Font shorthand: Font weight specified as calc(), value greater than 1000
PASS Font shorthand: 'oblique' with positive angle
PASS Font shorthand: 'oblique' with negative angle
PASS Font shorthand: 'oblique' without slant angle
FAIL Font shorthand: 'oblique' with positive angle, value out of range assert_equals: Font shorthand: 'oblique' with positive angle, value out of range expected false but got true
FAIL Font shorthand: 'oblique' with negative angle, value out of range assert_equals: Font shorthand: 'oblique' with negative angle, value out of range expected false but got true
PASS Font shorthand: 'oblique' followed by valid small weight
PASS Font shorthand: 'oblique' followed by valid large weight
PASS Font shorthand: 'oblique' with positive angle followed by valid weight
PASS Font shorthand: 'oblique' with negative angle followed by valid weight
PASS Font shorthand: 'oblique' followed by valid calc() weight
PASS Font shorthand: 'oblique' with angle followed by valid calc() weight
PASS Font shorthand: 'oblique' followed by a to-be-clamped calc() weight
PASS Font shorthand: calc() weight folowed by 'oblique'
PASS Font shorthand: calc() weight folowed by 'oblique' and slant angle
PASS Font shorthand: To-be-clamped calc() weight folowed by 'oblique' and slant angle