зеркало из https://github.com/mozilla/pjs.git
nodeName for HTML elements are uppercase as well.
This commit is contained in:
Родитель
fc79d364e2
Коммит
d6887d8642
|
@ -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)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче