| Index: chrome/content/cssProperties.js |
| =================================================================== |
| --- a/chrome/content/cssProperties.js |
| +++ b/chrome/content/cssProperties.js |
| @@ -60,17 +60,17 @@ CSSPropertyFilters.prototype = { |
| { |
| var rules = stylesheet.cssRules; |
| if (!rules) |
| return; |
| for (var i = 0; i < rules.length; i++) |
| { |
| var rule = rules[i]; |
| - if (rule.type != this.window.CSSRule.STYLE_RULE) |
| + if (rule.type != rule.STYLE_RULE) |
| continue; |
| var style = this.stringifyStyle(rule.style); |
| for (var j = 0; j < this.patterns.length; j++) |
| { |
| var pattern = this.patterns[j]; |
| var regexp = pattern.regexp; |