blob: 87f94502c0baf64c4f5f8677c9ea581b5ff0cff3 [file] [log] [blame]
This is a testharness.js-based test.
PASS Can set 'font-weight' to CSS-wide keywords
PASS Can set 'font-weight' to var() references
PASS Can set 'font-weight' to the 'normal' keyword
PASS Can set 'font-weight' to the 'bold' keyword
PASS Can set 'font-weight' to the 'bolder' keyword
PASS Can set 'font-weight' to the 'lighter' keyword
FAIL Can set 'font-weight' to a number assert_approx_equals: expected -3.14 +/- 0.000001 but got -3
PASS Setting 'font-weight' to a length throws TypeError
PASS Setting 'font-weight' to a percent throws TypeError
PASS Setting 'font-weight' to a time throws TypeError
PASS Setting 'font-weight' to an angle throws TypeError
PASS Setting 'font-weight' to a flexible length throws TypeError
PASS Setting 'font-weight' to a position throws TypeError
PASS Setting 'font-weight' to a URL throws TypeError
PASS Setting 'font-weight' to a transform throws TypeError
Harness: the test ran to completion.