mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
HTML - implement the labels attribute (follow up)
This commit is contained in:
parent
5b24f05ce7
commit
b9e802f497
20 changed files with 87 additions and 77 deletions
|
|
@ -165,10 +165,9 @@ nsIContent::DoGetID() const
|
|||
}
|
||||
|
||||
const nsAttrValue*
|
||||
nsIContent::DoGetClasses() const
|
||||
Element::DoGetClasses() const
|
||||
{
|
||||
MOZ_ASSERT(HasFlag(NODE_MAY_HAVE_CLASS), "Unexpected call");
|
||||
MOZ_ASSERT(IsElement(), "Only elements can have classes");
|
||||
|
||||
if (IsSVGElement()) {
|
||||
const nsAttrValue* animClass =
|
||||
|
|
@ -178,7 +177,7 @@ nsIContent::DoGetClasses() const
|
|||
}
|
||||
}
|
||||
|
||||
return AsElement()->GetParsedAttr(nsGkAtoms::_class);
|
||||
return GetParsedAttr(nsGkAtoms::_class);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue