summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/document-metadata/the-meta-element/http-equiv-and-name-2.html
blob: b73013a341b9774dc3ad1f3154df47e365a816be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!doctype html>
<title>Setting both http-equiv and name attributes on a meta element</title>
<meta http-equiv=content-language name=color-scheme content=de-DE>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
  // We don't attempt to test the color-scheme here because "de-DE" is not a valid
  // value for it.

  test(() => {
    assert_equals(document.querySelector(":root:lang(de-DE)"), document.documentElement);
  }, "<meta> set the content-language to de-DE");
</script>