diff options
author | Haijian Wang <haijian@vaadin.com> | 2013-01-04 17:19:52 +0200 |
---|---|---|
committer | Haijian Wang <haijian@vaadin.com> | 2013-01-04 17:19:52 +0200 |
commit | a13ea142d985be05386ce08f7f86732b87dd0b0c (patch) | |
tree | f3f0df29275e3d31738a522ce285ec43aae5ef60 /theme-compiler/tests | |
parent | fb68bd53035fdd9cf0448623d5f6867fe17bab64 (diff) | |
download | vaadin-framework-a13ea142d985be05386ce08f7f86732b87dd0b0c.tar.gz vaadin-framework-a13ea142d985be05386ce08f7f86732b87dd0b0c.zip |
support interpolation in property name (#9410)
Change-Id: Idfb058daf796875cadf0262a2b8150fc1c103915
Diffstat (limited to 'theme-compiler/tests')
-rw-r--r-- | theme-compiler/tests/resources/automatic/css/interpolation-in-property-name.css | 6 | ||||
-rw-r--r-- | theme-compiler/tests/resources/automatic/scss/interpolation-in-property-name.scss | 9 |
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 |