We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4751634 commit 0bebd18Copy full SHA for 0bebd18
lib/Sabberworm/CSS/Value/Size.php
@@ -61,8 +61,7 @@ private static function getSizeUnits() {
61
self::$SIZE_UNITS[$iSize][strtolower($val)] = $val;
62
}
63
64
- // FIXME: Should we not order the longest units first?
65
- ksort(self::$SIZE_UNITS, SORT_NUMERIC);
+ krsort(self::$SIZE_UNITS, SORT_NUMERIC);
66
67
68
return self::$SIZE_UNITS;
0 commit comments