Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-content/parsing/quotes-valid.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Generated Content Module Level 3: Parsing `quotes`</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
</head>
<body>
<div id="target"></div>
<script>
test_valid_value("quotes", "none");
test_valid_value("quotes", "auto");
test_valid_value("quotes", "match-parent");
test_valid_value("quotes", "NONE", "none");
test_valid_value("quotes", "Auto", "auto");
test_valid_value("quotes", "Match-Parent", "match-parent");
test_valid_value("quotes", `"“" "”" "‘" "’"`);
test_valid_value("quotes", `"\u00AB\u2005" "\u2005\u00BB" "\u2039\u2005" "\u2005\u203A"`);
test_valid_value("quotes", `"\u00BB" ""`);
</script>
</body>
</html>