Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /html/semantics/document-metadata/the-meta-element/pragma-directives/http-equiv-lang-whitespace-after-comma.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>Comma should always make content-language invalid, even if it has whitespace before</title>
<meta http-equiv=content-language content="de-DE ,nl-NL">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(() => {
assert_equals(document.querySelector(":root:lang(de-DE)"), null);
}, "Comma should always make content-language invalid, even if it has whitespace before");
</script>