Lines Matching refs:previous
48 HTMLTableRowElement* HTMLTableRowsCollection::rowAfter(HTMLTableElement& table, HTMLTableRowElement* previous)
52 if (previous && previous->parentNode() != table) {
53 if (HTMLTableRowElement* row = Traversal<HTMLTableRowElement>::nextSibling(*previous))
59 if (!previous)
61 else if (isInSection(*previous, theadTag))
62 child = Traversal<HTMLElement>::nextSibling(*previous->parentNode());
71 if (!previous || isInSection(*previous, theadTag))
73 else if (previous->parentNode() == table)
74 child = Traversal<HTMLElement>::nextSibling(*previous);
75 else if (isInSection(*previous, tbodyTag))
76 child = Traversal<HTMLElement>::nextSibling(*previous->parentNode());
87 if (!previous || !isInSection(*previous, tfootTag))
90 child = Traversal<HTMLElement>::nextSibling(*previous->parentNode());
140 Element* HTMLTableRowsCollection::virtualItemAfter(Element* previous) const
142 return rowAfter(toHTMLTableElement(ownerNode()), toHTMLTableRowElement(previous));