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

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

Powered by Google App Engine
This is Rietveld 408576698