Example #1
0
 void AddMedia(WebDom.CssAtMedia atMedia)
 {
     if (!atMedia.HasMediaName)
     {
         //global media
         foreach (WebDom.CssRuleSet ruleSet in atMedia.GetRuleSetIter())
         {
             this.AddRuleSet(ruleSet);
         }
     }
     else
     {
         //has media name
     }
 }
Example #2
0
 void EvaluateMedia(WebDom.CssAtMedia atMedia)
 {
     foreach (var ruleset in atMedia.GetRuleSetIter())
     {
         EvaluateRuleSet(ruleset);
     }
 }