HTML - implement the labels attribute (follow up)

This commit is contained in:
janekptacijarabaci
2017-08-18 13:39:37 +02:00
committed by wolfbeast
parent 6be9e50707
commit ea44e60b7e
20 changed files with 87 additions and 77 deletions
+2 -2
View File
@@ -120,10 +120,10 @@ HTMLTableRowElement::SectionRowIndex() const
}
static bool
IsCell(nsIContent *aContent, int32_t aNamespaceID,
IsCell(Element *aElement, int32_t aNamespaceID,
nsIAtom* aAtom, void *aData)
{
return aContent->IsAnyOfHTMLElements(nsGkAtoms::td, nsGkAtoms::th);
return aElement->IsAnyOfHTMLElements(nsGkAtoms::td, nsGkAtoms::th);
}
nsIHTMLCollection*