Exemple #1
0
        public StyleRule(string selectorText, IReadOnlyList <CssNode> children)
            : this(CssSelector.Parse(selectorText))
        {
            foreach (var child in children)
            {
                child.Parent = this;

                base.Children.Add(child);
            }
        }
Exemple #2
0
 public StyleRule(string selectorText)
     : this(CssSelector.Parse(selectorText))
 {
 }