bool fastRejectSelector(const RuleData&) const;
- void applyMatchedProperties(const MatchResult&, const Element*);
+ enum ShouldUseMatchedPropertiesCache { DoNotUseMatchedPropertiesCache = 0, UseMatchedPropertiesCache };
+ void applyMatchedProperties(const MatchResult&, const Element*, ShouldUseMatchedPropertiesCache = UseMatchedPropertiesCache);
enum StyleApplicationPass {
HighPriorityProperties,
LowPriorityProperties
};
+
+ class CascadedProperties;
+
+ void applyCascadedProperties(CascadedProperties&, int firstProperty, int lastProperty);
+ void cascadeMatches(CascadedProperties&, const MatchResult&, bool important, int startIndex, int endIndex, bool inheritedOnly);
+
template <StyleApplicationPass pass>
void applyMatchedProperties(const MatchResult&, bool important, int startIndex, int endIndex, bool inheritedOnly);
template <StyleApplicationPass pass>
Color m_backgroundColor;
};
+ State& state() { return m_state; }
+
static RenderStyle* styleNotYetAvailable() { return s_styleNotYetAvailable; }
PassRefPtr<StyleImage> styleImage(CSSPropertyID, CSSValue*);