mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-21 01:31:55 +00:00
LibWeb: Initialize clearTargets in event dispatch correctly
Corresponds to https://github.com/whatwg/dom/pull/1347
This commit is contained in:
parent
3775f3399c
commit
a5be7cb6fb
Notes:
github-actions[bot]
2025-01-30 16:15:47 +00:00
Author: https://github.com/AtkinsSJ
Commit: a5be7cb6fb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3397
Reviewed-by: https://github.com/gmta ✅
4 changed files with 24 additions and 21 deletions
|
@ -60,7 +60,7 @@ Vector<FlyString> NamedNodeMap::supported_property_names() const
|
|||
names.append(attribute_name.to_string());
|
||||
}
|
||||
|
||||
// 2. If this NamedNodeMap object’s element is in the HTML namespace and its node document is an HTML document, then for each name in names:
|
||||
// 2. If this NamedNodeMap object’s element is in the HTML namespace and its node document is an HTML document, then for each name of names:
|
||||
if (associated_element().namespace_uri() == Namespace::HTML && associated_element().document().is_html_document()) {
|
||||
// 1. Let lowercaseName be name, in ASCII lowercase.
|
||||
// 2. If lowercaseName is not equal to name, remove name from names.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue