Home
last modified time | relevance | path

Searched refs:wrappingStyleSpan (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
DReplaceSelectionCommand.cpp731 Node* wrappingStyleSpan = topNode; in handleStyleSpansBeforeInsertion() local
737 if (styleText != toElement(wrappingStyleSpan)->getAttribute(styleAttr)) in handleStyleSpansBeforeInsertion()
740 fragment.removeNodePreservingChildren(wrappingStyleSpan); in handleStyleSpansBeforeInsertion()
754 HTMLElement* wrappingStyleSpan = 0; in handleStyleSpans() local
760 wrappingStyleSpan = toHTMLElement(node); in handleStyleSpans()
767 if (!wrappingStyleSpan) in handleStyleSpans()
770 RefPtr<EditingStyle> style = EditingStyle::create(wrappingStyleSpan->inlineStyle()); in handleStyleSpans()
771 ContainerNode* context = wrappingStyleSpan->parentNode(); in handleStyleSpans()
789 if (style->isEmpty() || !wrappingStyleSpan->firstChild()) { in handleStyleSpans()
790 insertedNodes.willRemoveNodePreservingChildren(*wrappingStyleSpan); in handleStyleSpans()
[all …]