From a13ea142d985be05386ce08f7f86732b87dd0b0c Mon Sep 17 00:00:00 2001 From: Haijian Wang Date: Fri, 4 Jan 2013 17:19:52 +0200 Subject: support interpolation in property name (#9410) Change-Id: Idfb058daf796875cadf0262a2b8150fc1c103915 --- .../resources/automatic/css/interpolation-in-property-name.css | 6 ++++++ .../resources/automatic/scss/interpolation-in-property-name.scss | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100644 theme-compiler/tests/resources/automatic/css/interpolation-in-property-name.css create mode 100644 theme-compiler/tests/resources/automatic/scss/interpolation-in-property-name.scss (limited to 'theme-compiler/tests') 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 -- cgit v1.2.3