Exemplo n.º 1
0
        protected override void ReplaceWith(ICssRule rule)
        {
            var newRule = rule as CSSGroupingRule;

            _rules.Clear();
            _rules.Import(newRule._rules, Owner, Parent);
        }
Exemplo n.º 2
0
        protected override void ReplaceWith(ICssRule rule)
        {
            var newRule = rule as CSSKeyframesRule;

            _name = newRule._name;
            _rules.Clear();
            _rules.Import(newRule._rules, Owner, Parent);
        }