Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/mathml/relations/html5-tree/href-click-1.html

Issue 2425083003: Import wpt@4114c724042b41e257caab98f3eb23c143b50de4 (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8"/>
5 <title>href click</title>
6 <link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#S S1.SSS2">
7 <link rel="match" href="href-click-1-ref.html"/>
8 <meta name="assert" content="Verify that a click on a link moves to the target." >
9 <script type="text/javascript">
10 function test()
11 {
12 var event = new MouseEvent('click', {bubbles: true, cancelable: true});
13 document.getElementById('link').dispatchEvent(event);
14 }
15 </script>
16 </head>
17 <body onload="test()">
18
19 <p>This test passes if you see a green square.</p>
20
21 <div style="width: 150px; height: 150px; overflow: hidden">
22 <math>
23 <mrow id="link" href="#target">
24 <mspace id="space" width="150px" height="150px" mathbackground="red"/>
25 </mrow>
26 </math>
27 <div style="height: 500px;"></div>
28 <math id="target">
29 <mspace width="150px" height="150px" mathbackground="green"/>
30 </math>
31 </div>
32
33 </body>
34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698