summaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests
diff options
context:
space:
mode:
Diffstat (limited to 'theme-compiler/tests')
-rw-r--r--theme-compiler/tests/resources/automatic/css/interpolation-in-property-name.css6
-rw-r--r--theme-compiler/tests/resources/automatic/scss/interpolation-in-property-name.scss9
2 files changed, 15 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/automatic/css/interpolation-in-property-name.css b/theme-compiler/tests/resources/automatic/css/interpolation-in-property-name.css
new file mode 100644
index 0000000000..61f0abbe7f
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/css/interpolation-in-property-name.css
@@ -0,0 +1,6 @@
+.rounded-top {
+ border-top-radius: 10px;
+ -moz-border-radius-top: 10px;
+ top-radius: 10px;
+ no-interpolation: no-interpolation;
+} \ No newline at end of file
diff --git a/theme-compiler/tests/resources/automatic/scss/interpolation-in-property-name.scss b/theme-compiler/tests/resources/automatic/scss/interpolation-in-property-name.scss
new file mode 100644
index 0000000000..9fc2e7c76e
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/scss/interpolation-in-property-name.scss
@@ -0,0 +1,9 @@
+$side: top;
+$radius: 10px;
+
+.rounded-#{$side} {
+ border-#{$side}-radius: $radius;
+ -moz-border-radius-#{$side}: $radius;
+ #{$side}-radius: $radius;
+ no-interpolation: no-interpolation;
+} \ No newline at end of file