diff options
author | Sebastian Nyholm <sebastian@vaadin.com> | 2012-11-15 14:33:28 +0200 |
---|---|---|
committer | Sebastian Nyholm <sebastian@vaadin.com> | 2012-11-15 14:51:42 +0200 |
commit | 7e458a4acf1276ae00872954e9082cc412bfa10a (patch) | |
tree | b26d15964aeeb3174009cc25bb8a7c66ebc18d03 /theme-compiler/tests/resources | |
parent | e54ff59fbe6a5452b469a355176351cd710663d1 (diff) | |
download | vaadin-framework-7e458a4acf1276ae00872954e9082cc412bfa10a.tar.gz vaadin-framework-7e458a4acf1276ae00872954e9082cc412bfa10a.zip |
(#10182) Rule order not preserved when using parent reference in sass
Change-Id: Ief701eef3a262c4fd0c14241c54b3d57cb858027
Diffstat (limited to 'theme-compiler/tests/resources')
-rw-r--r-- | theme-compiler/tests/resources/css/parent-selector.css | 4 | ||||
-rw-r--r-- | theme-compiler/tests/resources/scss/parent-selector.scss | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/css/parent-selector.css b/theme-compiler/tests/resources/css/parent-selector.css index 0330782fbf..e7e37e92ab 100644 --- a/theme-compiler/tests/resources/css/parent-selector.css +++ b/theme-compiler/tests/resources/css/parent-selector.css @@ -3,6 +3,10 @@ a { text-decoration: none; } +a .sub { + color: blue; +} + a:hover { text-decoration: underline; } diff --git a/theme-compiler/tests/resources/scss/parent-selector.scss b/theme-compiler/tests/resources/scss/parent-selector.scss index ee02f8bf76..68f66a4a27 100644 --- a/theme-compiler/tests/resources/scss/parent-selector.scss +++ b/theme-compiler/tests/resources/scss/parent-selector.scss @@ -1,6 +1,9 @@ a { font-weight: bold; text-decoration: none; + .sub { + color: blue; + } &:hover { text-decoration: underline; } body.firefox & { font-weight: normal; } } |