LibWeb: Update attribute name validation in Element.setAttribute()

This now follows the latest specification steps.
This commit is contained in:
Tim Ledbetter 2025-06-19 08:47:12 +01:00 committed by Tim Ledbetter
commit ba641d4784
Notes: github-actions[bot] 2025-06-19 10:02:13 +00:00
7 changed files with 67 additions and 7 deletions

View file

@ -13,7 +13,7 @@
}
invalidNames =
['', '1foo', 'f@oo', 'foo!']
['', '=foo', 'f/oo', 'fo o', 'foo>']
for (let i = 0; i < invalidNames.length; i++) {
testInvalidQualifiedName(invalidNames[i])