OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:commonAncestor
(Results
1 - 7
of
7
) sorted by null
/external/webkit/Source/WebCore/editing/
FormatBlockCommand.cpp
104
Node*
commonAncestor
= range->commonAncestorContainer(ec);
105
while (
commonAncestor
&& !isElementForFormatBlock(
commonAncestor
))
106
commonAncestor
=
commonAncestor
->parentNode();
108
if (!
commonAncestor
)
112
if (!rootEditableElement ||
commonAncestor
->contains(rootEditableElement))
115
return
commonAncestor
->isElementNode() ? toElement(
commonAncestor
) : 0;
markup.cpp
394
static Node* ancestorToRetainStructureAndAppearance(Node*
commonAncestor
)
396
Node* commonAncestorBlock = enclosingBlock(
commonAncestor
);
482
Node*
commonAncestor
= range->commonAncestorContainer(ec);
483
ASSERT(
commonAncestor
);
488
specialCommonAncestor = ancestorToRetainStructureAndAppearance(
commonAncestor
);
495
Node* checkAncestor = specialCommonAncestor ? specialCommonAncestor :
commonAncestor
;
502
// If a single tab is selected,
commonAncestor
will be a text node inside a tab span.
503
// If two or more tabs are selected,
commonAncestor
will be the tab span.
506
if (!specialCommonAncestor && isTabSpanTextNode(
commonAncestor
))
507
specialCommonAncestor =
commonAncestor
->parentNode()
[
all
...]
/external/webkit/Source/WebCore/xml/
XPathNodeSet.cpp
56
Node*
commonAncestor
;
58
commonAncestor
= parentWithDepth(commonAncestorDepth, parentMatrix[from]);
64
if (
commonAncestor
!= parentWithDepth(commonAncestorDepth, parentMatrix[i])) {
79
if (
commonAncestor
== parentMatrix[i][0]) {
87
if (mayContainAttributeNodes &&
commonAncestor
->isElementNode()) {
96
if (n->isAttributeNode() && static_cast<Attr*>(n)->ownerElement() ==
commonAncestor
)
114
for (Node* n =
commonAncestor
->firstChild(); n; n = n->nextSibling()) {
/external/webkit/Source/WebCore/dom/
Range.cpp
518
Node*
commonAncestor
= commonAncestorContainer(containerA, containerB);
519
if (!
commonAncestor
) {
524
while (childA && childA->parentNode() !=
commonAncestor
)
527
childA =
commonAncestor
;
529
while (childB && childB->parentNode() !=
commonAncestor
)
532
childB =
commonAncestor
;
537
Node* n =
commonAncestor
->firstChild();
[
all
...]
/external/webkit/Source/WebCore/platform/mac/
PasteboardMac.mm
142
Node*
commonAncestor
= selectedRange->commonAncestorContainer(ec);
143
ASSERT(
commonAncestor
);
144
Node* enclosingAnchor = enclosingNodeWithTag(firstPositionInNode(
commonAncestor
), HTMLNames::aTag);
/external/webkit/Source/WebCore/html/parser/
HTMLTreeBuilder.cpp
[
all
...]
/external/webkit/Source/WebCore/rendering/
RenderLayer.cpp
[
all
...]
Completed in 509 milliseconds