| Index: sky/engine/core/dom/Element.h
|
| diff --git a/sky/engine/core/dom/Element.h b/sky/engine/core/dom/Element.h
|
| index 0cb5b0d4d9c012747cbbffd1e81e9d5b41c44d33..9c3169644223ce80e8047fcbae8e70789775be74 100644
|
| --- a/sky/engine/core/dom/Element.h
|
| +++ b/sky/engine/core/dom/Element.h
|
| @@ -163,6 +163,10 @@ public:
|
|
|
| void invalidateStyleAttribute();
|
|
|
| + bool affectedByAttributeSelector(const AtomicString& attributeName) const;
|
| + bool affectedByClassSelector(const AtomicString& classValue) const;
|
| + bool affectedByIdSelector(const AtomicString& idValue) const;
|
| +
|
| const StylePropertySet* inlineStyle() const { return elementData() ? elementData()->m_inlineStyle.get() : 0; }
|
|
|
| bool setInlineStyleProperty(CSSPropertyID, CSSValueID identifier, bool important = false);
|
| @@ -327,6 +331,8 @@ protected:
|
| private:
|
| void attributeChanged(const QualifiedName&, const AtomicString&, AttributeModificationReason = ModifiedDirectly);
|
|
|
| + bool classChangeNeedsStyleRecalc(const SpaceSplitString& oldClasses, const SpaceSplitString& newClasses);
|
| +
|
| bool hasElementFlag(ElementFlags mask) const { return hasRareData() && hasElementFlagInternal(mask); }
|
| void setElementFlag(ElementFlags, bool value = true);
|
| void clearElementFlag(ElementFlags);
|
|
|