Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 2 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /svg/styling/vector-effect-invalid.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>vector-effect test: parsing vector-effect with invalid values</title>
<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");
test_invalid_value("vector-effect", "non-scaling-stroke viewport");
test_invalid_value("vector-effect", "non-scaling-stroke screen");
</script>
</body>
</html>