mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
parent
9aa1b1e408
commit
35c74aecc2
11290 changed files with 92400 additions and 49214 deletions
|
@ -4,16 +4,16 @@
|
|||
<link href="mailto:neils.christoffersen@gmail.com" rel="author" title="Neils Christoffersen">
|
||||
<link href="http://www.w3.org/TR/cssom-view/#extensions-to-the-document-interface" rel="help">
|
||||
<meta content="dom" name="flags">
|
||||
<meta content="elementFromPoint returns correct element" name="assert">
|
||||
<meta content="elementFromPoint returns correct element" name="assert">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<style>
|
||||
#targetDiv {
|
||||
position: absolute;
|
||||
top: 10;
|
||||
left: 10;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
@ -24,10 +24,11 @@
|
|||
</div>
|
||||
<script>
|
||||
var element = document.elementFromPoint(15, 15);
|
||||
|
||||
|
||||
test ( function() {
|
||||
assert_equals(element.id, "targetDiv", "elementFromPoint didn't return the correct element");
|
||||
});
|
||||
</script>
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue