diff options
author | Eevee (Alex Munroe) <eevee.git@veekun.com> | 2014-10-17 15:53:18 -0700 |
---|---|---|
committer | Eevee (Alex Munroe) <eevee.git@veekun.com> | 2014-10-17 15:53:18 -0700 |
commit | b6d086d4802ecc21f4d799ee9d9a74bcafeba897 (patch) | |
tree | 722d3ea42731567f65359e76455440e8161cf6c9 /scss/tests | |
parent | 42cd58952d71e30ef8ef51996394be217d76c415 (diff) | |
download | pyscss-b6d086d4802ecc21f4d799ee9d9a74bcafeba897.tar.gz |
Allow arbitrary expressions as map keys, beyond the first key. Fixes #306.
Diffstat (limited to 'scss/tests')
-rw-r--r-- | scss/tests/files/general/maps-complex-keys.css | 3 | ||||
-rw-r--r-- | scss/tests/files/general/maps-complex-keys.scss | 22 |
2 files changed, 25 insertions, 0 deletions
diff --git a/scss/tests/files/general/maps-complex-keys.css b/scss/tests/files/general/maps-complex-keys.css new file mode 100644 index 0000000..68cc0b2 --- /dev/null +++ b/scss/tests/files/general/maps-complex-keys.css @@ -0,0 +1,3 @@ +caption { + properties: show hide show-columns show-baseline; +} diff --git a/scss/tests/files/general/maps-complex-keys.scss b/scss/tests/files/general/maps-complex-keys.scss new file mode 100644 index 0000000..8698bd6 --- /dev/null +++ b/scss/tests/files/general/maps-complex-keys.scss @@ -0,0 +1,22 @@ +// Taken from issue #306 +$susy-keywords: ( + container: auto, + math: static fluid, + output: isolate float, + container-position: left center right, + flow: ltr rtl, + gutter-position: before after split inside inside-static, + box-sizing: border-box content-box, + span: full, + edge: first alpha last omega full, + spread: narrow wide wider, + gutter-override: no-gutters no-gutter, + role: nest, + clear: break nobreak, + debug image: show hide show-columns show-baseline, + debug output: background overlay, +); + +caption { + properties: map-get($susy-keywords, debug image); +} |