Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<!doctype html>
<meta charset="utf-8" />
<title>HTML partial updates - case-sensitive for parsed markers</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="placeholder"><?Start name="a"?><?ENd><?MARKER name="b"?><?marKER name="c"><?marker Name="d"><?marker name="E"><?marker name="f"></div>
<template for="a">a</template>
<template for="b">b</template>
<template for="c">c</template>
<template for="d">d</template>
<template for="e">e</template>
<template for="E">E</template>
<template for="f">f</template>
<script>
test(() => {
assert_equals(document.getElementById("placeholder").textContent, "Ef");
assert_equals(document.querySelectorAll("template[for]").length, 5);
}, "marker/end/start PI targets, attributes and their values are case-sensitive");
</script>