mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-10 19:46:03 +00:00
LibWeb: Update Element class list is when class attribute is removed
This commit is contained in:
parent
6e77fff698
commit
21e21abeed
Notes:
github-actions[bot]
2024-07-25 04:44:34 +00:00
Author: https://github.com/tcl3
Commit: 21e21abeed
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/817
3 changed files with 18 additions and 2 deletions
3
Tests/LibWeb/Text/expected/DOM/Element-classList.txt
Normal file
3
Tests/LibWeb/Text/expected/DOM/Element-classList.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
element.classList initial value: ""
|
||||
element.classList after setting classList to "a": "a"
|
||||
element.classList after setting className to "": ""
|
Loading…
Add table
Add a link
Reference in a new issue