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:
wolfbeast 2019-08-28 14:39:17 +02:00 committed by Roy Tam
commit f34f8ca034
10 changed files with 46 additions and 13 deletions

View file

@ -55,6 +55,7 @@ class nsIContentSerializer : public nsISupports {
nsAString& aStr) = 0;
NS_IMETHOD AppendElementEnd(mozilla::dom::Element* aElement,
mozilla::dom::Element* aOriginalElement,
nsAString& aStr) = 0;
NS_IMETHOD Flush(nsAString& aStr) = 0;