summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ui/parsing/outline-valid-optional.html
blob: 8150ffa208eb8f4ee55508f3524e814cc6806dd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS UI Level 3: parsing outline with valid values</title>
<link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-ui-3/#outline">
<link rel="help" href="https://drafts.csswg.org/cssom/#serializing-css-values">
<meta name="assert" content="outline supports the full grammar '<outline-color> || <outline> || <outline>'.">
<meta name="assert" content="outline serializes in canonical order, with shortest possible serialization.">
<meta name="flags" content="may">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
</head>
<body>
<script>
// Conformant UAs may ignore the invert value on platforms that do not support color inversion of the pixels on the screen.
test_valid_value("outline", "invert");
test_valid_value("outline", "invert dotted 1px");
</script>
</body>
</html>