mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
LibWeb: Rename Attribute to Attr
This name is not very good, but it's what the specification calls it.
This commit is contained in:
@@ -204,7 +204,7 @@ DOM::ExceptionOr<String> serialize_node_to_xml_string_impl(JS::NonnullGCPtr<DOM:
|
||||
return serialize_processing_instruction(static_cast<DOM::ProcessingInstruction&>(*root), require_well_formed);
|
||||
}
|
||||
|
||||
if (is<DOM::Attribute>(*root)) {
|
||||
if (is<DOM::Attr>(*root)) {
|
||||
// -> An Attr object
|
||||
// Return an empty string.
|
||||
return String::empty();
|
||||
|
||||
Reference in New Issue
Block a user