summaryrefslogtreecommitdiff
path: root/scss/tests
diff options
context:
space:
mode:
authorEevee (Lexy Munroe) <eevee.git@veekun.com>2016-06-08 16:45:11 -0700
committerEevee (Lexy Munroe) <eevee.git@veekun.com>2016-06-08 16:45:11 -0700
commit5ea9f2b58faa9b15da840da978632cbafcb550fa (patch)
tree902d220897160953efae9ff97ca7e1df8a12771d /scss/tests
parent42b7e5270407b1abd8063a11080ea5ea987076eb (diff)
downloadpyscss-5ea9f2b58faa9b15da840da978632cbafcb550fa.tar.gz
Put @imported rules in the place they were imported. Fixes #352
There was some old code that grouped rules by the literal file they came from -- even if @imported -- solely for the sake of some debug code that I'm not convinced is particularly useful. I removed the grouping, which ensures that an @import in the middle of a file will correctly leave its rules in that position. Also inlined a few very short methods that weren't used anywhere else and mostly just made browsing the code more confusing than necessary. I think this might break the repl, but it was already broken, so.
Diffstat (limited to 'scss/tests')
-rw-r--r--scss/tests/files/regressions/issue-258.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/scss/tests/files/regressions/issue-258.css b/scss/tests/files/regressions/issue-258.css
index 559cc05..27feb03 100644
--- a/scss/tests/files/regressions/issue-258.css
+++ b/scss/tests/files/regressions/issue-258.css
@@ -3,6 +3,7 @@
any-property: any-value;
}
}
+
#B {
my-property: this-should-be-before-media-query;
}