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

Side by Side Diff: Tools/TestWebKitAPI/Tests/WebKit2/file-with-anchor.html

Issue 13602008: Remove non-chromium code from TestWebKitAPI (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4 function clickLink()
5 {
6 var evt = document.createEvent("MouseEvent");
7 evt.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, fals e, false, false, 0, null);
8 var link = document.querySelector('a');
9 link.dispatchEvent(evt);
10 }
11 </script>
12 </head>
13 <body>
14 <a href="#anchor">Link to anchor</a><br>
15 In between.<br>
16 <span id="anchor">Anchor</span><br>
17 After the anchor.<br>
18 </body>
19 </html>
OLDNEW
« no previous file with comments | « Tools/TestWebKitAPI/Tests/WebKit2/execCopy.html ('k') | Tools/TestWebKitAPI/Tests/WebKit2/find.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698