mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 03:55:24 +00:00
LibWeb: Correctly set mutation record attribute namespace values
Here, we were setting the attribute_name string to the namespace string.
This commit is contained in:
parent
3847d64542
commit
bf723aad98
Notes:
github-actions[bot]
2025-03-08 00:27:49 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/bf723aad980 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3850
1 changed files with 1 additions and 1 deletions
|
@ -2292,7 +2292,7 @@ void Node::queue_mutation_record(FlyString const& type, Optional<FlyString> cons
|
|||
string_attribute_name = attribute_name->to_string();
|
||||
Optional<String> string_attribute_namespace;
|
||||
if (attribute_namespace.has_value())
|
||||
string_attribute_name = attribute_namespace->to_string();
|
||||
string_attribute_namespace = attribute_namespace->to_string();
|
||||
|
||||
// 1. Let record be a new MutationRecord object with its type set to type, target set to target, attributeName set to name, attributeNamespace set to namespace, oldValue set to mappedOldValue,
|
||||
// addedNodes set to addedNodes, removedNodes set to removedNodes, previousSibling set to previousSibling, and nextSibling set to nextSibling.
|
||||
|
|
Loading…
Add table
Reference in a new issue