HomeSort by relevance Sort by last modified time
    Searched refs:RuleData (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/css/
RuleSet.h 67 class RuleData {
70 RuleData(StyleRule*, unsigned selectorIndex, unsigned position, AddRuleFlags);
88 // Try to balance between memory usage (there can be lots of RuleData objects) and good filtering performance.
95 unsigned m_isLastInArray : 1; // We store an array of RuleData objects in a primitive array.
97 // Some simple testing showed <100,000 RuleData's on large sites.
118 COMPILE_ASSERT(sizeof(RuleData) == sizeof(SameSizeAsRuleData), RuleData_should_stay_small);
131 const RuleData* idRules(StringImpl* key) const { ASSERT(!m_pendingRules); return m_idRules.get(key); }
132 const RuleData* classRules(StringImpl* key) const { ASSERT(!m_pendingRules); return m_classRules.get(key); }
133 const RuleData* tagRules(StringImpl* key) const { ASSERT(!m_pendingRules); return m_tagRules.get(key); }
134 const RuleData* shadowPseudoElementRules(StringImpl* key) const { ASSERT(!m_pendingRules); return m_shadowPseudoE (…)
    [all...]
ElementRuleCollector.h 38 class RuleData;
53 explicit MatchedRule(const RuleData* ruleData, unsigned specificity, CascadeScope cascadeScope, CascadeOrder cascadeOrder, unsigned styleSheetIndex)
54 : m_ruleData(ruleData)
64 const RuleData* ruleData() const { return m_ruleData; }
67 unsigned specificity() const { return ruleData()->specificity() + m_specificity; }
71 const RuleData* m_ruleData;
117 void collectRuleIfMatches(const RuleData&, SelectorChecker::BehaviorAtBoundary, CascadeScope, CascadeOrder, const MatchRequest&, RuleRange&);
118 void collectMatchingRulesForList(const Vector<RuleData>*, SelectorChecker::BehaviorAtBoundary, CascadeScope, CascadeOrder, const MatchRequest&, RuleRange (…)
    [all...]
RuleSet.cpp 191 RuleData::RuleData(StyleRule* rule, unsigned selectorIndex, unsigned position, AddRuleFlags addRuleFlags)
210 static void collectFeaturesFromRuleData(RuleFeatureSet& features, const RuleData& ruleData)
214 for (const CSSSelector* selector = ruleData.selector(); selector; selector = selector->tagHistory()) {
235 features.siblingRules.append(RuleFeature(ruleData.rule(), ruleData.selectorIndex(), ruleData.hasDocumentSecurityOrigin()));
236 if (ruleData.containsUncommonAttributeSelector())
237 features.uncommonAttributeRules.append(RuleFeature(ruleData.rule(), ruleData.selectorIndex(), ruleData.hasDocumentSecurityOrigin()))
    [all...]
ElementRuleCollector.cpp 80 inline void ElementRuleCollector::addMatchedRule(const RuleData* rule, unsigned specificity, CascadeScope cascadeScope, CascadeOrder cascadeOrder, unsigned styleSheetIndex)
239 ensureStyleRuleList()->m_list.append(matchedRules[i].ruleData()->rule());
245 appendCSSOMWrapperForRule(matchedRules[i].ruleData()->rule());
252 const RuleData* ruleData = matchedRules[i].ruleData();
253 if (m_style && ruleData->containsUncommonAttributeSelector())
255 m_result.addMatchedProperties(ruleData->rule()->properties(), ruleData->rule(), ruleData->linkMatchType(), ruleData->propertyWhitelistType(m_matchingUARules))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
StyleResolver.h 66 class RuleData;
260 bool fastRejectSelector(const RuleData&) const;

Completed in 34 milliseconds