mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 11:09:18 +00:00
LibWeb: Follow the specification steps to serialize a DOMTokenList
This ensures that calling `element.classList.toString()` always produces the correct value.
This commit is contained in:
parent
21e21abeed
commit
ec1f7779cb
Notes:
github-actions[bot]
2024-07-25 04:44:28 +00:00
Author: https://github.com/tcl3
Commit: ec1f7779cb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/817
4 changed files with 17 additions and 3 deletions
|
@ -53,6 +53,8 @@ private:
|
|||
WebIDL::ExceptionOr<void> validate_token(StringView token) const;
|
||||
void run_update_steps();
|
||||
|
||||
String serialize_ordered_set() const;
|
||||
|
||||
JS::NonnullGCPtr<Element> m_associated_element;
|
||||
FlyString m_associated_attribute;
|
||||
Vector<String> m_token_set;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue