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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/html/details-add-summary-6-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
(Empty)
1 <script>
2
3 var createNewElement = function (tag, id, text) {
4 var result = document.createElement(tag);
5 result.setAttribute('id',id);
6 result.innerHTML = text;
7 return result;
8 };
9
10 var runTests = function () {
11 document.getElementById("dt1").appendChild(createNewElement("summary", "new1 ", "new 1"));
12
13 if (!window.testRunner || !window.eventSender)
14 return;
15 eventSender.mouseMoveTo(2, 2);
16 eventSender.mouseDown();
17 eventSender.mouseUp();
18 };
19
20 </script>
21
22 <body style="margin: 0px" onload="runTests()">
23 <details open id="dt1"></details>
24 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698