Update web-platform-tests to revision 3840f46213d9a991acc9288e3863530f7502c05e

This commit is contained in:
WPT Sync Bot 2019-06-06 12:17:06 +00:00
parent 347d8bdf72
commit 141ba90a6d
58 changed files with 1507 additions and 883 deletions

View file

@ -15,6 +15,7 @@
-->
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
#parent {
position: absolute;
@ -27,9 +28,13 @@
</style>
<div id=parent>&nbsp;&nbsp;<span id=target>&nbsp;&nbsp;</span></div>
<script>
test(
function() {
var e = document.elementFromPoint(125,25);
assert_equals(e.id,"target", "the element targeted by a hit on the ellipsis is the elided inline.");
}, "Checks hit testing on the ellipsis");
setup({explicit_done: true});
document.fonts.ready.then(()=> {
test(
function() {
var e = document.elementFromPoint(125,25);
assert_equals(e.id,"target", "the element targeted by a hit on the ellipsis is the elided inline.");
}, "Checks hit testing on the ellipsis");
done();
});
</script>