Status: PASS | Duration: 55ms | Subtests: 5/5 | 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['tab-size'] = "0" should set the property value | PASS | |
| e.style['tab-size'] = "2.5" should set the property value | PASS | |
| e.style['tab-size'] = "0px" should set the property value | PASS | |
| e.style['tab-size'] = "10px" should set the property value | PASS | |
| e.style['tab-size'] = "calc(2em + 3ex)" should set the property value | PASS |
/css/css-text/parsing/tab-size-valid.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>CSS Text Module Test: parsing tab-size with valid values</title> <link rel="help" href="https://www.w3.org/TR/css-text-3/#propdef-tab-size"> <meta name="assert" content="tab-size supports the full grammar '<number> | <length>'."> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/css/support/parsing-testcommon.js"></script> </head> <body> <script> test_valid_value("tab-size", "0"); test_valid_value("tab-size", "2.5"); test_valid_value("tab-size", "0px"); test_valid_value("tab-size", "10px"); test_valid_value("tab-size", "calc(2em + 3ex)"); </script> </body> </html>