mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Update web-platform-tests to revision 697b971060b2d475a73c1c3755232a4674d61cf5
This commit is contained in:
parent
f60598909a
commit
b97474fbba
236 changed files with 4817 additions and 893 deletions
19
tests/wpt/web-platform-tests/domparsing/innerhtml-06.html
Normal file
19
tests/wpt/web-platform-tests/domparsing/innerhtml-06.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!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>
|
Loading…
Add table
Add a link
Reference in a new issue