summaryrefslogtreecommitdiff
path: root/scss/tests/files/compass/gradients.scss
diff options
context:
space:
mode:
Diffstat (limited to 'scss/tests/files/compass/gradients.scss')
-rw-r--r--scss/tests/files/compass/gradients.scss14
1 files changed, 12 insertions, 2 deletions
diff --git a/scss/tests/files/compass/gradients.scss b/scss/tests/files/compass/gradients.scss
index 9951e75..1eba785 100644
--- a/scss/tests/files/compass/gradients.scss
+++ b/scss/tests/files/compass/gradients.scss
@@ -1,5 +1,3 @@
-@option style:legacy;
-
// Borrowed from Compass's actual test suite, but cut down to just the gradient
// calls, and with some editing to e.g. preserve color formatting:
// https://github.com/chriseppstein/compass/blob/stable/test/fixtures/stylesheets/compass/sass/gradients.sass
@@ -83,3 +81,15 @@
.cross-fade {
background-image: cross-fade(radial-gradient(#ddd, #aaa 100px), url("4x6.png"));
}
+
+
+/* New tests of our own */
+
+// Valid CSS3, used to come out with the first argument doubled
+.bg-radial-gradient-at {
+ background: radial-gradient(circle at center, red 0%, green 100%);
+}
+
+.bg-linear-gradient-to {
+ background: linear-gradient(to right, red 0%, green 100%);
+}