mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-25 03:36:36 +00:00
LibWeb: Perform DOMTokenList token validation in the correct order
This commit is contained in:
parent
ec1f7779cb
commit
0127190dcf
Notes:
github-actions[bot]
2024-07-25 04:44:23 +00:00
Author: https://github.com/tcl3
Commit: 0127190dcf
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/817
4 changed files with 26 additions and 2 deletions
|
@ -3,3 +3,4 @@ element.classList after setting classList to "a": "a"
|
|||
element.classList after setting className to "": ""
|
||||
element.classList after setting to className to "a a b c": "a a b c"
|
||||
element.classList after setting to className to " a a b c ": " a a b c "
|
||||
element.classList.replace(" ", "") throws "SyntaxError"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue