unsigned DOMSelection::extentOffset() const { if (!m_frame) return 0; return shadowAdjustedOffset(extentPosition(visibleSelection())); }
Node* DOMSelection::extentNode() const { if (!m_frame) return 0; return shadowAdjustedNode(extentPosition(visibleSelection())); }
int DOMSelection::extentOffset() const { if (!m_frame) return 0; if (Node* shadowAncestor = selectionShadowAncestor(m_frame)) return shadowAncestor->nodeIndex(); return extentPosition(visibleSelection()).deprecatedEditingOffset(); }
Node* DOMSelection::extentNode() const { if (!m_frame) return 0; if (Node* shadowAncestor = selectionShadowAncestor(m_frame)) return shadowAncestor->parentNode(); return extentPosition(visibleSelection()).node(); }
int DOMSelection::extentOffset() const { if (!m_frame) return 0; if (Node* shadowAncestor = selectionShadowAncestor(m_frame)) return shadowAncestor->nodeIndex(); return extentPosition(visibleSelection()).offsetInContainerNode(); }
Node* DOMSelection::extentNode() const { if (!m_frame) return 0; if (Node* shadowAncestor = selectionShadowAncestor(m_frame)) return shadowAncestor->parentNodeGuaranteedHostFree(); return extentPosition(visibleSelection()).containerNode(); }
int DOMSelection::extentOffset() const { if (!isAvailable()) return 0; return shadowAdjustedOffset(extentPosition(visibleSelection())); }