import from UXP: Issue #1221: Pass the original element into nsXMLContentSerializer::CheckElementEnd so that we can properly determine whether it has children. (f34f8ca0)

This commit is contained in:
2022-04-05 15:12:45 +08:00
parent 5e7e20cef2
commit 50809ff017
10 changed files with 46 additions and 13 deletions
+1
View File
@@ -301,6 +301,7 @@ nsHTMLContentSerializer::AppendElementStart(Element* aElement,
NS_IMETHODIMP
nsHTMLContentSerializer::AppendElementEnd(Element* aElement,
Element* aOriginalElement /* unused */,
nsAString& aStr)
{
NS_ENSURE_ARG(aElement);