http-equiv-and-name-2.html (543B)
1 <!doctype html> 2 <title>Setting both http-equiv and name attributes on a meta element</title> 3 <meta http-equiv=content-language name=color-scheme content=de-DE> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 <script> 7 // We don't attempt to test the color-scheme here because "de-DE" is not a valid 8 // value for it. 9 10 test(() => { 11 assert_equals(document.querySelector(":root:lang(de-DE)"), document.documentElement); 12 }, "<meta> set the content-language to de-DE"); 13 </script>