Update web-platform-tests to revision 345300fad3945a5f1441fb2b2001109ca48f36e8

This commit is contained in:
WPT Sync Bot 2019-02-08 20:38:29 -05:00
parent 71ba247942
commit 05db47be0f
109 changed files with 2576 additions and 1228 deletions

View file

@ -13,7 +13,7 @@
var mtext = document.getElementsByClassName("cl");
test(function() {
assert_equals(mtext.length, 3);
var mtext_ref = document.body.firstElementChild.firstElementChild;
var mtext_ref = document.body.lastElementChild.firstElementChild;
mtext_ref = mtext_ref.nextElementSibling.nextElementSibling
assert_equals(mtext[0], mtext_ref);
mtext_ref = mtext_ref.nextElementSibling.nextElementSibling;
@ -26,6 +26,7 @@
</script>
</head>
<body>
<div id="log"></div>
<math>
<mtext class="cl_"></mtext>
<mtext class="c"></mtext>

View file

@ -70,6 +70,7 @@
</style>
</head>
<body>
<div id="log"></div>
<div id="content">
<span id="before_block" class="square"></span>
<math display="block"><mspace id="mspace_block" width="50px" height="50px"/></math>

View file

@ -22,12 +22,12 @@
<div style="width: 150px; height: 150px; overflow: hidden">
<math>
<mrow id="link" href="#target">
<mspace id="space" width="150px" height="150px" mathbackground="red"/>
<mspace id="space" width="150px" height="150px" style="background: red"/>
</mrow>
</math>
<div style="height: 500px;"></div>
<math id="target">
<mspace width="150px" height="150px" mathbackground="green"/>
<mspace width="150px" height="150px" style="background: green"/>
</math>
</div>

View file

@ -24,14 +24,14 @@
<mrow href="#target">
<mrow>
<mrow>
<mspace id="space" width="150px" height="150px" mathbackground="red"/>
<mspace id="space" width="150px" height="150px" style="background: red"/>
</mrow>
</mrow>
</mrow>
</math>
<div style="height: 500px;"></div>
<math id="target">
<mspace width="150px" height="150px" mathbackground="green"/>
<mspace width="150px" height="150px" style="background: green"/>
</math>
</div>

View file

@ -12,13 +12,14 @@
window.addEventListener("DOMContentLoaded", function() {
var mtext = document.getElementById("MTEXT");
test(function() {
assert_equals(mtext, document.body.firstElementChild.lastElementChild);
assert_equals(mtext, document.body.lastElementChild.lastElementChild);
}, "getElementById()");
done();
});
</script>
</head>
<body>
<div id="log"></div>
<math>
<mtext id="MTEXT_"></mtext>
<mtext id="MTEX"></mtext>