mirror of
https://github.com/servo/servo.git
synced 2025-08-30 09:38:19 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
19
tests/wpt/css-tests/resources/apisample2.htm
Normal file
19
tests/wpt/css-tests/resources/apisample2.htm
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Sample HTML5 API Tests</title>
|
||||
</head>
|
||||
<body onload="load_test_attr.done()">
|
||||
<h1>Sample HTML5 API Tests</h1>
|
||||
<p>There should be two results</p>
|
||||
<div id="log"></div>
|
||||
<script src="testharness.js"></script>
|
||||
<script src="testharnessreport.js"></script>
|
||||
<script>
|
||||
setup({explicit_done:true})
|
||||
test(function() {assert_true(true)}, "Test defined before onload");
|
||||
|
||||
onload = function() {test(function (){assert_true(true)}, "Test defined after onload");
|
||||
done();
|
||||
}
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue