mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Update web-platform-tests to revision e8bfc205e36ad699601212cd50083870bad9a75d
This commit is contained in:
parent
65dd6d4340
commit
ccdb0a3458
1428 changed files with 118036 additions and 9786 deletions
|
@ -0,0 +1,34 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>href click</title>
|
||||
<link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#SS1.SSS2">
|
||||
<link rel="match" href="href-click-1-ref.html"/>
|
||||
<meta name="assert" content="Verify that a click on a link moves to the target.">
|
||||
<script type="text/javascript">
|
||||
function test()
|
||||
{
|
||||
var event = new MouseEvent('click', {bubbles: true, cancelable: true});
|
||||
document.getElementById('link').dispatchEvent(event);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="test()">
|
||||
|
||||
<p>This test passes if you see a green square.</p>
|
||||
|
||||
<div style="width: 150px; height: 150px; overflow: hidden">
|
||||
<math>
|
||||
<mrow id="link" href="#target">
|
||||
<mspace id="space" width="150px" height="150px" mathbackground="red"/>
|
||||
</mrow>
|
||||
</math>
|
||||
<div style="height: 500px;"></div>
|
||||
<math id="target">
|
||||
<mspace width="150px" height="150px" mathbackground="green"/>
|
||||
</math>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue