Status: PASS | Duration: 51ms | Subtests: 4/4 | 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['flex-shrink'] = "1" should set the property value | PASS | |
| e.style['flex-shrink'] = "23.4e5" should set the property value | PASS | |
| e.style['flex-shrink'] = "+.678E9" should set the property value | PASS | |
| e.style['flex-shrink'] = ".0" should set the property value | PASS |
/css/css-flexbox/parsing/flex-shrink-valid.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>CSS Flexible Box Layout Module Level 1: parsing flex-shrink with valid values</title> <link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.org"> <link rel="help" href="https://drafts.csswg.org/css-flexbox/#propdef-flex-shrink"> <meta name="assert" content="flex-shrink supports the full grammar '<number>'."> <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("flex-shrink", "1"); test_valid_value("flex-shrink", "23.4e5", ["2.34e+06", "2.34e+006", "2340000"]); test_valid_value("flex-shrink", "+.678E9", ["6.78e+08", "6.78e+008", "678000000"]); test_valid_value("flex-shrink", ".0", "0"); </script> </body> </html>