diff --git a/spec/libsass-todo-issues/issue_1217/expected.compact.css b/spec/libsass-todo-issues/issue_1217/expected.compact.css new file mode 100644 index 0000000000..a0f261b98c --- /dev/null +++ b/spec/libsass-todo-issues/issue_1217/expected.compact.css @@ -0,0 +1 @@ +foo [data-bar] { baz: bam; } diff --git a/spec/libsass-todo-issues/issue_1217/expected.compressed.css b/spec/libsass-todo-issues/issue_1217/expected.compressed.css new file mode 100644 index 0000000000..cd589df11c --- /dev/null +++ b/spec/libsass-todo-issues/issue_1217/expected.compressed.css @@ -0,0 +1 @@ +foo [data-bar]{baz:bam} diff --git a/spec/libsass-todo-issues/issue_1217/expected.expanded.css b/spec/libsass-todo-issues/issue_1217/expected.expanded.css new file mode 100644 index 0000000000..01302aeb0c --- /dev/null +++ b/spec/libsass-todo-issues/issue_1217/expected.expanded.css @@ -0,0 +1,3 @@ +foo [data-bar] { + baz: bam; +} diff --git a/spec/libsass-todo-issues/issue_1217/expected_output.css b/spec/libsass-todo-issues/issue_1217/expected_output.css new file mode 100644 index 0000000000..14d79f2f6c --- /dev/null +++ b/spec/libsass-todo-issues/issue_1217/expected_output.css @@ -0,0 +1,2 @@ +foo [data-bar] { + baz: bam; } diff --git a/spec/libsass-todo-issues/issue_1217/input.scss b/spec/libsass-todo-issues/issue_1217/input.scss new file mode 100644 index 0000000000..a3a2249e9a --- /dev/null +++ b/spec/libsass-todo-issues/issue_1217/input.scss @@ -0,0 +1,13 @@ +@function foo($foo) { + @return $foo; +} + +@function data($foo) { + @return '[data-' + $foo + ']'; +} + +#{foo(foo)} { + #{data('bar')} { + baz: bam; + } +}