.mybox {
  border: 1px solid black;  /* Noncompliant ![sc=3;ec=9;el=+0;secondary=+1]! !{Keep only one declaration of "border" property.}! */
  border: 1px solid black;
}

.mybox {
  border: 1px solid black;  /* Noncompliant ![sc=3;ec=9;el=+0;secondary=+1,+2]! !{Keep only one declaration of "border" property.}! */
  border: 1px solid black;
  border: 1px solid black;
}

.mybox {
  color: green;  /* Noncompliant ![sc=3;ec=8;el=+0;secondary=+4]! !{Keep only one declaration of "color" property.}! */
  background-color: blue;
  border: 1px solid black;  /* Noncompliant ![sc=3;ec=9;el=+0;secondary=+1,+3]! !{Keep only one declaration of "border" property.}! */
  border: 1px SOLID   black;
  color: green;
  border: 1px solid black;
}

.mybox {
  border: 1px solid black;  /* Noncompliant ![sc=3;ec=9;el=+0;secondary=+1,+2,+3]! !{Keep only one declaration of "border" property.}! */
  BORDER: 1px solid black;
  *BORDER: 1px solid black;
  _BORDER: 1px solid black;
}

/* Compliant: Same properties with different values, one right after the other */
.mybox {
  border: 1px solid black;
  border: 1px solid red;
}

/* Compliant: Same properties with different values, one right after the other */
.mybox {
  color: green;
  border: 1px solid black;
  BORDER: 1px solid red;
  border: 1px solid blue;
  background-color: red;
}

.mybox {
  border: 1px solid black;  /* Noncompliant ![sc=3;ec=9;el=+0;secondary=+3]! !{Keep only one declaration of "border" property.}! */
  border: 1px solid blue;
  color: green;
  border: 1px solid blue;
}

.mybox {
  -ms-border: 1px solid black;
  border: 1px solid blue; /* Noncompliant ![sc=3;ec=9;el=+0;secondary=+2]! !{Keep only one declaration of "border" property.}! */
  color: green;
  border: 1px solid blue;
}

.mybox {
  -ms-border: 1px solid black;
  -webkit-border: 1px solid blue;
  color: green;
  border: 1px solid blue;
}

.mybox {
  border: 1px solid blue;
  -ms-border: 1px solid black;
  -webkit-border: 1px solid blue;
  color: green;
}

/* Compliant: Same properties with different values, one right after the other */
.mybox {
  abc: 1px solid black;
  abc: 1px solid red;
  def: 1px solid black;
  def: 1px solid red;
}

/* Compliant: Same properties with different values, one right after the other */
@myvar: background;
.mybox {
  @{myvar}-color: 1px solid black;
  @{myvar}-color: 1px solid;
  @{myvar}-image: 1px solid black;
  @{myvar}-image: 1px solid;
}

@myvar: background;
.mybox {
  @{myvar}-color: 1px solid; /* Noncompliant ![sc=3;ec=17;el=+0;secondary=+1]! !{Keep only one declaration of "@{myvar}-color" property.}! */
  @{myvar}-color: 1px solid;
}

@myvar: background;
.mybox {
  @{myvar}-color: 1px solid black; /* Noncompliant ![sc=3;ec=17;el=+0;secondary=+3]! !{Keep only one declaration of "@{myvar}-color" property.}! */
  @{myvar}-color: 1px solid;
  @{myvar}-image: 1px;
  @{myvar}-color: 1px solid;
}

.mybox {
  clip: rect(0 0 0 0);
  clip: rect(0, 0, 0, 0);
}
