hasmin v1.0.3 Release Notes
Release Date: 2019-01-02 // over 5 years ago-
๐ Fixed
overflow: visible hidden
minifying asoverflow:hidden
. Now it's left untouched. It's possible that there where other instances of this, which sould now be fixed.- quickcheck-instances upper bound not admitting version 0.3.19 (#5)
- Incorrect description for two flags in the usage info (when running
--help
). The descriptions for-no-@kfsel-min
and-no-transform-function-min
were swapped.
โ Added
0๏ธโฃ Minification for properties with a pair of values whose second one defaults to the first when missing. For example:
overflow: clip clip
is minified tooverflow: clip
. This also properly interacts with property traits, i.e.overflow: visible visible
is properly minified tooverflow: unset
(sincevisible visible
is equivalent tovisible
, andvisible
is the initial value and overflow doesn't inherit, thusunset
). Among the properties for which this is now done are:border-bottom-left-radius
border-bottom-right-radius
border-top-left-radius
border-top-right-radius
overscroll-behavior
Property traits for
overscroll-behavior
and its longhands,overscroll-behavior-x
andoverscroll-behavior-y
.๐ Minification for
object-position
. This property's value is now parsed as a<position>
, allowing to apply all the minifications a<position>
allows.Minification for
text-emphasis-position
. This property now correctly utilizes its traits, e.g.text-emphasis-position: right over
minifies totext-emphasis-position: unset
.
Previous changes from v1.0.2
-
โ Added
caret-color
andfont-display
to the property traits table, enabling their minification.border-radius
minification.- ๐ Parsing and minification of
<basic-shape>
.
๐ Improved
- Position minification