1
0
Fork 0
firefox/testing/web-platform/tests/dom/nodes/ParentNode-querySelector-case-insensitive.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

21 lines
645 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>querySelector(All) must work with the i and *= selectors</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<!-- Regression test for https://github.com/jsdom/jsdom/issues/2551 -->
<input name="User" id="testInput"></input>
<script>
"use strict";
const input = document.getElementById("testInput");
test(() => {
assert_equals(document.querySelector("input[name*=user i]"), input);
}, "querySelector");
test(() => {
assert_array_equals(document.querySelectorAll("input[name*=user i]"), [input]);
}, "querySelectorAll");
</script>