mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 09:57:32 +09:00
Bug 1426494 - Share more code between nsIDocument and ShadowRoot
Tag #1375
This commit is contained in:
parent
15f6d2efda
commit
db72493615
23 changed files with 369 additions and 335 deletions
|
|
@ -148,6 +148,7 @@ public:
|
|||
using nsDocument::CreateElementNS;
|
||||
NS_FORWARD_NSIDOMDOCUMENT(XMLDocument::)
|
||||
// And explicitly import the things from nsDocument that we just shadowed
|
||||
using mozilla::dom::DocumentOrShadowRoot::GetElementById;
|
||||
using nsDocument::GetImplementation;
|
||||
using nsDocument::GetTitle;
|
||||
using nsDocument::SetTitle;
|
||||
|
|
@ -156,8 +157,8 @@ public:
|
|||
using nsDocument::GetMozFullScreenElement;
|
||||
using nsIDocument::GetLocation;
|
||||
|
||||
// nsDocument interface overrides
|
||||
virtual Element* GetElementById(const nsAString & elementId) override;
|
||||
// Helper for StyleScope::GetElementById.
|
||||
Element* GetRefById(const nsAString & elementId);
|
||||
|
||||
// nsIDOMXULDocument interface
|
||||
NS_DECL_NSIDOMXULDOCUMENT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue