testing/web-platform/tests/html/syntax/parsing/quotes-in-meta.html
author Henri Sivonen <hsivonen@hsivonen.fi>
Fri, 14 Dec 2018 17:53:59 +0000
changeset 507655 d02d14a3dd6e172c4cc8efb5c749752d3893fc90
permissions -rw-r--r--
Bug 1469580 - Ignore charset= in <meta content> if followed by unmatched quote. r=mrbkap Differential Revision: https://phabricator.services.mozilla.com/D14410

<!doctype html>
<meta http-equiv="Content-Type" content='charset="windows-1251'>
<meta charset=windows-1250>
<title></title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<link rel=help href="https://html.spec.whatwg.org/#algorithm-for-extracting-a-character-encoding-from-a-meta-element">
<script>
test(function() {
    assert_equals(document.characterSet, "windows-1250");
});
</script>