Home | History | Annotate | Download | only in page

Lines Matching defs:tabIndex

215     return isNonFocusableFocusScopeOwner(node) ? 0 : node->tabIndex();
533 Node* FocusController::findNodeWithExactTabIndex(Node* start, int tabIndex, FocusType type)
537 if (shouldVisit(node) && adjustedTabIndex(node) == tabIndex)
543 static Node* nextNodeWithGreaterTabIndex(Node* start, int tabIndex)
550 if (shouldVisit(node) && currentTabIndex > tabIndex && currentTabIndex < winningTabIndex) {
559 static Node* previousNodeWithLowerTabIndex(Node* start, int tabIndex)
566 if ((shouldVisit(node) || isNonKeyboardFocusableShadowHost(node)) && currentTabIndex < tabIndex && currentTabIndex > winningTabIndex) {
577 int tabIndex = adjustedTabIndex(start);
579 if (tabIndex < 0) {
585 // First try to find a node with the same tabindex as start that comes after start in the scope.
586 if (Node* winner = findNodeWithExactTabIndex(NodeTraversal::next(*start), tabIndex, FocusTypeForward))
589 if (!tabIndex)
590 // We've reached the last node in the document with a tabindex of 0. This is the end of the tabbing order.
595 // 1) has the lowest tabindex that is higher than start's tabindex (or 0, if start is null), and
600 // There are no nodes with a tabindex greater than start's tabindex,
601 // so find the first node with a tabindex of 0.
612 // First try to find the last node in the scope that comes before start and has the same tabindex as start.
613 // If start is null, find the last node in the scope with a tabindex of 0.
635 // There are no nodes before start with the same tabindex as start, so look for a node that:
636 // 1) has the highest non-zero tabindex (that is less than start's tabindex), and