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

Side by Side Diff: LayoutTests/fast/forms/fieldset/validation-in-fieldset.html

Issue 10451107: Merge 118721 - Form controls in <fieldset disabled> should not be validated. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/forms/fieldset/validation-in-fieldset-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <body> 2 <body>
3 <script src="../../js/resources/js-test-pre.js"></script> 3 <script src="../../js/resources/js-test-pre.js"></script>
4 4
5 <fieldset id="f1" disabled> 5 <fieldset id="f1" disabled>
6 <input required id="i1"> 6 <input required id="i1">
7 </fieldset> 7 </fieldset>
8 <fieldset id="f2"> 8 <fieldset id="f2">
9 <input required id="i2"> 9 <input required id="i2">
10 </fieldset> 10 </fieldset>
(...skipping 10 matching lines...) Expand all
21 var fieldset2 = document.getElementById("f2"); 21 var fieldset2 = document.getElementById("f2");
22 shouldBeTrue('control2.willValidate'); 22 shouldBeTrue('control2.willValidate');
23 debug('Then, disables fieldset:'); 23 debug('Then, disables fieldset:');
24 shouldBeFalse('fieldset2.disabled = true; control2.willValidate'); 24 shouldBeFalse('fieldset2.disabled = true; control2.willValidate');
25 debug('Detach the form control from the fieldset:'); 25 debug('Detach the form control from the fieldset:');
26 shouldBeTrue('fieldset2.removeChild(control2); control2.willValidate'); 26 shouldBeTrue('fieldset2.removeChild(control2); control2.willValidate');
27 27
28 </script> 28 </script>
29 <script src="../../js/resources/js-test-pre.js"></script> 29 <script src="../../js/resources/js-test-pre.js"></script>
30 </body> 30 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/forms/fieldset/validation-in-fieldset-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698