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

@ -10,7 +10,7 @@
<body>
<p>Test passes if you see a green square.</p>
<div style="background: green; color: red; width: 200px; height: 200px;">
<math style="display: none;"><mspace width="200px" height="200px" mathbackground="red"/></math>
<math style="display: none;"><mspace width="200px" height="200px" style="background: red"/></math>
</div>
</body>
</html>

View file

@ -92,6 +92,7 @@
</script>
</head>
<body>
<div id="log"></div>
<math><mo id="math_default">&#x2AFF;</mo></math>
<math display="inline"><mo id="math_inline">&#x2AFF;</mo></math>
<math display="block"><mo id="math_block">&#x2AFF;</mo></math>

View file

@ -93,6 +93,7 @@
</script>
</head>
<body>
<div id="log"></div>
<p>
<math>
<mspace id="unitCm" width="2.54cm"/>
@ -154,6 +155,5 @@
<mpadded voffset="-012.345em"><mspace id="N10"/></mpadded>
</math>
</p>
<hr/>
</body>
</html>

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>