mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +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
|
|
@ -6287,11 +6287,11 @@ struct ClassMatchingInfo {
|
|||
|
||||
// static
|
||||
bool
|
||||
nsContentUtils::MatchClassNames(nsIContent* aContent, int32_t aNamespaceID,
|
||||
nsContentUtils::MatchClassNames(Element* aElement, int32_t aNamespaceID,
|
||||
nsIAtom* aAtom, void* aData)
|
||||
{
|
||||
// We can't match if there are no class names
|
||||
const nsAttrValue* classAttr = aContent->GetClasses();
|
||||
const nsAttrValue* classAttr = aElement->GetClasses();
|
||||
if (!classAttr) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue