Searched refs:anchorType (Results 1 – 17 of 17) sorted by relevance
50 …if (pos.anchorType() == Position::PositionIsOffsetInAnchor && selectionEnd.anchorType() == Positio… in doApply()55 …if (selectionStart.anchorType() == Position::PositionIsOffsetInAnchor && selectionStart.containerN… in doApply()
151 if (position.anchorType() != Position::PositionIsOffsetInAnchor) in isNewLineAtPosition()169 if (position.anchorType() != Position::PositionIsOffsetInAnchor in renderStyleOfEnclosingTextNode()258 …if (start.anchorType() == Position::PositionIsOffsetInAnchor && containerNode.get() == start.conta… in endOfNextParagrahSplittingTextNodesIfNeeded()262 …if (end.anchorType() == Position::PositionIsOffsetInAnchor && containerNode.get() == end.container… in endOfNextParagrahSplittingTextNodesIfNeeded()266 …if (m_endOfLastParagraph.anchorType() == Position::PositionIsOffsetInAnchor && containerNode.get()… in endOfNextParagrahSplittingTextNodesIfNeeded()
82 ASSERT(start.anchorType() == Position::PositionIsOffsetInAnchor); in performTrivialReplace()83 ASSERT(end.anchorType() == Position::PositionIsOffsetInAnchor); in performTrivialReplace()163 ASSERT(startPosition.anchorType() == Position::PositionIsOffsetInAnchor); in input()
1073 … ASSERT(s.anchorType() == Position::PositionIsBeforeAnchor || s.offsetInContainerNode() <= 0); in removeInlineStyle()1080 ASSERT(s.anchorType() == Position::PositionIsAfterAnchor in removeInlineStyle()1121 ASSERT(start.anchorType() == Position::PositionIsOffsetInAnchor); in splitTextAtStart()1124 …if (end.anchorType() == Position::PositionIsOffsetInAnchor && start.containerNode() == end.contain… in splitTextAtStart()1136 ASSERT(end.anchorType() == Position::PositionIsOffsetInAnchor); in splitTextAtEnd()1138 …bool shouldUpdateStart = start.anchorType() == Position::PositionIsOffsetInAnchor && start.contain… in splitTextAtEnd()1150 ASSERT(start.anchorType() == Position::PositionIsOffsetInAnchor); in splitTextElementAtStart()1153 …if (end.anchorType() == Position::PositionIsOffsetInAnchor && start.containerNode() == end.contain… in splitTextElementAtStart()1165 ASSERT(end.anchorType() == Position::PositionIsOffsetInAnchor); in splitTextElementAtEnd()1167 …bool shouldUpdateStart = start.anchorType() == Position::PositionIsOffsetInAnchor && start.contain… in splitTextElementAtEnd()[all …]
544 if (!node || !node->isTextNode() || pos.anchorType() == Position::PositionIsAfterAnchor) in characterAfter()546 …ASSERT(pos.anchorType() == Position::PositionIsBeforeAnchor || pos.anchorType() == Position::Posit… in characterAfter()548 …unsigned offset = pos.anchorType() == Position::PositionIsOffsetInAnchor ? pos.offsetInContainerNo… in characterAfter()
369 if (insertionPosition.anchorType() == Position::PositionIsOffsetInAnchor) in doApply()
320 switch (position.anchorType()) { in updatePositionForNodeRemoval()410 …if (position.anchorType() != Position::PositionIsOffsetInAnchor || position.containerNode() != nod… in updatePositionForTextRemoval()
348 if (pos.anchorType() == Position::PositionIsAfterAnchor) in positionOutsideTabSpan()350 if (pos.anchorType() == Position::PositionIsBeforeAnchor) in positionOutsideTabSpan()416 if (position.anchorType() != Position::PositionIsOffsetInAnchor || !node || !node->isTextNode()) in canRebalance()
1324 ASSERT(start.anchorType() == Position::PositionIsOffsetInAnchor); in performTrivialReplace()1325 ASSERT(end.anchorType() == Position::PositionIsOffsetInAnchor); in performTrivialReplace()
383 if (position.anchorType() != Position::PositionIsOffsetInAnchor) in respondToChangedSelection()
759 Position::AnchorType type = p.anchorType(); in startOfParagraph()831 Position::AnchorType type = p.anchorType(); in endOfParagraph()
284 …if (!position.anchorNode() || position.anchorNode() != node || position.anchorType() != Position::… in shouldRemovePositionAfterAdoptingTextReplacement()1470 ASSERT(start().isNull() || start().anchorType() == Position::PositionIsOffsetInAnchor in isInPasswordField()
75 AnchorType anchorType() const { return static_cast<AnchorType>(m_anchorType); } in anchorType() function88 ASSERT(anchorType() == PositionIsOffsetInAnchor); in offsetInContainerNode()200 … && a.deprecatedEditingOffset() == b.deprecatedEditingOffset() && a.anchorType() == b.anchorType();
82 Position::Position(PassRefPtr<Node> anchorNode, AnchorType anchorType) in Position() argument85 , m_anchorType(anchorType) in Position()88 ASSERT(anchorType != PositionIsOffsetInAnchor); in Position()91 Position::Position(PassRefPtr<Node> anchorNode, int offset, AnchorType anchorType) in Position() argument94 , m_anchorType(anchorType) in Position()98 ASSERT(anchorType == PositionIsOffsetInAnchor); in Position()104 ASSERT(anchorType() == PositionIsOffsetInAnchor || m_isLegacyEditingPosition); in moveToPosition()112 ASSERT(anchorType() == PositionIsOffsetInAnchor || m_isLegacyEditingPosition); in moveToOffset()123 switch (anchorType()) { in containerNode()139 switch (anchorType()) { in computeOffsetInContainerNode()[all …]
42 this.anchorType = cr.ui.AnchorType.BELOW;158 positionPopupAroundElement(this, this.menu, this.anchorType,
82972 …Because m_anchorType : 2 is treated as a signed integer by cl.exe, anchorType() wasn't returning t…82973 We made m_anchorType unsigned so that anchorType() returns the correct value.82976 (WebCore::Position::anchorType): statically cast to AnchorType
14595 (WebCore::Position::anchorType):23765 (WebCore::Position::anchorType):