Status: FAIL | Duration: 55ms | Subtests: 0/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['max-lines'] = "auto" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['max-lines'] = "1" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['max-lines'] = "6" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['max-lines'] = "7 auto" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['max-lines'] = "auto 8" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
/css/css-overflow/parsing/max-lines-valid.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>CSS Overflow: parsing max-lines with valid values</title> <link rel="help" href="https://drafts.csswg.org/css-overflow-4/#propdef-max-lines"> <meta name="assert" content="max-lines supports the full grammar 'none | <integer>'."> <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("max-lines", 'auto'); test_valid_value("max-lines", '1'); test_valid_value("max-lines", '6'); test_valid_value("max-lines", '7 auto'); test_valid_value("max-lines", 'auto 8', '8 auto'); </script> </body> </html>