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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/radio/radio-group-remove-required.html

Issue 1632493002: Precisely account for required buttons in a radio group. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix oilpan compilation Created 4 years, 10 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 | third_party/WebKit/LayoutTests/fast/forms/radio/radio-group-remove-required-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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <form>
8 <input type=radio name=requiredRadio id=rbutton required>
9 </form>
10 <script>
11 description('Removing a named required radio button shouldn\'t assert');
12
13 var radio = document.getElementById('rbutton');
14 shouldBeTrue('document.getElementsByName("requiredRadio")[0].required');
15 shouldBeTrue('radio.required');
16 radio.parentElement.removeChild(radio);
17 shouldBeTrue('radio.required');
18 </script>
19 </body>
20 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/radio/radio-group-remove-required-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698