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

Side by Side Diff: LayoutTests/fast/forms/parser-associated-form-removal.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> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 table { display: none; } 3 table { display: none; }
4 </style> 4 </style>
5 <script src="../js/resources/js-test-pre.js"></script> 5 <script src="../js/resources/js-test-pre.js"></script>
6 <table id="table1"> 6 <table id="table1">
7 <form> 7 <form>
8 <td><input></td> 8 <td><input></td>
9 </form> 9 </form>
10 </table> 10 </table>
(...skipping 11 matching lines...) Expand all
22 22
23 debug(''); 23 debug('');
24 debug('Removing a form and its associated element...'); 24 debug('Removing a form and its associated element...');
25 var table2 = document.getElementById('table2'); 25 var table2 = document.getElementById('table2');
26 table2.parentNode.removeChild(table2); 26 table2.parentNode.removeChild(table2);
27 shouldBeNonNull('table2.querySelector("input").form'); 27 shouldBeNonNull('table2.querySelector("input").form');
28 debug('...and then removing the form.'); 28 debug('...and then removing the form.');
29 table2.removeChild(table2.querySelector('form')); 29 table2.removeChild(table2.querySelector('form'));
30 shouldBeNull('table2.querySelector("input").form'); 30 shouldBeNull('table2.querySelector("input").form');
31 </script> 31 </script>
32 <script src="../js/resources/js-test-post.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698