summaryrefslogtreecommitdiff
path: root/dom/html/nsHTMLDocument.h
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2017-08-18 13:39:37 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-03-12 10:01:04 +0100
commitead3ee8d25c6af6c18ee6c3ed2945dcf0405142b (patch)
tree38b4e34c1859e6881c428f962cf47a1cc52cbd5b /dom/html/nsHTMLDocument.h
parente0fcc4be4f0a5d80c66b1dd2b723a9a662c97e82 (diff)
downloaduxp-ead3ee8d25c6af6c18ee6c3ed2945dcf0405142b.tar.gz
HTML - implement the labels attribute (follow up)
Diffstat (limited to 'dom/html/nsHTMLDocument.h')
-rw-r--r--dom/html/nsHTMLDocument.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/dom/html/nsHTMLDocument.h b/dom/html/nsHTMLDocument.h
index 2dbbf2b57f..426ebddc59 100644
--- a/dom/html/nsHTMLDocument.h
+++ b/dom/html/nsHTMLDocument.h
@@ -261,12 +261,13 @@ protected:
nsIContent *MatchId(nsIContent *aContent, const nsAString& aId);
- static bool MatchLinks(nsIContent *aContent, int32_t aNamespaceID,
+ static bool MatchLinks(mozilla::dom::Element* aElement, int32_t aNamespaceID,
+ nsIAtom* aAtom, void* aData);
+ static bool MatchAnchors(mozilla::dom::Element* aElement, int32_t aNamespaceID,
nsIAtom* aAtom, void* aData);
- static bool MatchAnchors(nsIContent *aContent, int32_t aNamespaceID,
- nsIAtom* aAtom, void* aData);
- static bool MatchNameAttribute(nsIContent* aContent, int32_t aNamespaceID,
- nsIAtom* aAtom, void* aData);
+ static bool MatchNameAttribute(mozilla::dom::Element* aElement,
+ int32_t aNamespaceID,
+ nsIAtom* aAtom, void* aData);
static void* UseExistingNameString(nsINode* aRootNode, const nsString* aName);
static void DocumentWriteTerminationFunc(nsISupports *aRef);