Lines Matching refs:nodeHasRole
260 bool nodeHasRole(Node* node, const String& role)
275 if (node && ((nodeHasRole(node, "list") || nodeHasRole(node, "directory"))
276 || (nodeHasRole(node, nullAtom) && (isHTMLUListElement(*node) || isHTMLOListElement(*node) || isHTMLDListElement(*node)))))
280 if (nodeHasRole(node, "grid") || nodeHasRole(node, "treegrid"))
282 if (nodeHasRole(node, "row"))
284 if (nodeHasRole(node, "gridcell") || nodeHasRole(node, "columnheader") || nodeHasRole(node, "rowheader"))