| Index: third_party/WebKit/LayoutTests/fast/forms/radio/radio-group-remove-required.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/forms/radio/radio-group-remove-required.html b/third_party/WebKit/LayoutTests/fast/forms/radio/radio-group-remove-required.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1dc7e534c4ac4b7cbf203e531f2bd5bcbf05d4c3
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/forms/radio/radio-group-remove-required.html
|
| @@ -0,0 +1,20 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<script src="../../../resources/js-test.js"></script>
|
| +</head>
|
| +<body>
|
| +<form>
|
| +<input type=radio name=requiredRadio id=rbutton required>
|
| +</form>
|
| +<script>
|
| +description('Removing a named required radio button shouldn\'t assert');
|
| +
|
| +var radio = document.getElementById('rbutton');
|
| +shouldBeTrue('document.getElementsByName("requiredRadio")[0].required');
|
| +shouldBeTrue('radio.required');
|
| +radio.parentElement.removeChild(radio);
|
| +shouldBeTrue('radio.required');
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|