summaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests/resources/scss
diff options
context:
space:
mode:
authorMarc Englund <marc@vaadin.com>2012-11-21 17:03:08 +0200
committerMarc Englund <marc@vaadin.com>2012-11-21 17:03:08 +0200
commit044fa4167edf5d0f48357679712eefda5602d6f9 (patch)
tree63dc81b57fe982d8f3c6bf522309342f7cbf8aa4 /theme-compiler/tests/resources/scss
parent6ed87c1b6ce280082c2dee21a6f87c1620e0ea79 (diff)
downloadvaadin-framework-044fa4167edf5d0f48357679712eefda5602d6f9.tar.gz
vaadin-framework-044fa4167edf5d0f48357679712eefda5602d6f9.zip
Fixes #10308 (parent reference & causes non-parent selectors to be dropped)
Change-Id: I4821d14b4dc2a9e83e6fbfba67d39e0e3e98970f
Diffstat (limited to 'theme-compiler/tests/resources/scss')
-rw-r--r--theme-compiler/tests/resources/scss/parent-selector.scss18
1 files changed, 17 insertions, 1 deletions
diff --git a/theme-compiler/tests/resources/scss/parent-selector.scss b/theme-compiler/tests/resources/scss/parent-selector.scss
index 68f66a4a27..c0ef46afb3 100644
--- a/theme-compiler/tests/resources/scss/parent-selector.scss
+++ b/theme-compiler/tests/resources/scss/parent-selector.scss
@@ -27,7 +27,23 @@ a {
}
.part {
- &.one, &.two {
+ &.one, &.two, .non-parent {
color: blue;
}
+}
+
+.root {
+ .part, .part2 {
+ &.one, .non-parent {
+ color: blue;
+ }
+ }
+}
+
+.root2 {
+ .part, .part2 {
+ .one, .non-parent {
+ color: blue;
+ }
+ }
} \ No newline at end of file