Title: [288695] trunk/LayoutTests/imported/w3c
- Revision
- 288695
- Author
- [email protected]
- Date
- 2022-01-27 12:27:00 -0800 (Thu, 27 Jan 2022)
Log Message
Add layout test for Bug 235645
https://bugs.webkit.org/show_bug.cgi?id=235718
Reviewed by Alex Christensen.
* web-platform-tests/html/semantics/forms/the-input-element/radio-multiple-selected-expected.txt: Added.
* web-platform-tests/html/semantics/forms/the-input-element/radio-multiple-selected.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (288694 => 288695)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2022-01-27 20:10:55 UTC (rev 288694)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2022-01-27 20:27:00 UTC (rev 288695)
@@ -1,3 +1,13 @@
+2022-01-27 Chris Dumez <[email protected]>
+
+ Add layout test for Bug 235645
+ https://bugs.webkit.org/show_bug.cgi?id=235718
+
+ Reviewed by Alex Christensen.
+
+ * web-platform-tests/html/semantics/forms/the-input-element/radio-multiple-selected-expected.txt: Added.
+ * web-platform-tests/html/semantics/forms/the-input-element/radio-multiple-selected.html: Added.
+
2022-01-27 Patrick Griffis <[email protected]>
CSP: Clean up effective-violation handling in reports
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/radio-multiple-selected-expected.txt (0 => 288695)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/radio-multiple-selected-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/radio-multiple-selected-expected.txt 2022-01-27 20:27:00 UTC (rev 288695)
@@ -0,0 +1,4 @@
+
+
+PASS Form should be valid since one of the radio elements is checked
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/radio-multiple-selected.html (0 => 288695)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/radio-multiple-selected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/radio-multiple-selected.html 2022-01-27 20:27:00 UTC (rev 288695)
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Multiple required input radio elements</title>
+<script src=""
+<script src=""
+</head>
+<body>
+<form id='testForm'>
+ <input type=radio name=foo required checked>
+ <input type=radio name=foo required>
+ <input type=submit>
+</form>
+<script>
+ test(function() {
+ assert_true(document.getElementById('testForm').reportValidity());
+ }, "Form should be valid since one of the radio elements is checked");
+</script>
+</body>
+</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes