Bug 1276438 part 2. Move the implementation of the .body setter from nsHTMLDocument to nsIDocument.

Tag UXP Issue #1344
Tag UXP Issue #252
This commit is contained in:
Gaming4JC 2020-01-01 15:04:58 -05:00 • committed by Roy Tam
commit c939244e89
4 changed files with 28 additions and 26 deletions

View file

@ -1040,6 +1040,8 @@ public:
// Get the "body" in the sense of document.body: The first <body> or
// <frameset> that's a child of a root <html>
nsGenericHTMLElement* GetBody();
// Set the "body" in the sense of document.body.
void SetBody(nsGenericHTMLElement* aBody, mozilla::ErrorResult& rv);
/**
* Accessors to the collection of stylesheets owned by this document.