Searched refs:newInlineStyle (Results 1 - 3 of 3) sorted by relevance
/macosx-10.10/WebCore-7600.1.25/editing/ |
H A D | markup.cpp | 315 RefPtr<EditingStyle> newInlineStyle; local 318 newInlineStyle = m_wrappingStyle->copy(); 319 newInlineStyle->removePropertiesInElementDefaultStyle(const_cast<Element*>(&element)); 320 newInlineStyle->removeStyleConflictingWithStyleOfNode(const_cast<Element*>(&element)); 322 newInlineStyle = EditingStyle::create(); 325 newInlineStyle->overrideWithStyle(toStyledElement(element).inlineStyle()); 329 newInlineStyle->mergeStyleFromRulesForSerialization(toHTMLElement(const_cast<Element*>(&element))); 332 newInlineStyle->forceInline(); 335 m_needRelativeStyleWrapper |= newInlineStyle->convertPositionStyle(); 336 m_needClearingDiv |= newInlineStyle [all...] |
H A D | ReplaceSelectionCommand.cpp | 489 RefPtr<EditingStyle> newInlineStyle = EditingStyle::create(inlineStyle); local 495 if (newInlineStyle->conflictsWithImplicitStyleOfElement(htmlElement)) { 500 } else if (newInlineStyle->extractConflictingImplicitStyleOfAttributes(htmlElement, EditingStyle::PreserveWritingDirection, 0, attributes, 514 newInlineStyle->removeStyleFromRulesAndContext(element, document().documentElement()); 516 newInlineStyle->removeStyleFromRulesAndContext(element, context); 519 if (!inlineStyle || newInlineStyle->isEmpty()) { 526 } else if (newInlineStyle->style()->propertyCount() != inlineStyle->propertyCount()) 527 setNodeAttribute(element, styleAttr, newInlineStyle->style()->asText());
|
H A D | ApplyStyleCommand.cpp | 1010 RefPtr<EditingStyle> newInlineStyle = style; 1012 newInlineStyle = style->copy(); 1013 newInlineStyle->mergeInlineStyleOfElement(toHTMLElement(node), EditingStyle::OverrideValues); 1019 setNodeAttribute(toHTMLElement(node), styleAttr, newInlineStyle->style()->asText()); 1031 addInlineStyleIfNeeded(newInlineStyle.get(), node, node, DoNotAddStyledElement);
|
Completed in 174 milliseconds