mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibWeb: Update attribute name validation in Element.setAttribute()
This now follows the latest specification steps.
This commit is contained in:
parent
acf2d773d5
commit
ba641d4784
Notes:
github-actions[bot]
2025-06-19 10:02:13 +00:00
Author: https://github.com/tcl3
Commit: ba641d4784
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5140
Reviewed-by: https://github.com/AtkinsSJ ✅
7 changed files with 67 additions and 7 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue