Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 6 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /css/css-text-decor/parsing/text-decoration-skip-spaces-valid.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text Decoration Test: Parsing text-decoration-skip-spaces with valid values</title>
<link rel="help" href="https://drafts.csswg.org/css-text-decor-4/#text-decoration-skip-spaces-property">
<meta name="assert" content="text-decoration-skip-spaces supports the full grammar 'none | all | [ start || end ]'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
<script>
test_valid_value("text-decoration-skip-spaces", "none");
test_valid_value("text-decoration-skip-spaces", "all");
test_valid_value("text-decoration-skip-spaces", "start");
test_valid_value("text-decoration-skip-spaces", "end");
test_valid_value("text-decoration-skip-spaces", "start end");
test_valid_value("text-decoration-skip-spaces", "end start", "start end");
</script>