diff options
author | Eevee (Alex Munroe) <eevee.git@veekun.com> | 2013-09-26 16:38:20 -0700 |
---|---|---|
committer | Eevee (Alex Munroe) <eevee.git@veekun.com> | 2013-09-26 16:49:47 -0700 |
commit | f2befeccb0a9abe20dd1d3665087ddc154eb7c43 (patch) | |
tree | 057f364d2e6c92ebc39ad5fea4ea0036fb796425 /docs | |
parent | 96e8d9a9d5409a87092c22b1cb5c6f5434ff763d (diff) | |
download | pyscss-f2befeccb0a9abe20dd1d3665087ddc154eb7c43.tar.gz |
Binary ops for lists.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/syntax.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/syntax.rst b/docs/syntax.rst index 855d626..408bc11 100644 --- a/docs/syntax.rst +++ b/docs/syntax.rst @@ -406,6 +406,7 @@ This is the same as the Sass syntax, but causes some parsing ambiguity, since selector or a mixin call. Its future is uncertain, but you should probably avoid using it in SCSS files. + Soft errors ----------- @@ -418,6 +419,19 @@ pyScss 2.0 is likely to be much stricter; don't rely on any particular abuse of syntax to work in the future. +Operations on lists +------------------- + +Binary operations with a list on the left-hand side are performed element-wise: + + p { + margin: (1em 0 3em) * 0.5; // => 0.5em 0 1.5em + } + +Given that future versions of the reference compiler are likely to introduce +built-in list operations, the future of this feature is unclear. + + Unsupported Sass features ========================= |