Revision 7134e5a30bd4c5a033061628c32c80c52e4f49fb authored by James Graham on 28 February 2017, 14:25:01 UTC, committed by James Graham on 28 February 2017, 14:25:01 UTC
1 parent 82dd70b
Raw File
innerhtml-06.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>
back to top