commit a953571de7086e0160d4b1a16399e95b7c8a6581
parent 495bb399362b7e1dbb9c0ecec7c895974200f93a
Author: Luke Warlow <lwarlow@igalia.com>
Date: Fri, 7 Nov 2025 09:03:13 +0000
Bug 1998538 [wpt PR 55872] - input elements aren't valid for command and commandfor, a=testonly
Automatic update from web-platform-tests
input elements aren't valid for command and commandfor (#55872)
--
wpt-commits: c94e7a38f18f90b9a95960cc9033e4932f4604c3
wpt-pr: 55872
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testing/web-platform/tests/html/semantics/the-button-element/command-and-commandfor/invalid-element-types.html b/testing/web-platform/tests/html/semantics/the-button-element/command-and-commandfor/invalid-element-types.html
@@ -29,7 +29,7 @@
const firstHalf = half === 'first';
assert_true(firstHalf || half === 'second');
- const allowed = ['button','input','menuitem'];
+ const allowed = ['button','menuitem'];
const allTags = HTML5_ELEMENTS.filter(el => (!allowed.includes(el)));
const midpoint = Math.floor(allTags.length / 2);
const tags = firstHalf ? allTags.slice(0,midpoint) : allTags.slice(midpoint);