Gets a list of all Cascading Style Sheets (CSS) rules contained within the parent object.
HRESULT IHTMLStyleSheet4::get_cssRules(IHTMLStyleSheetRulesCollection **p);
- Address of a pointer to a variable of type IHTMLStyleSheetRulesCollection interface that receives a list of all CSS rules contained within the parent object.
Returns S_OK if successful, or an error value otherwise.
Rules are returned in the same order as they are listed in the parent object. Rules that were dropped during parsing (for instance, because of syntax errors) are not included. However, rules that use a selector or property that Internet Explorer does not recognize are included in the list.