Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DMetricsSidebarPane.js90 this.inlineStyle = style;
372 if ("originalPropertyData" in this && this.inlineStyle) {
375 var pastLastSourcePropertyIndex = this.inlineStyle.pastLastSourcePropertyIndex();
377 … this.inlineStyle.allProperties[pastLastSourcePropertyIndex - 1].setText("", false);
379 …this.inlineStyle.allProperties[this.originalPropertyData.index].setText(this.originalPropertyData.…
387 if (!this.inlineStyle) {
432 self.inlineStyle = style;
446 var allProperties = this.inlineStyle.allProperties;
457 this.inlineStyle.appendProperty(context.styleProperty, userInput, callback);
DAuditRules.js811 var inlineStyle = styles.inlineStyle;
812 if (inlineStyle) {
813 if (inlineStyle.getPropertyValue("width") !== "")
815 if (inlineStyle.getPropertyValue("height") !== "")
847 function inlineCallback(inlineStyle, attributesStyle) argument
849 targetResult.inlineStyle = inlineStyle;
DStylesSidebarPane.js372 function inlineCallback(inlineStyle, attributesStyle) argument
374 resultStyles.inlineStyle = inlineStyle;
546 if (styles.inlineStyle && node.nodeType() === Node.ELEMENT_NODE) {
547 … var inlineStyle = { selectorText: "element.style", style: styles.inlineStyle, isAttribute: true }; variable
548 styleRules.push(inlineStyle);
579 if (parentStyles.inlineStyle) {
580 if (this._containsInherited(parentStyles.inlineStyle)) {
581 …var inlineStyle = { selectorText: WebInspector.UIString("Style Attribute"), style: parentStyles.in… variable
586 styleRules.push(inlineStyle);
DCSSStyleModel.js133 if (entryPayload.inlineStyle)
134 … entry.inlineStyle = WebInspector.CSSStyleDeclaration.parsePayload(entryPayload.inlineStyle);
/external/chromium_org/third_party/WebKit/Source/core/editing/
DApplyStyleCommand.cpp79 || !element->inlineStyle() || element->inlineStyle()->isEmpty())) in hasNoAttributeOrOnlyStyleAttribute()
393 … RefPtr<MutableStylePropertySet> inlineStyle = copyStyleOrCreateEmpty(element->inlineStyle()); in applyRelativeFontStyleChange() local
396 RefPtr<CSSValue> value = inlineStyle->getPropertyCSSValue(CSSPropertyFontSize); in applyRelativeFontStyleChange()
402inlineStyle->setProperty(CSSPropertyFontSize, cssValuePool().createValue(desiredFontSize, CSSPrimi… in applyRelativeFontStyleChange()
403 setNodeAttribute(element.get(), styleAttr, AtomicString(inlineStyle->asText())); in applyRelativeFontStyleChange()
405 if (inlineStyle->isEmpty()) { in applyRelativeFontStyleChange()
519 … RefPtr<MutableStylePropertySet> inlineStyle = copyStyleOrCreateEmpty(element->inlineStyle()); in removeEmbeddingUpToEnclosingBlock() local
520 inlineStyle->setProperty(CSSPropertyUnicodeBidi, CSSValueNormal); in removeEmbeddingUpToEnclosingBlock()
521 inlineStyle->removeProperty(CSSPropertyDirection); in removeEmbeddingUpToEnclosingBlock()
522 setNodeAttribute(element, styleAttr, AtomicString(inlineStyle->asText())); in removeEmbeddingUpToEnclosingBlock()
[all …]
DEditingStyle.cpp740 const StylePropertySet* inlineStyle = element->inlineStyle(); in conflictsWithInlineStyleOfElement() local
741 if (!m_mutableStyle || !inlineStyle) in conflictsWithInlineStyleOfElement()
752 …if (propertyID == CSSPropertyWebkitTextDecorationsInEffect && inlineStyle->getPropertyCSSValue(tex… in conflictsWithInlineStyleOfElement()
761 …(textDecorationPropertyForEditing(), inlineStyle->getPropertyValue(textDecorationPropertyForEditin… in conflictsWithInlineStyleOfElement()
765 if (!inlineStyle->getPropertyCSSValue(propertyID)) in conflictsWithInlineStyleOfElement()
768 …if (propertyID == CSSPropertyUnicodeBidi && inlineStyle->getPropertyCSSValue(CSSPropertyDirection)… in conflictsWithInlineStyleOfElement()
773 …extractedStyle->setProperty(propertyID, inlineStyle->getPropertyValue(propertyID), inlineStyle->pr… in conflictsWithInlineStyleOfElement()
782 …extractedStyle->setProperty(propertyID, inlineStyle->getPropertyValue(propertyID), inlineStyle->pr… in conflictsWithInlineStyleOfElement()
930 if (const StylePropertySet* style = element->inlineStyle()) { in elementIsStyledSpanOrHTMLEquivalent()
996 if (!element->inlineStyle()) in mergeInlineStyleOfElement()
[all …]
DRemoveCSSPropertyCommand.cpp52 const StylePropertySet* style = m_element->inlineStyle(); in doApply()
DApplyBlockElementCommand.h41 …ApplyBlockElementCommand(Document&, const QualifiedName& tagName, const AtomicString& inlineStyle);
DApplyBlockElementCommand.cpp45 …ckElementCommand(Document& document, const QualifiedName& tagName, const AtomicString& inlineStyle) in ApplyBlockElementCommand() argument
48 , m_inlineStyle(inlineStyle) in ApplyBlockElementCommand()
DReplaceSelectionCommand.cpp477 const StylePropertySet* inlineStyle = element->inlineStyle(); in removeRedundantStylesAndKeepStyleSpanInline() local
478 RefPtr<EditingStyle> newInlineStyle = EditingStyle::create(inlineStyle); in removeRedundantStylesAndKeepStyleSpanInline()
479 if (inlineStyle) { in removeRedundantStylesAndKeepStyleSpanInline()
509 if (!inlineStyle || newInlineStyle->isEmpty()) { in removeRedundantStylesAndKeepStyleSpanInline()
516 } else if (newInlineStyle->style()->propertyCount() != inlineStyle->propertyCount()) { in removeRedundantStylesAndKeepStyleSpanInline()
770 RefPtr<EditingStyle> style = EditingStyle::create(wrappingStyleSpan->inlineStyle()); in handleStyleSpans()
Dmarkup.cpp303 if (element->isStyledElement() && element->inlineStyle()) in appendElement()
304 newInlineStyle->overrideWithStyle(element->inlineStyle()); in appendElement()
487 RefPtr<EditingStyle> style = EditingStyle::create(element->inlineStyle()); in styleFromMatchedRulesAndInlineDecl()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DElement.cpp3357 …&& (!other.m_elementData->inlineStyle() || !other.m_elementData->inlineStyle()->hasCSSOMWrapper())) in cloneAttributesFromElement()
3418 if (const StylePropertySet* inlineStyle = this->inlineStyle()) in synchronizeStyleAttributeInternal() local
3419 const_cast<Element*>(this)->setSynchronizedLazyAttribute(styleAttr, inlineStyle->asText()); in synchronizeStyleAttributeInternal()
3432 RefPtr<StylePropertySet>& inlineStyle = ensureUniqueElementData()->m_inlineStyle; in ensureMutableInlineStyle() local
3433 if (!inlineStyle) { in ensureMutableInlineStyle()
3435 inlineStyle = MutableStylePropertySet::create(mode); in ensureMutableInlineStyle()
3436 } else if (!inlineStyle->isMutable()) { in ensureMutableInlineStyle()
3437 inlineStyle = inlineStyle->mutableCopy(); in ensureMutableInlineStyle()
3439 return toMutableStylePropertySet(inlineStyle); in ensureMutableInlineStyle()
3444 if (!inlineStyle() || !inlineStyle()->hasCSSOMWrapper()) in inlineStyleCSSOMWrapper()
[all …]
DElementData.h59 const StylePropertySet* inlineStyle() const { return m_inlineStyle.get(); } in inlineStyle() function
DElement.h250 …const StylePropertySet* inlineStyle() const { return elementData() ? elementData()->m_inlineStyle.… in inlineStyle() function
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasStyle.cpp58 if (!canvas || !canvas->inDocument() || !canvas->inlineStyle()) in currentColor()
61 CSSParser::parseColor(rgba, canvas->inlineStyle()->getPropertyValue(CSSPropertyColor)); in currentColor()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorStyleSheet.h263 …leForId(const InspectorCSSId& id) const { ASSERT_UNUSED(id, !id.ordinal()); return inlineStyle(); } in styleForId()
270 …aFor(CSSStyleDeclaration* style) const { ASSERT_UNUSED(style, style == inlineStyle()); return m_ru… in ruleSourceDataFor()
282 CSSStyleDeclaration* inlineStyle() const;
DInspectorCSSAgent.h136 …sForNode(ErrorString*, int nodeId, RefPtr<TypeBuilder::CSS::CSSStyle>& inlineStyle, RefPtr<TypeBui…
DInspectorStyleSheet.cpp1704 m_inspectorStyle = InspectorStyle::create(InspectorCSSId(id, 0), inlineStyle(), this); in InspectorStyleSheetForInlineStyle()
1712 m_inspectorStyle = InspectorStyle::create(InspectorCSSId(id(), 0), inlineStyle(), this); in didModifyElementAttribute()
1728 ASSERT_UNUSED(style, style == inlineStyle()); in setStyleText()
1782 CSSStyleDeclaration* InspectorStyleSheetForInlineStyle::inlineStyle() const in inlineStyle() function in WebCore::InspectorStyleSheetForInlineStyle
DInspectorCSSAgent.cpp999 …orString* errorString, int nodeId, RefPtr<TypeBuilder::CSS::CSSStyle>& inlineStyle, RefPtr<TypeBui… in getInlineStylesForNode() argument
1009 inlineStyle = styleSheet->buildObjectForStyle(element->style()); in getInlineStylesForNode()
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DSharedStyleFinder.cpp176 if (candidate.inlineStyle()) in canShareStyleWithElement()
228 if (parent->inlineStyle()) in canShareStyleWithElement()
DStyleResolver.cpp573 if (state.element()->inlineStyle()) { in matchAllRules()
575 bool isInlineStyleCacheable = !state.element()->inlineStyle()->isMutable(); in matchAllRules()
576 … collector.addElementStyleProperties(state.element()->inlineStyle(), isInlineStyleCacheable); in matchAllRules()
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DMediaControlElementTypes.cpp87 const StylePropertySet* propertySet = m_element->inlineStyle(); in isShowing()
/external/chromium_org/third_party/WebKit/Source/core/page/
DPageSerializer.cpp223 retrieveResourcesForProperties(element->inlineStyle(), document); in serializeFrame()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderTreeAsText.cpp128 const StylePropertySet* inlineStyleDecl = elem->inlineStyle(); in isEmptyOrUnstyledAppleStyleSpan()