Searched refs:cssRule (Results 1 – 3 of 3) sorted by relevance
64 CSSRule* cssRule = listType->item(i); in collect() local65 switch (cssRule->type()) { in collect()67 collect(toCSSImportRule(cssRule)->styleSheet()); in collect()70 collect(toCSSMediaRule(cssRule)); in collect()73 collect(toCSSSupportsRule(cssRule)); in collect()76 collect(toCSSRegionRule(cssRule)); in collect()79 … m_styleRuleToCSSOMWrapperMap.add(toCSSStyleRule(cssRule)->styleRule(), toCSSStyleRule(cssRule)); in collect()
138 CSSRule* cssRule = m_extraChildRuleCSSOMWrappers[i].get(); in extraCSSOMWrapperIndices() local139 ASSERT(cssRule->type() == CSSRule::STYLE_RULE); in extraCSSOMWrapperIndices()140 StyleRule* styleRule = toCSSStyleRule(cssRule)->styleRule(); in extraCSSOMWrapperIndices()255 RefPtr<CSSRule>& cssRule = m_childRuleCSSOMWrappers[index]; in item() local256 if (!cssRule) { in item()259 cssRule = CSSCharsetRule::create(this, m_contents->encodingFromCharsetRule()); in item()261 cssRule = m_contents->ruleAt(index)->createCSSOMWrapper(this); in item()263 return cssRule.get(); in item()
205 CSSRule* cssRule = sheet->item(j); in findStyleSheet() local206 if (cssRule->type() != CSSRule::STYLE_RULE) in findStyleSheet()208 CSSStyleRule* cssStyleRule = toCSSStyleRule(cssRule); in findStyleSheet()223 RefPtr<CSSRule> cssRule = rule->createCSSOMWrapper(sheet); in appendCSSOMWrapperForRule() local225 sheet->registerExtraChildRuleCSSOMWrapper(cssRule); in appendCSSOMWrapperForRule()226 ensureRuleList()->rules().append(cssRule); in appendCSSOMWrapperForRule()