v2.0.0
2.0.0 (2017-10-26)
Docs
- Document the fact that this library is a static solution, not a polyfill (0c42b8f)
Features
- Update to latest version of rtl-css-js which supports handling the
rotate,rotateYand
rotateZvalues of thetransformproperty (013c969)
Bug Fixes
Fix how four-directional shorthand properties are handled to align with the spec. (df2f17e)
BREAKING CHANGES
Fix how four-directional shorthand properties are handled to align with the spec.
The CSS Logical Properties and Values proposal alters the way values of four-directional shorthand properties (padding, margin, etc.)
are evaluated when using the logical keyword.
The values of these properties, without the logical keyword are written evaluated clock-wise: top, right, bottom and left. While in ltr mode, that would translate to block-start, inline-end, block-end and inline-start.
However, under the new spec, when the logical keyword is used, values order is interpreted as block-start, inline-start, block-end and inline-end.
This was previously handled wrong, and would change the output compared with versions of this library prior to this commit.