Status: FAIL | Duration: 52ms | Subtests: 0/8 | Open test on wpt.live | wpt.fyi
Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)
| Subtest | Status | Message |
|---|---|---|
| e.style['initial-letter'] = "normal" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['initial-letter'] = "1.23" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['initial-letter'] = "1.23 456" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['initial-letter'] = "1.23 calc(45.6)" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['initial-letter'] = "1.23 drop" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['initial-letter'] = "1.23 raise" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['initial-letter'] = "drop 1.23" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['initial-letter'] = "raise 1.23" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
/css/css-inline/initial-letter/initial-letter-valid.html
<!DOCTYPE html> <title>Tests parsing of the initial-letter property</title> <link rel="author" title="Google LLC" href="https://www.google.com/"> <link rel="help" href="https://drafts.csswg.org/css-inline-3/#sizing-drop-initials"> <meta name="assert" content="initial-letter supports the full grammar 'normal | <number [1,∞]> <integer [1,∞]> | <number [1,∞]> && [ drop | raise ]?'."> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/css/support/parsing-testcommon.js"></script> <script> test_valid_value('initial-letter', 'normal'); test_valid_value('initial-letter', '1.23'); test_valid_value('initial-letter', '1.23 456'); test_valid_value('initial-letter', '1.23 calc(45.6)'); test_valid_value('initial-letter', '1.23 drop'); test_valid_value('initial-letter', '1.23 raise'); test_valid_value('initial-letter', 'drop 1.23', '1.23 drop'); test_valid_value('initial-letter', 'raise 1.23', '1.23 raise'); </script>