mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Issue #1221: Pass the original element into
nsXMLContentSerializer::CheckElementEnd so that we can properly determine whether it has children. This resolves #1221
This commit is contained in:
parent
90f6b97ecc
commit
f34f8ca034
10 changed files with 46 additions and 13 deletions
|
|
@ -514,6 +514,7 @@ nsXHTMLContentSerializer::CheckElementStart(nsIContent * aContent,
|
|||
|
||||
bool
|
||||
nsXHTMLContentSerializer::CheckElementEnd(mozilla::dom::Element* aElement,
|
||||
mozilla::dom::Element* aOriginalElement,
|
||||
bool& aForceFormat,
|
||||
nsAString& aStr)
|
||||
{
|
||||
|
|
@ -532,7 +533,7 @@ nsXHTMLContentSerializer::CheckElementEnd(mozilla::dom::Element* aElement,
|
|||
}
|
||||
|
||||
bool dummyFormat;
|
||||
return nsXMLContentSerializer::CheckElementEnd(aElement, dummyFormat, aStr);
|
||||
return nsXMLContentSerializer::CheckElementEnd(aElement, aOriginalElement, dummyFormat, aStr);
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue