Status: PASS | Duration: 58ms | Subtests: 10/10 | 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['vector-effect'] = "none none" should not set the property value | PASS | |
| e.style['vector-effect'] = "none non-scaling-stroke" should not set the property value | PASS | |
| e.style['vector-effect'] = "non-scaling-stroke viewport screen" should not set the property value | PASS | |
| e.style['vector-effect'] = "none viewport" should not set the property value | PASS | |
| e.style['vector-effect'] = "none screen" should not set the property value | PASS | |
| e.style['vector-effect'] = "viewport" should not set the property value | PASS | |
| e.style['vector-effect'] = "screen" should not set the property value | PASS | |
| e.style['vector-effect'] = "screen non-scaling-stroke" should not set the property value | PASS | |
| e.style['vector-effect'] = "non-scaling-stroke viewport" should not set the property value | PASS | |
| e.style['vector-effect'] = "non-scaling-stroke screen" should not set the property value | PASS |
/svg/styling/vector-effect-invalid.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>vector-effect test: parsing vector-effect with invalid values</title> <link rel="help" href="https://www.w3.org/TR/SVG2/coords.html#VectorEffects"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/css/support/parsing-testcommon.js"></script> </head> <body> <script> test_invalid_value("vector-effect", "none none"); test_invalid_value("vector-effect", "none non-scaling-stroke"); test_invalid_value("vector-effect", "non-scaling-stroke viewport screen"); test_invalid_value("vector-effect", "none viewport"); test_invalid_value("vector-effect", "none screen"); test_invalid_value("vector-effect", "viewport"); test_invalid_value("vector-effect", "screen"); test_invalid_value("vector-effect", "screen non-scaling-stroke"); // The following were removed by https://github.com/w3c/svgwg/issues/582 test_invalid_value("vector-effect", "non-scaling-stroke viewport"); test_invalid_value("vector-effect", "non-scaling-stroke screen"); </script> </body> </html>