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

Side by Side Diff: third_party/WebKit/LayoutTests/html/details_summary/details-clone.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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 <script> 4 <script>
5 function runTest() 5 function runTest()
6 { 6 {
7 var targetDetails = document.getElementById("targetDetails"); 7 var targetDetails = document.getElementById("targetDetails");
8 var clonedDetails = targetDetails.cloneNode(true); 8 var clonedDetails = targetDetails.cloneNode(true);
9 document.body.appendChild(clonedDetails); 9 document.body.appendChild(clonedDetails);
10 var targetSummary = document.getElementById("targetSummary"); 10 var targetSummary = document.getElementById("targetSummary");
(...skipping 12 matching lines...) Expand all
23 } 23 }
24 </script> 24 </script>
25 <body onload="runTest()"> 25 <body onload="runTest()">
26 <p id="description">Test to clone details and summary elements</p> 26 <p id="description">Test to clone details and summary elements</p>
27 <div id="console"></div> 27 <div id="console"></div>
28 <details id="targetDetails" open> 28 <details id="targetDetails" open>
29 <summary id="targetSummary"></summary> 29 <summary id="targetSummary"></summary>
30 </details> 30 </details>
31 </body> 31 </body>
32 </html> 32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698