function walkStyleRules(node, iterator) {
            if (node.stylesheet)
                return walkStyleRules(node.stylesheet, iterator);
            node.rules = node.rules.filter(function (rule) {
                if (rule.rules) {
                    walkStyleRules(rule, iterator);
                }
                rule._other = undefined;
                rule.filterSelectors = filterSelectors;
                return iterator(rule) !== false;
            });
        }
/**
         * Recursively walk all rules in a stylesheet.
         * @private
         * @param {css.Rule} node       A Stylesheet or Rule to descend into.
         * @param {Function} iterator   Invoked on each node in the tree. Return `false` to remove that node.
         */
Recursively walk all rules in a stylesheet.
@private
@param {css.Rule} node       A Stylesheet or Rule to descend into.
@param {Function} iterator   Invoked on each node in the tree. Return `false` to remove that node.
Recursively walk all rules in a stylesheet . @private @param { css . Rule } node A Stylesheet or Rule to descend into . @param { Function } iterator Invoked on each node in the tree . Return ` false ` to remove that node .
function walkStyleRules(node, iterator) {
            if (node.stylesheet)
                return walkStyleRules(node.stylesheet, iterator);
            node.rules = node.rules.filter(function (rule) {
                if (rule.rules) {
                    walkStyleRules(rule, iterator);
                }
                rule._other = undefined;
                rule.filterSelectors = filterSelectors;
                return iterator(rule) !== false;
            });
        }
function walkStyleRules ( node , iterator ) { if ( node . stylesheet ) return walkStyleRules ( node . stylesheet , iterator ) ; node . rules = node . rules . filter ( function ( rule ) { if ( rule . rules ) { walkStyleRules ( rule , iterator ) ; } rule . _other = undefined ; rule . filterSelectors = filterSelectors ; return iterator ( rule ) !== false ; } ) ; }
Recursively walk all rules in a stylesheet.
Recursively walk all rules in a stylesheet .