summaryrefslogtreecommitdiff
path: root/scss/tests
diff options
context:
space:
mode:
authorEevee (Alex Munroe) <eevee.git@veekun.com>2014-10-17 15:53:18 -0700
committerEevee (Alex Munroe) <eevee.git@veekun.com>2014-10-17 15:53:18 -0700
commitb6d086d4802ecc21f4d799ee9d9a74bcafeba897 (patch)
tree722d3ea42731567f65359e76455440e8161cf6c9 /scss/tests
parent42cd58952d71e30ef8ef51996394be217d76c415 (diff)
downloadpyscss-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.css3
-rw-r--r--scss/tests/files/general/maps-complex-keys.scss22
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);
+}