From ff18b2941cffb1b0efa185aa0c468b4470949b31 Mon Sep 17 00:00:00 2001 From: xzyfer Date: Thu, 4 Aug 2016 21:38:12 +1000 Subject: [PATCH] Add specs for issue 2140 This PR add specs for sass/libsass#2140 --- .../issue_2140/expected_output.css | 17 +++++++++++++++++ spec/libsass-todo-issues/issue_2140/input.scss | 9 +++++++++ 2 files changed, 26 insertions(+) create mode 100644 spec/libsass-todo-issues/issue_2140/expected_output.css create mode 100644 spec/libsass-todo-issues/issue_2140/input.scss diff --git a/spec/libsass-todo-issues/issue_2140/expected_output.css b/spec/libsass-todo-issues/issue_2140/expected_output.css new file mode 100644 index 0000000000..14a1019964 --- /dev/null +++ b/spec/libsass-todo-issues/issue_2140/expected_output.css @@ -0,0 +1,17 @@ +:root { + --teal: #444; } + +a { + content: var(--teal); } + +b { + content: -red; } + +c { + content: +-blue; } + +d { + content: -green; } + +e { + content: +yellow; } diff --git a/spec/libsass-todo-issues/issue_2140/input.scss b/spec/libsass-todo-issues/issue_2140/input.scss new file mode 100644 index 0000000000..1b9085098d --- /dev/null +++ b/spec/libsass-todo-issues/issue_2140/input.scss @@ -0,0 +1,9 @@ +:root { + --teal: #444; +} + +a { content: var(--teal) } +b { content: (- red) } +c { content: (+- blue) } +d { content: (-green) } +e { content: (+ yellow) }