Status: PASS | Duration: 89ms | Subtests: 35/35 | 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['opacity'] = "progress()" should not set the property value | PASS | |
| e.style['opacity'] = "progress( )" should not set the property value | PASS | |
| e.style['opacity'] = "progress(,)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(1, )" should not set the property value | PASS | |
| e.style['opacity'] = "progress(1)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(50%, 0)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(0, 1,)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(from,)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(from 1, 0)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(from 1, 0 1)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(from 1 0)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(0,, 0)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(to,,,,)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(0,,, 10,, 200)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(0,,, 10,,, 200)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(0,, 10,, 200)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(0 from 10 to 200)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(no-clamp)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(no-clamp 1)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(no-clamp 1, 0)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(no-clamp 1 0 1)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(no-clamp 1, 0 1)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(no-clamp, 1, 0 1)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(1 no-clamp, 0, 1)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(1, 0, 1 no-clamp)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(5%, 0, 8" should not set the property value | PASS | |
| e.style['opacity'] = "progress(5%, 0deg, 8deg" should not set the property value | PASS | |
| e.style['opacity'] = "progress(5, 0deg, 8deg" should not set the property value | PASS | |
| e.style['opacity'] = "progress(5, 0%, 8deg" should not set the property value | PASS | |
| e.style['opacity'] = "progress(5, 0%, sign(10px)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(5%, 0px, 10px" should not set the property value | PASS | |
| e.style['letter-spacing'] = "calc(1px * progress(10deg, 0, 10))" should not set the property value | PASS | |
| e.style['letter-spacing'] = "calc(1px * progress(10, 0px, 10))" should not set the property value | PASS | |
| e.style['opacity'] = "progress(10px * 10px, 10px * 10px, 10px * 10px)" should not set the property value | PASS | |
| e.style['opacity'] = "progress(10px, 10px * 10px, 10px * 10px)" should not set the property value | PASS |
/css/css-values/progress-invalid.html
<!DOCTYPE html> <link rel="help" href="https://drafts.csswg.org/css-values-5/#progress"> <link rel="author" title="sakhapov@chromuim.org"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="../support/parsing-testcommon.js"></script> <script> function test_invalid_number(value) { test_invalid_value('opacity', value); } function test_invalid_length(value) { // 'letter-spacing' accepts <length> only, not <percentage> or any mixes. test_invalid_value('letter-spacing', value); } // Syntax checking test_invalid_number('progress()'); test_invalid_number('progress( )'); test_invalid_number('progress(,)'); test_invalid_number('progress(1, )'); test_invalid_number('progress(1)'); test_invalid_number('progress(50%, 0)'); test_invalid_number('progress(0, 1,)'); test_invalid_number('progress(from,)'); test_invalid_number('progress(from 1, 0)'); test_invalid_number('progress(from 1, 0 1)'); test_invalid_number('progress(from 1 0)'); test_invalid_number('progress(0,, 0)'); test_invalid_number('progress(to,,,,)'); test_invalid_number('progress(0,,, 10,, 200)'); test_invalid_number('progress(0,,, 10,,, 200)'); test_invalid_number('progress(0,, 10,, 200)'); test_invalid_number('progress(0 from 10 to 200)'); test_invalid_number('progress(no-clamp)'); test_invalid_number('progress(no-clamp 1)'); test_invalid_number('progress(no-clamp 1, 0)'); test_invalid_number('progress(no-clamp 1 0 1)'); test_invalid_number('progress(no-clamp 1, 0 1)'); test_invalid_number('progress(no-clamp, 1, 0 1)'); test_invalid_number('progress(1 no-clamp, 0, 1)'); test_invalid_number('progress(1, 0, 1 no-clamp)'); // General tests test_invalid_number('progress(5%, 0, 8'); test_invalid_number('progress(5%, 0deg, 8deg'); test_invalid_number('progress(5, 0deg, 8deg'); test_invalid_number('progress(5, 0%, 8deg'); test_invalid_number('progress(5, 0%, sign(10px)'); test_invalid_number('progress(5%, 0px, 10px'); test_invalid_length('calc(1px * progress(10deg, 0, 10))'); test_invalid_length('calc(1px * progress(10, 0px, 10))'); test_invalid_number('progress(10px * 10px, 10px * 10px, 10px * 10px)'); test_invalid_number('progress(10px, 10px * 10px, 10px * 10px)'); </script>