summaryrefslogtreecommitdiffstats
path: root/tests/sass/resources
diff options
context:
space:
mode:
authorHaijian Wang <haijian@vaadin.com>2012-08-21 12:41:52 +0300
committerHaijian Wang <haijian@vaadin.com>2012-08-21 12:41:52 +0300
commit3d757bddfc2a07a77879fb3310e6dbbc49a1a079 (patch)
tree260122b3b511a238f6975c19d06fbed2d213c8d5 /tests/sass/resources
parentcc13349d7c0526cfda81fb846b4565a2e7af5d76 (diff)
downloadvaadin-framework-3d757bddfc2a07a77879fb3310e6dbbc49a1a079.tar.gz
vaadin-framework-3d757bddfc2a07a77879fb3310e6dbbc49a1a079.zip
fixed the hsl bug reported by Jouni, it is caused by the LexicalUnitImpl replace function and the updateVaule function in VariableVisitor
Diffstat (limited to 'tests/sass/resources')
-rw-r--r--tests/sass/resources/css/var-guarded.css4
-rw-r--r--tests/sass/resources/scss/var-guarded.scss8
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/sass/resources/css/var-guarded.css b/tests/sass/resources/css/var-guarded.css
new file mode 100644
index 0000000000..c4a8c49d12
--- /dev/null
+++ b/tests/sass/resources/css/var-guarded.css
@@ -0,0 +1,4 @@
+#main {
+ content: "First content";
+ new-content: "First time reference";
+} \ No newline at end of file
diff --git a/tests/sass/resources/scss/var-guarded.scss b/tests/sass/resources/scss/var-guarded.scss
new file mode 100644
index 0000000000..8f7aab8fa9
--- /dev/null
+++ b/tests/sass/resources/scss/var-guarded.scss
@@ -0,0 +1,8 @@
+$content: "First content";
+$content: "Second content?" !default;
+$new_content: "First time reference" !default;
+
+#main {
+ content: $content;
+ new-content: $new_content;
+} \ No newline at end of file