Home | History | Annotate | Download | only in rendering

Lines Matching refs:ancestor

4149     RenderObject* ancestor = parent;
4150 while (ancestor && !ancestor->node())
4151 ancestor = ancestor->parent();
4153 // If we can't find an ancestor to check editability on, or editability is unchanged, we recur like normal
4154 if (!ancestor || ancestor->node()->rendererIsEditable() == childNode->rendererIsEditable())
4161 return ancestor->createVisiblePosition(childNode->nodeIndex(), DOWNSTREAM);
4162 return ancestor->createVisiblePosition(childNode->nodeIndex() + 1, UPSTREAM);