示例#1
0
文件: SchemaCSS.cs 项目: PavelPZ/REW
 public bool I_am_worse(ICssSpecificityData spec, bool important) {
   if (!this.important && important) return true;
   if (this.important && !important) return false;
   return this.spec.CompareTo(spec) < 0;
 }
示例#2
0
文件: SchemaCSS.cs 项目: PavelPZ/REW
 public specificity(ICssSpecificityData spec, bool important, string value) { this.spec = spec; this.important = important; this.value = value; }