1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-06-11 19:08:36 +00:00
Files
UXP/testing/web-platform/tests/domparsing/innerhtml-06.html
T

20 lines
493 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>math in html: innerHTML</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<h1>math in html: innerHTML</h1>
<div id="log"></div>
<div style="display:none">
<div id="d1"><math><mi>x</mi></math></div>
</div>
<script>
test(function() {
var math = document.getElementById("d1").firstChild;
assert_equals(math.innerHTML, "<mi>x</mi>");
},"innerHTML defined on math.");
</script>