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

Side by Side Diff: LayoutTests/fast/forms/form-image-access-by-name.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p id="description"></p> 7 <p id="description"></p>
8 8
9 <form> 9 <form>
10 <span id="testSpan"> 10 <span id="testSpan">
(...skipping 24 matching lines...) Expand all
35 35
36 // Of coruse, the new image should be accessible both ways. 36 // Of coruse, the new image should be accessible both ways.
37 shouldBeTrue("!!document.newImage"); 37 shouldBeTrue("!!document.newImage");
38 shouldBeTrue("!!form.newImage"); 38 shouldBeTrue("!!form.newImage");
39 39
40 // However, if you never access an image element by name it does not stick aroun d after being removed: 40 // However, if you never access an image element by name it does not stick aroun d after being removed:
41 span.innerHTML = "<img id='3' name='thirdImage'>"; 41 span.innerHTML = "<img id='3' name='thirdImage'>";
42 span.innerHTML = "<img id='4' name='fourthImage'>"; 42 span.innerHTML = "<img id='4' name='fourthImage'>";
43 shouldBeUndefined("form.thirdImage"); 43 shouldBeUndefined("form.thirdImage");
44 </script> 44 </script>
45 <script src="../js/resources/js-test-post.js"></script>
46 </body> 45 </body>
47 </html> 46 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/form-dirname-attribute.html ('k') | LayoutTests/fast/forms/form-input-named-arguments.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698