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

Side by Side Diff: third_party/WebKit/LayoutTests/html/details_summary/details-remove-summary-3-and-click.html

Issue 2670273002: Move tests for DETAILS and SUMMARY elements to html/details_summary/. (Closed)
Patch Set: Created 3 years, 10 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
1 <script> 1 <script>
2 2
3 var runTests = function () { 3 var runTests = function () {
4 document.getElementById("dt1").removeChild(document.getElementById("summary2 ")); 4 document.getElementById("dt1").removeChild(document.getElementById("summary2 "));
5 5
6 if (!window.testRunner || !window.eventSender) 6 if (!window.testRunner || !window.eventSender)
7 return; 7 return;
8 eventSender.mouseMoveTo(2, 2); 8 eventSender.mouseMoveTo(2, 2);
9 eventSender.mouseDown(); 9 eventSender.mouseDown();
10 eventSender.mouseUp(); 10 eventSender.mouseUp();
11 }; 11 };
12 12
13 </script> 13 </script>
14 14
15 <body style="margin: 0px" onload="runTests()"> 15 <body style="margin: 0px" onload="runTests()">
16 <details id="dt1"> 16 <details id="dt1">
17 <summary id="summary1">summary 1</summary> 17 <summary id="summary1">summary 1</summary>
18 <summary id="summary2">summary 2</summary> 18 <summary id="summary2">summary 2</summary>
19 </details> 19 </details>
20 </body> 20 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698