blob: 81e9c57b5ce322154907bf773065c03674ce82b6 [file] [log] [blame]
James Graham98ea7ae2016-05-09 21:36:501<!DOCTYPE html>
2<html>
3<head>
4<title>math in html: innerHTML</title>
5<script src="/resources/testharness.js"></script>
6<script src="/resources/testharnessreport.js"></script>
7</head>
8<body>
9<h1>math in html: innerHTML</h1>
10<div id="log"></div>
11<div style="display:none">
12<div id="d1"><math><mi>x</mi></math></div>
13</div>
14<script>
15test(function() {
16 var math = document.getElementById("d1").firstChild;
17 assert_equals(math.innerHTML, "<mi>x</mi>");
18},"innerHTML defined on math.");
19</script>