|
@@ -208,7 +208,7 @@ discard block |
|
|
block discarded – undo |
|
208
|
208
|
if ( |
|
209
|
209
|
($existingProperty->isImportant() && $property->isImportant()) && |
|
210
|
210
|
($property->getOriginalSpecificity()->getValue() >= |
|
211
|
|
- $existingProperty->getOriginalSpecificity()->getValue()) |
|
|
211
|
+ $existingProperty->getOriginalSpecificity()->getValue()) |
|
212
|
212
|
) { |
|
213
|
213
|
// if both the properties are important we should use the specificity |
|
214
|
214
|
$cssProperties[$property->getName()] = $property; |
|
@@ -218,7 +218,7 @@ discard block |
|
|
block discarded – undo |
|
218
|
218
|
} elseif ( |
|
219
|
219
|
!$existingProperty->isImportant() && |
|
220
|
220
|
($property->getOriginalSpecificity()->getValue() >= |
|
221
|
|
- $existingProperty->getOriginalSpecificity()->getValue()) |
|
|
221
|
+ $existingProperty->getOriginalSpecificity()->getValue()) |
|
222
|
222
|
) { |
|
223
|
223
|
// if the existing propert is not important we should check the specificity |
|
224
|
224
|
$cssProperties[$property->getName()] = $property; |
Please login to merge, or discard this patch.