Skip to content

v2.0.0

Compare
Choose a tag to compare
@TxHawks TxHawks released this 26 Oct 10:31
· 3 commits to master since this release

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, rotateY and
    rotateZ values of the transform property (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.