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

Side by Side Diff: LayoutTests/fast/forms/radio/radio-group-in-detached-form.html

Issue 58533003: Move fast/js/resources files to resources. (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 <script src="../../js/resources/js-test-pre.js"></script> 2 <script src="../../../resources/js-test.js"></script>
3 <script> 3 <script>
4 description('Radio buttons within the same form outside a document should still be updated appropriately when one of them is checked.'); 4 description('Radio buttons within the same form outside a document should still be updated appropriately when one of them is checked.');
5 5
6 var form = document.createElement('form'); 6 var form = document.createElement('form');
7 var radio1 = form.appendChild(document.createElement('input')); 7 var radio1 = form.appendChild(document.createElement('input'));
8 var radio2 = form.appendChild(document.createElement('input')); 8 var radio2 = form.appendChild(document.createElement('input'));
9 radio1.type = radio2.type = 'radio'; 9 radio1.type = radio2.type = 'radio';
10 radio1.name = radio2.name = 'pref'; 10 radio1.name = radio2.name = 'pref';
11 radio1.checked = true; 11 radio1.checked = true;
12 radio2.checked = true; 12 radio2.checked = true;
13 shouldBeFalse('radio1.checked'); 13 shouldBeFalse('radio1.checked');
14 </script> 14 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698