From 91f0a1e93ae4ce446ccb2094c29aa8007dad8c2b Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum Date: Fri, 22 Jun 2018 20:21:29 -0400 Subject: [PATCH] Consolidate specs for @-moz-document and add deprecation warnings See sass/sass#2529 --- spec/css/moz_document/README.md | 17 +++++ .../empty_prefix/expected_output-libsass.css | 17 +++++ .../expected_output-ruby-sass.css | 15 ++++ .../empty_prefix/expected_output.css | 15 ++++ spec/css/moz_document/empty_prefix/input.scss | 14 ++++ .../moz_document/functions/interpolated/error | 69 +++++++++++++++++++ .../interpolated/expected_output.css | 50 ++++++++++++++ .../functions/interpolated/input.scss | 33 +++++++++ .../functions/interpolated/options.yml | 3 + spec/css/moz_document/functions/static/error | 48 +++++++++++++ .../functions/static/expected_output.css | 35 ++++++++++ .../moz_document/functions/static/input.scss | 24 +++++++ spec/css/moz_document/multi_function/error | 6 ++ .../multi_function/expected_output.css | 8 +++ .../moz_document/multi_function/input.scss | 6 ++ spec/css/moz_document/options.yml | 4 ++ .../issue_54/expected_output.css | 19 ----- .../libsass-closed-issues/issue_54/input.scss | 5 -- .../keyframes/expected_output-dart-sass.css | 20 ------ spec/libsass/keyframes/expected_output.css | 20 ------ spec/libsass/keyframes/input.scss | 18 ----- .../moz-document/basic/expected_output.css | 8 --- spec/libsass/moz-document/basic/input.scss | 6 -- .../interpolated/expected_output.css | 8 --- .../moz-document/interpolated/input.scss | 7 -- .../expected_output.css | 8 --- .../input.scss | 7 -- 27 files changed, 364 insertions(+), 126 deletions(-) create mode 100644 spec/css/moz_document/README.md create mode 100644 spec/css/moz_document/empty_prefix/expected_output-libsass.css create mode 100644 spec/css/moz_document/empty_prefix/expected_output-ruby-sass.css create mode 100644 spec/css/moz_document/empty_prefix/expected_output.css create mode 100644 spec/css/moz_document/empty_prefix/input.scss create mode 100644 spec/css/moz_document/functions/interpolated/error create mode 100644 spec/css/moz_document/functions/interpolated/expected_output.css create mode 100644 spec/css/moz_document/functions/interpolated/input.scss create mode 100644 spec/css/moz_document/functions/interpolated/options.yml create mode 100644 spec/css/moz_document/functions/static/error create mode 100644 spec/css/moz_document/functions/static/expected_output.css create mode 100644 spec/css/moz_document/functions/static/input.scss create mode 100644 spec/css/moz_document/multi_function/error create mode 100644 spec/css/moz_document/multi_function/expected_output.css create mode 100644 spec/css/moz_document/multi_function/input.scss create mode 100644 spec/css/moz_document/options.yml delete mode 100644 spec/libsass/moz-document/basic/expected_output.css delete mode 100644 spec/libsass/moz-document/basic/input.scss delete mode 100644 spec/libsass/moz-document/interpolated/expected_output.css delete mode 100644 spec/libsass/moz-document/interpolated/input.scss delete mode 100644 spec/scss-tests/127_test_moz_document_interpolation/expected_output.css delete mode 100644 spec/scss-tests/127_test_moz_document_interpolation/input.scss diff --git a/spec/css/moz_document/README.md b/spec/css/moz_document/README.md new file mode 100644 index 0000000000..f86456c5fa --- /dev/null +++ b/spec/css/moz_document/README.md @@ -0,0 +1,17 @@ +`@-moz-document` is a Firefox-specific at-rule that was originally based on a +draft of the [CSS Conditional Rules][] module. It's syntactically unusual in +that it defines a url-prefix() "function" that takes an unquoted URL. This can't +be parsed using Sass's normal unknown-at-rule parsing, since it may contain the +characters `//` that should not be interpreted as a single-line comment. + +[CSS Conditional Rules]: https://www.w3.org/TR/css3-conditional/ + +However, support for `@-moz-document` is [being removed from Firefox][] for +security concerns. Sass support for them should be deprecated and eventually +removed; see [issue 2529][] for details. These specs track deprecated support +for the old syntax, as well as the special case of `@-moz-document url-prefix()` +which is still supported at time of writing as a hack for targeting CSS at +Firefox only. + +[being removed from Firefox]: https://www.fxsitecompat.com/en-CA/docs/2018/moz-document-support-has-been-dropped-except-for-empty-url-prefix/ +[issue 2529]: https://github.com/sass/sass/issues/2529 diff --git a/spec/css/moz_document/empty_prefix/expected_output-libsass.css b/spec/css/moz_document/empty_prefix/expected_output-libsass.css new file mode 100644 index 0000000000..545f6f323b --- /dev/null +++ b/spec/css/moz_document/empty_prefix/expected_output-libsass.css @@ -0,0 +1,17 @@ +@-moz-document url-prefix() { + a { + b: c; + } +} + +@-moz-document url-prefix("") { + a { + b: c; + } +} + +@-moz-document url-prefix('') { + a { + b: c; + } +} diff --git a/spec/css/moz_document/empty_prefix/expected_output-ruby-sass.css b/spec/css/moz_document/empty_prefix/expected_output-ruby-sass.css new file mode 100644 index 0000000000..7163a39b70 --- /dev/null +++ b/spec/css/moz_document/empty_prefix/expected_output-ruby-sass.css @@ -0,0 +1,15 @@ +@-moz-document url-prefix() { + a { + b: c; + } +} +@-moz-document url-prefix("") { + a { + b: c; + } +} +@-moz-document url-prefix('') { + a { + b: c; + } +} diff --git a/spec/css/moz_document/empty_prefix/expected_output.css b/spec/css/moz_document/empty_prefix/expected_output.css new file mode 100644 index 0000000000..3f50d0b63f --- /dev/null +++ b/spec/css/moz_document/empty_prefix/expected_output.css @@ -0,0 +1,15 @@ +@-moz-document url-prefix() { + a { + b: c; + } +} +@-moz-document url-prefix("") { + a { + b: c; + } +} +@-moz-document url-prefix("") { + a { + b: c; + } +} diff --git a/spec/css/moz_document/empty_prefix/input.scss b/spec/css/moz_document/empty_prefix/input.scss new file mode 100644 index 0000000000..f7e0e63e87 --- /dev/null +++ b/spec/css/moz_document/empty_prefix/input.scss @@ -0,0 +1,14 @@ +// An empty url-prefix() should not be deprecated yet, as it's still supported +// in Firefox's release channel at time of writing. + +@-moz-document url-prefix() { + a {b: c} +} + +@-moz-document url-prefix("") { + a {b: c} +} + +@-moz-document url-prefix('') { + a {b: c} +} diff --git a/spec/css/moz_document/functions/interpolated/error b/spec/css/moz_document/functions/interpolated/error new file mode 100644 index 0000000000..f861c53d78 --- /dev/null +++ b/spec/css/moz_document/functions/interpolated/error @@ -0,0 +1,69 @@ +DEPRECATION WARNING on line 1, column 1 of /sass/spec/css/moz_document/functions/interpolated/input.scss: +@-moz-document is deprecated and support will be removed from Sass in a future +relase. For details, see http://bit.ly/moz-document. + +@-moz-document url(#{"sass-lang.com"}) { +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +DEPRECATION WARNING on line 4, column 1 of /sass/spec/css/moz_document/functions/interpolated/input.scss: +@-moz-document is deprecated and support will be removed from Sass in a future +relase. For details, see http://bit.ly/moz-document. + +@-moz-document url(#{sa + ss}-lang.com) { +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +DEPRECATION WARNING on line 7, column 1 of /sass/spec/css/moz_document/functions/interpolated/input.scss: +@-moz-document is deprecated and support will be removed from Sass in a future +relase. For details, see http://bit.ly/moz-document. + +@-moz-document url("#{sa + ss}-lang.com") { +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +DEPRECATION WARNING on line 11, column 1 of /sass/spec/css/moz_document/functions/interpolated/input.scss: +@-moz-document is deprecated and support will be removed from Sass in a future +relase. For details, see http://bit.ly/moz-document. + +@-moz-document url-prefix(#{"http://sass-lang.com/docs"}) { +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +DEPRECATION WARNING on line 14, column 1 of /sass/spec/css/moz_document/functions/interpolated/input.scss: +@-moz-document is deprecated and support will be removed from Sass in a future +relase. For details, see http://bit.ly/moz-document. + +@-moz-document url-prefix(#{ht + tp}://sass-lang.com/docs) { +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +DEPRECATION WARNING on line 17, column 1 of /sass/spec/css/moz_document/functions/interpolated/input.scss: +@-moz-document is deprecated and support will be removed from Sass in a future +relase. For details, see http://bit.ly/moz-document. + +@-moz-document url-prefix("#{ht + tp}://sass-lang.com/docs") { +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +DEPRECATION WARNING on line 21, column 1 of /sass/spec/css/moz_document/functions/interpolated/input.scss: +@-moz-document is deprecated and support will be removed from Sass in a future +relase. For details, see http://bit.ly/moz-document. + +@-moz-document domain(#{"sass-lang.com"}) { +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +DEPRECATION WARNING on line 24, column 1 of /sass/spec/css/moz_document/functions/interpolated/input.scss: +@-moz-document is deprecated and support will be removed from Sass in a future +relase. For details, see http://bit.ly/moz-document. + +@-moz-document domain(#{sa + ss}-lang.com) { +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +DEPRECATION WARNING on line 27, column 1 of /sass/spec/css/moz_document/functions/interpolated/input.scss: +@-moz-document is deprecated and support will be removed from Sass in a future +relase. For details, see http://bit.ly/moz-document. + +@-moz-document domain("#{sa + ss}-lang.com") { +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +DEPRECATION WARNING on line 31, column 1 of /sass/spec/css/moz_document/functions/interpolated/input.scss: +@-moz-document is deprecated and support will be removed from Sass in a future +relase. For details, see http://bit.ly/moz-document. + +@-moz-document regexp("#{ht + tp}s:.*") { +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/spec/css/moz_document/functions/interpolated/expected_output.css b/spec/css/moz_document/functions/interpolated/expected_output.css new file mode 100644 index 0000000000..bb25c0fca5 --- /dev/null +++ b/spec/css/moz_document/functions/interpolated/expected_output.css @@ -0,0 +1,50 @@ +@-moz-document url(sass-lang.com) { + a { + type: unquoted full url; + } +} +@-moz-document url(sass-lang.com) { + a { + type: unquoted partial url; + } +} +@-moz-document url("sass-lang.com") { + a { + type: quoted partial url; + } +} +@-moz-document url-prefix(http://sass-lang.com/docs) { + a { + type: unquoted full url-prefix; + } +} +@-moz-document url-prefix(http://sass-lang.com/docs) { + a { + type: unquoted partial url-prefix; + } +} +@-moz-document url-prefix("http://sass-lang.com/docs") { + a { + type: quoted partial url-prefix; + } +} +@-moz-document domain(sass-lang.com) { + a { + type: unquoted full domain; + } +} +@-moz-document domain(sass-lang.com) { + a { + type: unquoted partial domain; + } +} +@-moz-document domain("sass-lang.com") { + a { + type: quoted partial domain; + } +} +@-moz-document regexp("https:.*") { + a { + type: regexp; + } +} diff --git a/spec/css/moz_document/functions/interpolated/input.scss b/spec/css/moz_document/functions/interpolated/input.scss new file mode 100644 index 0000000000..bdd786a856 --- /dev/null +++ b/spec/css/moz_document/functions/interpolated/input.scss @@ -0,0 +1,33 @@ +@-moz-document url(#{"sass-lang.com"}) { + a {type: unquoted full url} +} +@-moz-document url(#{sa + ss}-lang.com) { + a {type: unquoted partial url} +} +@-moz-document url("#{sa + ss}-lang.com") { + a {type: quoted partial url} +} + +@-moz-document url-prefix(#{"http://sass-lang.com/docs"}) { + a {type: unquoted full url-prefix} +} +@-moz-document url-prefix(#{ht + tp}://sass-lang.com/docs) { + a {type: unquoted partial url-prefix} +} +@-moz-document url-prefix("#{ht + tp}://sass-lang.com/docs") { + a {type: quoted partial url-prefix} +} + +@-moz-document domain(#{"sass-lang.com"}) { + a {type: unquoted full domain} +} +@-moz-document domain(#{sa + ss}-lang.com) { + a {type: unquoted partial domain} +} +@-moz-document domain("#{sa + ss}-lang.com") { + a {type: quoted partial domain} +} + +@-moz-document regexp("#{ht + tp}s:.*") { + a {type: regexp} +} diff --git a/spec/css/moz_document/functions/interpolated/options.yml b/spec/css/moz_document/functions/interpolated/options.yml new file mode 100644 index 0000000000..32792ae3c6 --- /dev/null +++ b/spec/css/moz_document/functions/interpolated/options.yml @@ -0,0 +1,3 @@ +--- +:todo: +- libsass diff --git a/spec/css/moz_document/functions/static/error b/spec/css/moz_document/functions/static/error new file mode 100644 index 0000000000..167cdd3113 --- /dev/null +++ b/spec/css/moz_document/functions/static/error @@ -0,0 +1,48 @@ +DEPRECATION WARNING on line 1, column 1 of /sass/spec/css/moz_document/functions/static/input.scss: +@-moz-document is deprecated and support will be removed from Sass in a future +relase. For details, see http://bit.ly/moz-document. + +@-moz-document url(sass-lang.com) { +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +DEPRECATION WARNING on line 4, column 1 of /sass/spec/css/moz_document/functions/static/input.scss: +@-moz-document is deprecated and support will be removed from Sass in a future +relase. For details, see http://bit.ly/moz-document. + +@-moz-document url("sass-lang.com") { +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +DEPRECATION WARNING on line 8, column 1 of /sass/spec/css/moz_document/functions/static/input.scss: +@-moz-document is deprecated and support will be removed from Sass in a future +relase. For details, see http://bit.ly/moz-document. + +@-moz-document url-prefix(http://sass-lang.com/docs) { +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +DEPRECATION WARNING on line 11, column 1 of /sass/spec/css/moz_document/functions/static/input.scss: +@-moz-document is deprecated and support will be removed from Sass in a future +relase. For details, see http://bit.ly/moz-document. + +@-moz-document url-prefix("http://sass-lang.com/docs") { +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +DEPRECATION WARNING on line 15, column 1 of /sass/spec/css/moz_document/functions/static/input.scss: +@-moz-document is deprecated and support will be removed from Sass in a future +relase. For details, see http://bit.ly/moz-document. + +@-moz-document domain(sass-lang.com) { +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +DEPRECATION WARNING on line 18, column 1 of /sass/spec/css/moz_document/functions/static/input.scss: +@-moz-document is deprecated and support will be removed from Sass in a future +relase. For details, see http://bit.ly/moz-document. + +@-moz-document domain("sass-lang.com") { +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +DEPRECATION WARNING on line 22, column 1 of /sass/spec/css/moz_document/functions/static/input.scss: +@-moz-document is deprecated and support will be removed from Sass in a future +relase. For details, see http://bit.ly/moz-document. + +@-moz-document regexp("https:.*") { +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/spec/css/moz_document/functions/static/expected_output.css b/spec/css/moz_document/functions/static/expected_output.css new file mode 100644 index 0000000000..3bc9d3a778 --- /dev/null +++ b/spec/css/moz_document/functions/static/expected_output.css @@ -0,0 +1,35 @@ +@-moz-document url(sass-lang.com) { + a { + type: unquoted url; + } +} +@-moz-document url("sass-lang.com") { + a { + type: quoted url; + } +} +@-moz-document url-prefix(http://sass-lang.com/docs) { + a { + type: unquoted url-prefix; + } +} +@-moz-document url-prefix("http://sass-lang.com/docs") { + a { + type: quoted url-prefix; + } +} +@-moz-document domain(sass-lang.com) { + a { + type: unquoted domain; + } +} +@-moz-document domain("sass-lang.com") { + a { + type: quoted domain; + } +} +@-moz-document regexp("https:.*") { + a { + type: regexp; + } +} diff --git a/spec/css/moz_document/functions/static/input.scss b/spec/css/moz_document/functions/static/input.scss new file mode 100644 index 0000000000..172633cbad --- /dev/null +++ b/spec/css/moz_document/functions/static/input.scss @@ -0,0 +1,24 @@ +@-moz-document url(sass-lang.com) { + a {type: unquoted url} +} +@-moz-document url("sass-lang.com") { + a {type: quoted url} +} + +@-moz-document url-prefix(http://sass-lang.com/docs) { + a {type: unquoted url-prefix} +} +@-moz-document url-prefix("http://sass-lang.com/docs") { + a {type: quoted url-prefix} +} + +@-moz-document domain(sass-lang.com) { + a {type: unquoted domain} +} +@-moz-document domain("sass-lang.com") { + a {type: quoted domain} +} + +@-moz-document regexp("https:.*") { + a {type: regexp} +} diff --git a/spec/css/moz_document/multi_function/error b/spec/css/moz_document/multi_function/error new file mode 100644 index 0000000000..2425fd3657 --- /dev/null +++ b/spec/css/moz_document/multi_function/error @@ -0,0 +1,6 @@ +DEPRECATION WARNING on line 1, column 1 of /sass/spec/css/moz_document/multi_function/input.scss: +@-moz-document is deprecated and support will be removed from Sass in a future +relase. For details, see http://bit.ly/moz-document. + +@-moz-document url(http://www.w3.org/), +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/spec/css/moz_document/multi_function/expected_output.css b/spec/css/moz_document/multi_function/expected_output.css new file mode 100644 index 0000000000..aef06f72ff --- /dev/null +++ b/spec/css/moz_document/multi_function/expected_output.css @@ -0,0 +1,8 @@ +@-moz-document url(http://www.w3.org/), + url-prefix(http://www.w3.org/Style/), + domain(mozilla.org), + regexp("https:.*") { + a { + b: c; + } +} diff --git a/spec/css/moz_document/multi_function/input.scss b/spec/css/moz_document/multi_function/input.scss new file mode 100644 index 0000000000..7999a2b8c0 --- /dev/null +++ b/spec/css/moz_document/multi_function/input.scss @@ -0,0 +1,6 @@ +@-moz-document url(http://www.w3.org/), + url-prefix(http://www.w3.org/Style/), + domain(mozilla.org), + regexp("https:.*") { + a {b: c} +} diff --git a/spec/css/moz_document/options.yml b/spec/css/moz_document/options.yml new file mode 100644 index 0000000000..d85e5bce25 --- /dev/null +++ b/spec/css/moz_document/options.yml @@ -0,0 +1,4 @@ +--- +:warning_todo: +- libsass +- ruby-sass diff --git a/spec/libsass-closed-issues/issue_54/expected_output.css b/spec/libsass-closed-issues/issue_54/expected_output.css index c797600f8f..e75e822f84 100644 --- a/spec/libsass-closed-issues/issue_54/expected_output.css +++ b/spec/libsass-closed-issues/issue_54/expected_output.css @@ -23,22 +23,3 @@ left: 200px; } } -@-moz-document url-prefix() { - .fl { - float: left; - margin: 12px 4px 0 0; - padding: 0; - font-size: 65px; - line-height: 62%; - color: #ba1820; - } - - .fs { - float: left; - margin: 12px 4px 10px 0; - padding: 0; - font-size: 65px; - line-height: 62%; - color: #ba1820; - } -} diff --git a/spec/libsass-closed-issues/issue_54/input.scss b/spec/libsass-closed-issues/issue_54/input.scss index 6db51704f8..06cbc205f3 100644 --- a/spec/libsass-closed-issues/issue_54/input.scss +++ b/spec/libsass-closed-issues/issue_54/input.scss @@ -16,8 +16,3 @@ left: 200px; } } - -@-moz-document url-prefix() { - .fl { float:left; margin:12px 4px 0 0; padding:0; font-size:65px; line-height:62%; color:#ba1820; } - .fs { float:left; margin:12px 4px 10px 0; padding:0; font-size:65px; line-height:62%; color:#ba1820; } -} \ No newline at end of file diff --git a/spec/libsass/keyframes/expected_output-dart-sass.css b/spec/libsass/keyframes/expected_output-dart-sass.css index 0424b2b663..a1a2db095d 100644 --- a/spec/libsass/keyframes/expected_output-dart-sass.css +++ b/spec/libsass/keyframes/expected_output-dart-sass.css @@ -27,23 +27,3 @@ div { foo div { color: red; } - -@-moz-document url-prefix() { - .fl { - float: left; - margin: 12px 4px 0 0; - padding: 0; - font-size: 65px; - line-height: 62%; - color: #ba1820; - } - - .fs { - float: left; - margin: 12px 4px 10px 0; - padding: 0; - font-size: 65px; - line-height: 62%; - color: #ba1820; - } -} diff --git a/spec/libsass/keyframes/expected_output.css b/spec/libsass/keyframes/expected_output.css index 9c8a6d1ce9..e505f9a753 100644 --- a/spec/libsass/keyframes/expected_output.css +++ b/spec/libsass/keyframes/expected_output.css @@ -27,23 +27,3 @@ div { foo div { color: red; } - -@-moz-document url-prefix() { - .fl { - float: left; - margin: 12px 4px 0 0; - padding: 0; - font-size: 65px; - line-height: 62%; - color: #ba1820; - } - - .fs { - float: left; - margin: 12px 4px 10px 0; - padding: 0; - font-size: 65px; - line-height: 62%; - color: #ba1820; - } -} diff --git a/spec/libsass/keyframes/input.scss b/spec/libsass/keyframes/input.scss index f26c41de0b..0fe47d9313 100644 --- a/spec/libsass/keyframes/input.scss +++ b/spec/libsass/keyframes/input.scss @@ -34,21 +34,3 @@ foo { } } } - -@-moz-document url-prefix() { - .fl { - float:left; - margin:12px 4px 0 0; - padding:0; - font-size:65px; - line-height:62%; - color:#ba1820; - } - .fs { - float:left; - margin:12px 4px 10px 0; - padding:0; font-size:65px; - line-height:62%; - color:#ba1820; - } -} \ No newline at end of file diff --git a/spec/libsass/moz-document/basic/expected_output.css b/spec/libsass/moz-document/basic/expected_output.css deleted file mode 100644 index 4cb18386b2..0000000000 --- a/spec/libsass/moz-document/basic/expected_output.css +++ /dev/null @@ -1,8 +0,0 @@ -@-moz-document url(sass-lang.com), - url-prefix(http://sass-lang.com/docs), - domain(sass-lang.com), - regexp("https:.*") { - .foo { - a: b; - } -} diff --git a/spec/libsass/moz-document/basic/input.scss b/spec/libsass/moz-document/basic/input.scss deleted file mode 100644 index 0784638149..0000000000 --- a/spec/libsass/moz-document/basic/input.scss +++ /dev/null @@ -1,6 +0,0 @@ -@-moz-document url(sass-lang.com), - url-prefix(http://sass-lang.com/docs), - domain(sass-lang.com), - regexp("https:.*") { - .foo { a: b; } -} diff --git a/spec/libsass/moz-document/interpolated/expected_output.css b/spec/libsass/moz-document/interpolated/expected_output.css deleted file mode 100644 index c79efac96d..0000000000 --- a/spec/libsass/moz-document/interpolated/expected_output.css +++ /dev/null @@ -1,8 +0,0 @@ -@-moz-document url(http://sass-lang.com/), - url-prefix(http://sass-lang.com/docs), - domain(sass-lang.com), - domain("sass-lang.com") { - .foo { - a: b; - } -} diff --git a/spec/libsass/moz-document/interpolated/input.scss b/spec/libsass/moz-document/interpolated/input.scss deleted file mode 100644 index 788bf6b446..0000000000 --- a/spec/libsass/moz-document/interpolated/input.scss +++ /dev/null @@ -1,7 +0,0 @@ -$domain: "sass-lang.com"; -@-moz-document url(http://#{$domain}/), - url-prefix(http://#{$domain}/docs), - domain(#{$domain}), - #{domain($domain)} { - .foo { a: b; } -} diff --git a/spec/scss-tests/127_test_moz_document_interpolation/expected_output.css b/spec/scss-tests/127_test_moz_document_interpolation/expected_output.css deleted file mode 100644 index c79efac96d..0000000000 --- a/spec/scss-tests/127_test_moz_document_interpolation/expected_output.css +++ /dev/null @@ -1,8 +0,0 @@ -@-moz-document url(http://sass-lang.com/), - url-prefix(http://sass-lang.com/docs), - domain(sass-lang.com), - domain("sass-lang.com") { - .foo { - a: b; - } -} diff --git a/spec/scss-tests/127_test_moz_document_interpolation/input.scss b/spec/scss-tests/127_test_moz_document_interpolation/input.scss deleted file mode 100644 index fd76408d9f..0000000000 --- a/spec/scss-tests/127_test_moz_document_interpolation/input.scss +++ /dev/null @@ -1,7 +0,0 @@ -$domain: "sass-lang.com"; -@-moz-document url(http://#{$domain}/), - url-prefix(http://#{$domain}/docs), - domain(#{$domain}), - #{domain($domain)} { - .foo {a: b} -}