mirror of
https://github.com/servo/servo.git
synced 2025-06-28 11:03:39 +01:00
Update web-platform-tests to revision 3840f46213d9a991acc9288e3863530f7502c05e
This commit is contained in:
parent
347d8bdf72
commit
141ba90a6d
58 changed files with 1507 additions and 883 deletions
|
@ -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> <span id=target> </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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue