diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-08-28 14:39:17 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-08-28 14:39:17 +0200 |
commit | b58a8779c02e8d4abdaae49e1fcc11efeb407bee (patch) | |
tree | dc251f391fe9657bc08341dc4cbcfd0ca431b636 /dom/base/nsHTMLContentSerializer.cpp | |
parent | 31def0da05280ab834c3585c37ec1b5cde29c89c (diff) | |
download | UXP-b58a8779c02e8d4abdaae49e1fcc11efeb407bee.tar UXP-b58a8779c02e8d4abdaae49e1fcc11efeb407bee.tar.gz UXP-b58a8779c02e8d4abdaae49e1fcc11efeb407bee.tar.lz UXP-b58a8779c02e8d4abdaae49e1fcc11efeb407bee.tar.xz UXP-b58a8779c02e8d4abdaae49e1fcc11efeb407bee.zip |
Issue #1221: Pass the original element into
nsXMLContentSerializer::CheckElementEnd so that we can properly
determine whether it has children.
This resolves #1221
Diffstat (limited to 'dom/base/nsHTMLContentSerializer.cpp')
-rw-r--r-- | dom/base/nsHTMLContentSerializer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/base/nsHTMLContentSerializer.cpp b/dom/base/nsHTMLContentSerializer.cpp index ab8b4f2b2..c135c4cf8 100644 --- a/dom/base/nsHTMLContentSerializer.cpp +++ b/dom/base/nsHTMLContentSerializer.cpp @@ -301,6 +301,7 @@ nsHTMLContentSerializer::AppendElementStart(Element* aElement, NS_IMETHODIMP nsHTMLContentSerializer::AppendElementEnd(Element* aElement, + Element* aOriginalElement /* unused */, nsAString& aStr) { NS_ENSURE_ARG(aElement); |