Searched refs:startNode (Results 1 - 25 of 35) sorted by relevance

12

/macosx-10.10/WebCore-7600.1.25/editing/
H A DBreakBlockquoteCommand.cpp105 // startNode is the first node that we need to move to the new blockquote.
106 Node* startNode = pos.deprecatedNode(); local
109 if (startNode->isTextNode()) {
110 Text* textNode = toText(startNode);
112 startNode = NodeTraversal::next(startNode);
113 ASSERT(startNode);
117 Node* childAtOffset = startNode->childNode(pos.deprecatedEditingOffset());
118 startNode = childAtOffset ? childAtOffset : NodeTraversal::next(startNode);
[all...]
H A DModifySelectionListLevel.h40 void appendSiblingNodeRange(Node* startNode, Node* endNode, Element* newParent);
41 void insertSiblingNodeRangeBefore(Node* startNode, Node* endNode, Node* refNode);
42 void insertSiblingNodeRangeAfter(Node* startNode, Node* endNode, Node* refNode);
H A DTextInsertionBaseCommand.cpp63 if (Node* startNode = selectionForInsertion.start().containerNode()) {
64 if (startNode->rootEditableElement()) {
67 startNode->rootEditableElement()->dispatchEvent(evt, IGNORE_EXCEPTION);
H A DEditCommand.cpp121 void SimpleEditCommand::addNodeAndDescendants(Node* startNode, HashSet<Node*>& nodes) argument
123 for (Node* node = startNode; node; node = NodeTraversal::next(node, startNode))
H A DApplyStyleCommand.cpp372 Node* startNode = start.deprecatedNode(); local
373 if (startNode->isTextNode() && start.deprecatedEditingOffset() >= caretMaxOffset(startNode)) // Move out of text node if range does not include its characters.
374 startNode = NodeTraversal::next(startNode);
379 for (Node *node = startNode; node != beyondEnd; node = NodeTraversal::next(node))
386 for (Node* node = startNode; node != beyondEnd; node = NodeTraversal::next(node)) {
543 static Node* highestEmbeddingAncestor(Node* startNode, Node* enclosingNode) argument
545 for (Node* n = startNode; n && n != enclosingNode; n = n->parentNode()) {
688 Node* startNode local
754 applyInlineStyleToNodeRange(EditingStyle* style, PassRefPtr<Node> startNode, PassRefPtr<Node> pastEndNode) argument
1276 Node* startNode = start.containerNode(); local
1350 RefPtr<Node> startNode = passedStartNode; local
1418 positionToComputeInlineStyleChange(PassRefPtr<Node> startNode, RefPtr<Node>& dummyElement) argument
1432 RefPtr<Node> startNode = passedStart; local
[all...]
H A DDeleteSelectionCommand.cpp455 Node* startNode = m_upstreamStart.deprecatedNode(); local
460 if (startNode == m_startBlock && startOffset == 0 && canHaveChildrenForEditing(startNode) && !isHTMLTableElement(startNode)) {
462 startNode = NodeTraversal::next(startNode);
463 if (!startNode)
467 if (startOffset >= caretMaxOffset(startNode) && startNode->isTextNode()) {
468 Text* text = toText(startNode);
[all...]
H A DFormatBlockCommand.cpp42 static Node* enclosingBlockToSplitTreeTo(Node* startNode);
149 Node* enclosingBlockToSplitTreeTo(Node* startNode) argument
151 Node* lastBlock = startNode;
152 for (Node* n = startNode; n; n = n->parentNode()) {
H A DModifySelectionListLevel.cpp91 void ModifySelectionListLevelCommand::insertSiblingNodeRangeBefore(Node* startNode, Node* endNode, Node* refNode) argument
93 Node* node = startNode;
106 void ModifySelectionListLevelCommand::insertSiblingNodeRangeAfter(Node* startNode, Node* endNode, Node* refNode) argument
108 Node* node = startNode;
122 void ModifySelectionListLevelCommand::appendSiblingNodeRange(Node* startNode, Node* endNode, Element* newParent) argument
124 Node* node = startNode;
H A DVisibleUnits.cpp218 Node* startNode = startBox->renderer().nonPseudoNode(); local
219 if (!startNode)
222 Position position = previousRootInlineBoxCandidatePosition(startNode, visiblePosition, ContentIsEditable);
259 Node* startNode = startBox->renderer().nonPseudoNode(); local
260 if (!startNode)
263 Position position = nextRootInlineBoxCandidatePosition(startNode, visiblePosition, ContentIsEditable);
748 Node* startNode; local
751 startNode = rootBox->getLogicalStartBoxWithNode(startBox);
752 if (!startNode)
762 startNode
1097 Node* startNode = p.deprecatedNode(); local
1179 Node* startNode = p.deprecatedNode(); local
[all...]
H A Dmarkup.cpp123 Node* serializeNodes(Node* startNode, Node* pastEnd);
149 Node* traverseNodesForSerialization(Node* startNode, Node* pastEnd, NodeTraversalMode);
355 Node* StyledMarkupAccumulator::serializeNodes(Node* startNode, Node* pastEnd) argument
358 Node* lastClosed = traverseNodesForSerialization(startNode, pastEnd, DoNotEmitString);
365 return traverseNodesForSerialization(startNode, pastEnd, EmitString);
368 Node* StyledMarkupAccumulator::traverseNodesForSerialization(Node* startNode, Node* pastEnd, NodeTraversalMode traversalMode) argument
374 for (Node* n = startNode; n != pastEnd; n = next) {
434 // or b) ancestors that we never encountered during a pre-order traversal starting at startNode:
435 ASSERT(startNode->isDescendantOf(parent));
585 Node* startNode local
[all...]
H A DApplyStyleCommand.h98 void applyInlineStyleToNodeRange(EditingStyle*, PassRefPtr<Node> startNode, PassRefPtr<Node> pastEndNode);
102 void applyInlineStyleChange(PassRefPtr<Node> startNode, PassRefPtr<Node> endNode, StyleChange&, EAddStyledElement);
H A DReplaceSelectionCommand.cpp1312 Node* startNode = startDownstream.computeNodeAfterPosition(); local
1315 startNode = startDownstream.containerNode();
1320 if (needsLeadingSpace && startNode) {
1321 bool collapseWhiteSpace = !startNode->renderer() || startNode->renderer()->style().collapseWhiteSpace();
1322 if (startNode->isTextNode()) {
1323 insertTextIntoNode(toText(startNode), startOffset, collapseWhiteSpace ? nonBreakingSpaceString() : " ");
1324 if (m_endOfInsertedContent.containerNode() == startNode && m_endOfInsertedContent.offsetInContainerNode())
1330 insertNodeBefore(node, startNode);
H A DEditor.cpp780 Node* startNode;
782 startNode = m_frame.selection().selection().start().downstream().deprecatedNode();
784 if (enclosingBlock(startNode) != enclosingBlock(endNode))
787 startNode = m_frame.selection().selection().visibleStart().deepEquivalent().deprecatedNode();
789 auto renderer = startNode->renderer();
808 auto* startNode = enclosingElementWithTag(m_frame.selection().selection().start(), ulTag); local
810 if (startNode && endNode && startNode == endNode)
823 auto* startNode = enclosingElementWithTag(m_frame.selection().selection().start(), olTag); local
825 if (startNode
1394 simplifyMarkup(Node* startNode, Node* endNode) argument
3417 Node* startNode = range.startContainer(); local
[all...]
/macosx-10.10/WebCore-7600.1.25/html/
H A DHTMLFieldSetElement.cpp58 static void updateFromControlElementsAncestorDisabledStateUnder(HTMLElement& startNode, bool isDisabled) argument
61 if (isHTMLFormControlElement(startNode))
62 control = &toHTMLFormControlElement(startNode);
64 control = Traversal<HTMLFormControlElement>::firstWithin(&startNode);
69 control = Traversal<HTMLFormControlElement>::nextSkippingChildren(control, &startNode);
71 control = Traversal<HTMLFormControlElement>::next(control, &startNode);
H A DHTMLTextFormControlElement.cpp444 Node* startNode = 0; local
452 setContainerAndOffsetForRange(node, start - offset, startNode, start);
462 if (!startNode || !endNode)
465 return Range::create(document(), startNode, start, endNode, end);
598 Node* startNode = passedPosition.computeNodeBeforePosition(); local
599 if (!startNode)
600 startNode = passedPosition.containerNode();
601 ASSERT(startNode);
602 ASSERT(innerText->contains(startNode));
604 for (Node* node = startNode; nod
[all...]
/macosx-10.10/WebKit-7600.1.25/mac/WebView/
H A DWebHTMLRepresentation.h57 - (NSAttributedString *)attributedStringFrom:(DOMNode *)startNode startOffset:(int)startOffset to:(DOMNode *)endNode endOffset:(int)endOffset;
H A DWebHTMLRepresentation.mm278 - (NSAttributedString *)attributedStringFrom:(DOMNode *)startNode startOffset:(int)startOffset to:(DOMNode *)endNode endOffset:(int)endOffset
280 return editingAttributedStringFromRange(*Range::create(core(startNode)->document(), core(startNode), startOffset, core(endNode), endOffset));
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Base/
H A DUtilities.js227 var startNode;
239 if (!startNode)
240 startNode = stayWithinNode;
248 startNode = node;
255 if (startNode)
261 if (!startNode) {
262 startNode = stayWithinNode;
266 startNode = this;
306 result.setStart(startNode, startOffset);
/macosx-10.10/ICU-531.30/icuSources/common/
H A Drbbitblb.cpp457 RBBINode *startNode; local
459 startNode = (RBBINode *)matchStartNodes->elementAt(startNodeIx);
460 if (startNode->fType != RBBINode::leafChar) {
464 if (endNode->fVal == startNode->fVal) {
471 // to the second char of a match starting with startNode.
472 setAdd(endNode->fFollowPos, startNode->fFollowPos);
516 RBBINode *startNode; local
519 startNode = (RBBINode *)matchStartNodes->elementAt(startNodeIx);
520 if (startNode->fType != RBBINode::leafChar) {
524 if (startNode
[all...]
/macosx-10.10/WebCore-7600.1.25/dom/
H A DPosition.cpp569 Node* startNode = deprecatedNode(); local
570 if (!startNode)
574 Node* boundary = enclosingVisualBoundary(startNode);
578 bool startEditable = startNode->hasEditableStyle();
579 Node* lastNode = startNode;
635 if (currentNode != startNode) {
696 Node* startNode = deprecatedNode(); local
697 if (!startNode)
701 Node* boundary = enclosingVisualBoundary(startNode);
705 bool startEditable = startNode
[all...]
H A DNode.cpp2119 Node* startNode = this; local
2120 while (startNode && !startNode->renderer())
2121 startNode = startNode->parentOrShadowHostNode();
2123 if (startNode && startNode->renderer())
2125 frame->eventHandler().defaultWheelEventHandler(startNode, toWheelEvent(event));
/macosx-10.10/WebKit-7600.1.25/win/
H A DWebHTMLRepresentation.h61 /* [in] */ IDOMNode* startNode,
/macosx-10.10/WebKit-7600.1.25/win/Interfaces/
H A DIWebHTMLRepresentation.idl62 - (NSAttributedString *)attributedStringFrom:(DOMNode *)startNode startOffset:(int)startOffset to:(DOMNode *)endNode endOffset:(int)endOffset;
64 HRESULT attributedStringFromDOMNodes([in] IDOMNode* startNode, [in] int startOffset, [in] IDOMNode* endNode, [in] int endOffset, [out, retval] IDataObject** attributedString);
/macosx-10.10/WebCore-7600.1.25/accessibility/atk/
H A DWebKitAccessibleWrapperAtk.cpp1333 Node* startNode = 0; local
1342 startNode = axFirstChild->node();
1346 if (!startNode || startNode->isPseudoElement())
1347 startNode = firstUnignoredParent->node();
1353 if (!startNode)
1356 VisiblePosition startPosition = VisiblePosition(positionBeforeNode(startNode), DOWNSTREAM);
/macosx-10.10/WebCore-7600.1.25/editing/mac/
H A DEditorMac.mm129 Node* startNode = adjustedSelectionStartForStyleComputation(m_frame.selection().selection()).deprecatedNode();
130 if (range && startNode) {
134 for (Node* node = startNode; node && node != pastEnd; node = NodeTraversal::next(node)) {

Completed in 324 milliseconds

12