Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/dom/partial-updates/tentative/template-contentmethod-invalid.html - WPT Dashboard Interop Dashboard
<!DOCTYPE HTML>
<meta charset="utf-8" />
<title>HTML partial updates: invalid contentmethod</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<template contentmethod="invalid">New content</template>
<script>
test(() => {
assert_not_equals(document.querySelector("template[contentmethod=invalid]"), null);
}, "<template contentmethod> with an invalid contentmethod should attach");
</script>