| Index: third_party/WebKit/LayoutTests/imported/wpt/mathml/relations/html5-tree/href-click-1.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/mathml/relations/html5-tree/href-click-1.html b/third_party/WebKit/LayoutTests/imported/wpt/mathml/relations/html5-tree/href-click-1.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e44df189d78513e4f47132e58708d720a3720e6f
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/mathml/relations/html5-tree/href-click-1.html
|
| @@ -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>
|
|
|