blob: 5a441ef4b261f98d9339d3f6bb66a8fd2b9d6d81 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Color Level 4: Parsing and serialization of colors using invalid RGB notation</title>
<link rel="help" href="https://drafts.csswg.org/css-color-4/#rgb-functions">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#resolving-sRGB-values">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#serializing-sRGB-values">
<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("color", "rgb(none, none, none)");
test_invalid_value("color", "rgba(none, none, none, none)");
test_invalid_value("color", "rgb(128, 0, none)");
test_invalid_value("color", "rgb(255, 255, 255, none)");
</script>
</body>
</html>