Status: PASS | Duration: 53ms | Subtests: 6/6 | 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['forced-color-adjust'] = "auto auto" should not set the property value | PASS | |
| e.style['forced-color-adjust'] = "auto none" should not set the property value | PASS | |
| e.style['forced-color-adjust'] = "none none" should not set the property value | PASS | |
| e.style['forced-color-adjust'] = "none auto" should not set the property value | PASS | |
| e.style['forced-color-adjust'] = "1" should not set the property value | PASS | |
| e.style['forced-color-adjust'] = "default" should not set the property value | PASS |
/css/css-forced-color-adjust/parsing/forced-color-adjust-invalid.html
<!DOCTYPE html> <title>CSS Forced Color Adjust: parsing forced-color-adjust with invalid values</title> <link rel="help" href="https://www.w3.org/TR/css-color-adjust-1/#forced-color-adjust-prop"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/css/support/parsing-testcommon.js"></script> <script> test_invalid_value("forced-color-adjust", "auto auto"); test_invalid_value("forced-color-adjust", "auto none"); test_invalid_value("forced-color-adjust", "none none"); test_invalid_value("forced-color-adjust", "none auto"); test_invalid_value("forced-color-adjust", "1"); test_invalid_value("forced-color-adjust", "default"); </script>