| Index: third_party/WebKit/Source/core/dom/Element.h
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
|
| index 838fc917730f5e777fa1ad8ac20791980f0059f6..0074d4527e821a3f1cf6fe44ce46acbbf3e6225d 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.h
|
| +++ b/third_party/WebKit/Source/core/dom/Element.h
|
| @@ -68,6 +68,7 @@ class ScrollToOptions;
|
| class ShadowRoot;
|
| class ShadowRootInit;
|
| class StylePropertySet;
|
| +class StylePropertyMap;
|
|
|
| enum SpellcheckAttributeState {
|
| SpellcheckAttributeTrue,
|
| @@ -243,6 +244,7 @@ public:
|
| AttrNodeList* attrNodeList();
|
|
|
| CSSStyleDeclaration* style();
|
| + StylePropertyMap* styleMap();
|
|
|
| const QualifiedName& tagQName() const { return m_tagName; }
|
| String tagName() const { return nodeName(); }
|
| @@ -278,9 +280,11 @@ public:
|
|
|
| const StylePropertySet* inlineStyle() const { return elementData() ? elementData()->m_inlineStyle.get() : nullptr; }
|
|
|
| - bool setInlineStyleProperty(CSSPropertyID, CSSValueID identifier, bool important = false);
|
| - bool setInlineStyleProperty(CSSPropertyID, double value, CSSPrimitiveValue::UnitType, bool important = false);
|
| + void setInlineStyleProperty(CSSPropertyID, CSSValueID identifier, bool important = false);
|
| + void setInlineStyleProperty(CSSPropertyID, double value, CSSPrimitiveValue::UnitType, bool important = false);
|
| + void setInlineStyleProperty(CSSPropertyID, CSSValue*, bool important = false);
|
| bool setInlineStyleProperty(CSSPropertyID, const String& value, bool important = false);
|
| +
|
| bool removeInlineStyleProperty(CSSPropertyID);
|
| void removeAllInlineStyleProperties();
|
|
|
|
|