mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-24 00:24:14 +00:00
nodeName for HTML elements are uppercase as well.
This commit is contained in:
parent
82a29d775a
commit
371d69ea33
@ -286,6 +286,12 @@ nsGenericHTMLElement::CopyInnerTo(nsIContent* aSrcContent,
|
||||
return result;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsGenericHTMLElement::GetNodeName(nsString& aNodeName)
|
||||
{
|
||||
return GetTagName(aNodeName);
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsGenericHTMLElement::GetTagName(nsString& aTagName)
|
||||
{
|
||||
|
@ -57,6 +57,9 @@ public:
|
||||
nsGenericHTMLElement* aDest,
|
||||
PRBool aDeep);
|
||||
|
||||
// Implementation for nsIDOMNode
|
||||
nsresult GetNodeName(nsString& aNodeName);
|
||||
|
||||
// Implementation for nsIDOMElement
|
||||
nsresult GetAttribute(const nsString& aName, nsString& aReturn)
|
||||
{
|
||||
|
@ -286,6 +286,12 @@ nsGenericHTMLElement::CopyInnerTo(nsIContent* aSrcContent,
|
||||
return result;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsGenericHTMLElement::GetNodeName(nsString& aNodeName)
|
||||
{
|
||||
return GetTagName(aNodeName);
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsGenericHTMLElement::GetTagName(nsString& aTagName)
|
||||
{
|
||||
|
@ -57,6 +57,9 @@ public:
|
||||
nsGenericHTMLElement* aDest,
|
||||
PRBool aDeep);
|
||||
|
||||
// Implementation for nsIDOMNode
|
||||
nsresult GetNodeName(nsString& aNodeName);
|
||||
|
||||
// Implementation for nsIDOMElement
|
||||
nsresult GetAttribute(const nsString& aName, nsString& aReturn)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user