PositionIsOffsetInAnchor 1615 Source/core/accessibility/AXRenderObject.cpp frame->selection().setSelection(VisibleSelection(Position(node, range.start, Position::PositionIsOffsetInAnchor), PositionIsOffsetInAnchor 1616 Source/core/accessibility/AXRenderObject.cpp Position(node, range.start + range.length, Position::PositionIsOffsetInAnchor), DOWNSTREAM)); PositionIsOffsetInAnchor 99 Source/core/dom/Position.cpp ASSERT(anchorType != PositionIsOffsetInAnchor); PositionIsOffsetInAnchor 112 Source/core/dom/Position.cpp ASSERT(anchorType == PositionIsOffsetInAnchor); PositionIsOffsetInAnchor 118 Source/core/dom/Position.cpp , m_anchorType(PositionIsOffsetInAnchor) PositionIsOffsetInAnchor 127 Source/core/dom/Position.cpp ASSERT(anchorType() == PositionIsOffsetInAnchor || m_isLegacyEditingPosition); PositionIsOffsetInAnchor 135 Source/core/dom/Position.cpp ASSERT(anchorType() == PositionIsOffsetInAnchor || m_isLegacyEditingPosition); PositionIsOffsetInAnchor 149 Source/core/dom/Position.cpp case PositionIsOffsetInAnchor: PositionIsOffsetInAnchor 162 Source/core/dom/Position.cpp case PositionIsOffsetInAnchor: PositionIsOffsetInAnchor 186 Source/core/dom/Position.cpp case PositionIsOffsetInAnchor: PositionIsOffsetInAnchor 215 Source/core/dom/Position.cpp return Position(m_anchorNode.get(), 0, PositionIsOffsetInAnchor); PositionIsOffsetInAnchor 224 Source/core/dom/Position.cpp return Position(containerNode(), computeOffsetInContainerNode(), PositionIsOffsetInAnchor); PositionIsOffsetInAnchor 237 Source/core/dom/Position.cpp case PositionIsOffsetInAnchor: PositionIsOffsetInAnchor 258 Source/core/dom/Position.cpp case PositionIsOffsetInAnchor: PositionIsOffsetInAnchor 276 Source/core/dom/Position.cpp return Position::PositionIsOffsetInAnchor; PositionIsOffsetInAnchor 381 Source/core/dom/Position.cpp case PositionIsOffsetInAnchor: PositionIsOffsetInAnchor 1351 Source/core/dom/Position.cpp case PositionIsOffsetInAnchor: PositionIsOffsetInAnchor 65 Source/core/dom/Position.h , m_anchorType(PositionIsOffsetInAnchor) PositionIsOffsetInAnchor 94 Source/core/dom/Position.h void clear() { m_anchorNode.clear(); m_offset = 0; m_anchorType = PositionIsOffsetInAnchor; m_isLegacyEditingPosition = false; } PositionIsOffsetInAnchor 107 Source/core/dom/Position.h ASSERT(anchorType() == PositionIsOffsetInAnchor); PositionIsOffsetInAnchor 253 Source/core/dom/Position.h return Position(node.parentNode(), node.nodeIndex(), Position::PositionIsOffsetInAnchor); PositionIsOffsetInAnchor 259 Source/core/dom/Position.h return Position(node.parentNode(), node.nodeIndex() + 1, Position::PositionIsOffsetInAnchor); PositionIsOffsetInAnchor 284 Source/core/dom/Position.h return Position(anchorNode, 0, Position::PositionIsOffsetInAnchor); PositionIsOffsetInAnchor 291 Source/core/dom/Position.h return Position(anchorNode, lastOffsetInNode(anchorNode), Position::PositionIsOffsetInAnchor); PositionIsOffsetInAnchor 173 Source/core/editing/ApplyBlockElementCommand.cpp if (position.anchorType() != Position::PositionIsOffsetInAnchor || !position.containerNode() || !position.containerNode()->isTextNode()) PositionIsOffsetInAnchor 1180 Source/core/editing/ApplyStyleCommand.cpp if (end.anchorType() == Position::PositionIsOffsetInAnchor && start.containerNode() == end.containerNode()) PositionIsOffsetInAnchor 1194 Source/core/editing/ApplyStyleCommand.cpp bool shouldUpdateStart = start.anchorType() == Position::PositionIsOffsetInAnchor && start.containerNode() == end.containerNode(); PositionIsOffsetInAnchor 1249 Source/core/editing/ApplyStyleCommand.cpp if (position.anchorType() != Position::PositionIsOffsetInAnchor || !node->isTextNode()) PositionIsOffsetInAnchor 1285 Source/core/editing/ApplyStyleCommand.cpp updateStartEnd(Position(startNode, startOffsetAdjustment, Position::PositionIsOffsetInAnchor), PositionIsOffsetInAnchor 1286 Source/core/editing/ApplyStyleCommand.cpp Position(end.deprecatedNode(), end.deprecatedEditingOffset() + endOffsetAdjustment, Position::PositionIsOffsetInAnchor)); PositionIsOffsetInAnchor 1321 Source/core/editing/ApplyStyleCommand.cpp updateStartEnd(shouldUpdateStart ? Position(nextElement, start.offsetInContainerNode(), Position::PositionIsOffsetInAnchor) : start, PositionIsOffsetInAnchor 1322 Source/core/editing/ApplyStyleCommand.cpp Position(nextElement, endOffset, Position::PositionIsOffsetInAnchor)); PositionIsOffsetInAnchor 1539 Source/core/editing/ApplyStyleCommand.cpp if (start.anchorType() == Position::PositionIsOffsetInAnchor && next == start.containerNode()) PositionIsOffsetInAnchor 1541 Source/core/editing/ApplyStyleCommand.cpp if (end.anchorType() == Position::PositionIsOffsetInAnchor && next == end.containerNode()) PositionIsOffsetInAnchor 400 Source/core/editing/CompositeEditCommand.cpp int offset = (position.anchorType() == Position::PositionIsOffsetInAnchor) ? position.offsetInContainerNode() : 0; PositionIsOffsetInAnchor 520 Source/core/editing/CompositeEditCommand.cpp case Position::PositionIsOffsetInAnchor: PositionIsOffsetInAnchor 592 Source/core/editing/CompositeEditCommand.cpp if (position.anchorType() != Position::PositionIsOffsetInAnchor || !node || !node->isTextNode()) PositionIsOffsetInAnchor 399 Source/core/editing/DeleteSelectionCommand.cpp if (position.anchorType() != Position::PositionIsOffsetInAnchor || position.containerNode() != node) PositionIsOffsetInAnchor 378 Source/core/editing/FrameSelection.cpp if (!position.anchorNode() || position.anchorNode() != node || position.anchorType() != Position::PositionIsOffsetInAnchor) PositionIsOffsetInAnchor 414 Source/core/editing/FrameSelection.cpp if (!position.anchorNode() || position.anchorType() != Position::PositionIsOffsetInAnchor) PositionIsOffsetInAnchor 442 Source/core/editing/FrameSelection.cpp if (!position.anchorNode() || position.anchorNode() != &oldNode || position.anchorType() != Position::PositionIsOffsetInAnchor) PositionIsOffsetInAnchor 1352 Source/core/editing/FrameSelection.cpp VisiblePosition beforeOwnerElement(VisiblePosition(Position(ownerElementParent, ownerElementNodeIndex, Position::PositionIsOffsetInAnchor))); PositionIsOffsetInAnchor 1353 Source/core/editing/FrameSelection.cpp VisiblePosition afterOwnerElement(VisiblePosition(Position(ownerElementParent, ownerElementNodeIndex + 1, Position::PositionIsOffsetInAnchor), VP_UPSTREAM_IF_POSSIBLE)); PositionIsOffsetInAnchor 327 Source/core/editing/InputMethodController.cpp if (base.anchorType() != Position::PositionIsOffsetInAnchor) PositionIsOffsetInAnchor 356 Source/core/editing/InsertParagraphSeparatorCommand.cpp if (insertionPosition.anchorType() == Position::PositionIsOffsetInAnchor && insertionPosition.containerNode()->isTextNode()) { PositionIsOffsetInAnchor 192 Source/core/editing/InsertTextCommand.cpp ASSERT(startPosition.anchorType() == Position::PositionIsOffsetInAnchor); PositionIsOffsetInAnchor 50 Source/core/editing/MoveSelectionCommand.cpp if (pos.anchorType() == Position::PositionIsOffsetInAnchor && selectionEnd.anchorType() == Position::PositionIsOffsetInAnchor PositionIsOffsetInAnchor 55 Source/core/editing/MoveSelectionCommand.cpp if (selectionStart.anchorType() == Position::PositionIsOffsetInAnchor && selectionStart.containerNode() == pos.containerNode()) PositionIsOffsetInAnchor 44 Source/core/editing/RenderedPosition.cpp case Position::PositionIsOffsetInAnchor: PositionIsOffsetInAnchor 1276 Source/core/editing/ReplaceSelectionCommand.cpp if (endUpstream.anchorType() == Position::PositionIsOffsetInAnchor) { PositionIsOffsetInAnchor 1300 Source/core/editing/ReplaceSelectionCommand.cpp if (startDownstream.anchorType() == Position::PositionIsOffsetInAnchor) { PositionIsOffsetInAnchor 1355 Source/core/editing/ReplaceSelectionCommand.cpp bool positionIsOffsetInAnchor = position.anchorType() == Position::PositionIsOffsetInAnchor; PositionIsOffsetInAnchor 1356 Source/core/editing/ReplaceSelectionCommand.cpp bool positionOnlyToBeUpdatedIsOffsetInAnchor = positionOnlyToBeUpdated.anchorType() == Position::PositionIsOffsetInAnchor; PositionIsOffsetInAnchor 1023 Source/core/editing/TextIterator.cpp VisiblePosition startPos = VisiblePosition(Position(m_startContainer, m_startOffset, Position::PositionIsOffsetInAnchor), DOWNSTREAM); PositionIsOffsetInAnchor 570 Source/core/editing/TypingCommand.cpp extent = Position(extent.containerNode(), extent.computeOffsetInContainerNode() + extraCharacters, Position::PositionIsOffsetInAnchor); PositionIsOffsetInAnchor 638 Source/core/editing/VisiblePosition.cpp case Position::PositionIsOffsetInAnchor: PositionIsOffsetInAnchor 1127 Source/core/editing/VisibleUnits.cpp type = Position::PositionIsOffsetInAnchor; PositionIsOffsetInAnchor 1151 Source/core/editing/VisibleUnits.cpp if (type == Position::PositionIsOffsetInAnchor) { PositionIsOffsetInAnchor 1152 Source/core/editing/VisibleUnits.cpp ASSERT(type == Position::PositionIsOffsetInAnchor || !offset); PositionIsOffsetInAnchor 1208 Source/core/editing/VisibleUnits.cpp type = Position::PositionIsOffsetInAnchor; PositionIsOffsetInAnchor 1229 Source/core/editing/VisibleUnits.cpp if (type == Position::PositionIsOffsetInAnchor) PositionIsOffsetInAnchor 902 Source/core/editing/htmlediting.cpp case Position::PositionIsOffsetInAnchor: PositionIsOffsetInAnchor 610 Source/core/html/HTMLTextFormControlElement.cpp ASSERT(position.isNull() || position.anchorType() == Position::PositionIsOffsetInAnchor PositionIsOffsetInAnchor 1890 Source/web/WebViewImpl.cpp Position position(element, 0, Position::PositionIsOffsetInAnchor);