mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb: Update attribute name validation in Element.setAttribute()
This now follows the latest specification steps.
This commit is contained in:
committed by
Tim Ledbetter
parent
acf2d773d5
commit
ba641d4784
Notes:
github-actions[bot]
2025-06-19 10:02:13 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/ba641d47844 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5140 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user