Revision ef7fe9a35d808528f92f29b70e4b7ee273c75c85 authored by Anne van Kesteren on 04 April 2018, 17:04:57 UTC, committed by GitHub on 04 April 2018, 17:04:57 UTC
Tests suggested at https://github.com/w3c/web-platform-tests/issues/1851#issuecomment-378032606.

Co-Authored-By: Matt Menke <mmenke@google.com>
1 parent 48df374
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