mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +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
|
|
@ -59,6 +59,7 @@ class nsXMLContentSerializer : public nsIContentSerializer {
|
|||
nsAString& aStr) override;
|
||||
|
||||
NS_IMETHOD AppendElementEnd(mozilla::dom::Element* aElement,
|
||||
mozilla::dom::Element* aOriginalElement,
|
||||
nsAString& aStr) override;
|
||||
|
||||
NS_IMETHOD Flush(nsAString& aStr) override { return NS_OK; }
|
||||
|
|
@ -263,6 +264,7 @@ class nsXMLContentSerializer : public nsIContentSerializer {
|
|||
* @return boolean true if the element can be output
|
||||
*/
|
||||
virtual bool CheckElementEnd(mozilla::dom::Element* aElement,
|
||||
mozilla::dom::Element* aOriginalElement,
|
||||
bool& aForceFormat,
|
||||
nsAString& aStr);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue