Lines Matching defs:stylesheet
309 CSSStyleSheet* stylesheet = static_cast<CSSStyleSheet*>(declaration->stylesheet());
310 if (!stylesheet || !stylesheet->document())
313 CSSProperty property(propertyId, stylesheet->document()->cssPrimitiveValueCache()->createIdentifierValue(valueID), important);
320 CSSProperty property(propertyId, stylesheet->document()->cssPrimitiveValueCache()->createColorValue(color), important);
401 CSSStyleSheet* stylesheet = static_cast<CSSStyleSheet*>(declaration->stylesheet());
402 if (!stylesheet || !stylesheet->document())
404 CSSProperty property(propertyId, stylesheet->document()->cssPrimitiveValueCache()->createValue(number, unit), important);
421 ASSERT(!declaration->stylesheet() || declaration->stylesheet()->isCSSStyleSheet());
422 setStyleSheet(static_cast<CSSStyleSheet*>(declaration->stylesheet()));
474 ASSERT(!declaration->stylesheet() || declaration->stylesheet()->isCSSStyleSheet());
475 setStyleSheet(static_cast<CSSStyleSheet*>(declaration->stylesheet()));
522 ASSERT(!declaration->stylesheet() || declaration->stylesheet()->isCSSStyleSheet());
523 setStyleSheet(static_cast<CSSStyleSheet*>(declaration->stylesheet()));
613 void CSSParser::setStyleSheet(CSSStyleSheet* styleSheet)
615 m_styleSheet = styleSheet;