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

Side by Side Diff: LayoutTests/fast/forms/legend/legend-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 PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("This test checks the form attribute of the legend element."); 8 description("This test checks the form attribute of the legend element.");
9 9
10 var container = document.createElement('div'); 10 var container = document.createElement('div');
11 document.body.appendChild(container); 11 document.body.appendChild(container);
12 12
13 debug(''); 13 debug('');
14 debug('- Ensures that the form attribute of legend element depends on whether it s parent is a fieldset element or not.'); 14 debug('- Ensures that the form attribute of legend element depends on whether it s parent is a fieldset element or not.');
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 legendElement = document.getElementById('legendElement'); 51 legendElement = document.getElementById('legendElement');
52 shouldBe('fieldsetElement.form', 'form1'); 52 shouldBe('fieldsetElement.form', 'form1');
53 shouldBe('legendElement.form', 'form1'); 53 shouldBe('legendElement.form', 'form1');
54 fieldsetElement.attributes['form'].value = 'form2'; 54 fieldsetElement.attributes['form'].value = 'form2';
55 shouldBe('fieldsetElement.form', 'form2'); 55 shouldBe('fieldsetElement.form', 'form2');
56 shouldBe('legendElement.form', 'form2'); 56 shouldBe('legendElement.form', 'form2');
57 57
58 </script> 58 </script>
59 </body> 59 </body>
60 </html> 60 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698