DiviArea.Utils.compareCssSpecificity(a, b)
Determines, which CSS specificity is more specific
Params
a
- The first specificity array – see
DiviArea.Utils.getCssSpecificity()
. b
- The second specificity array.
Returns
The comparison result:
-1
- a is less specific than b
0
- both are equal
+1
- a is more specific than b
Notes
No notes