diff --git a/spec/core_functions/global/meta.hrx b/spec/core_functions/global/meta.hrx index cda938d11..753caa4e9 100644 --- a/spec/core_functions/global/meta.hrx +++ b/spec/core_functions/global/meta.hrx @@ -16,6 +16,16 @@ a { b: true; } +<===> feature_exists/warning +DEPRECATION WARNING: The feature-exists() function is deprecated. +More info: https://sass-lang.com/d/feature-exists + + , +2 | a {b: meta.feature-exists(at-error)} + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + input.scss 2:7 root stylesheet + <===> ================================================================================ <===> variable_exists/input.scss diff --git a/spec/core_functions/meta/feature_exists.hrx b/spec/core_functions/meta/feature_exists.hrx index 58a9748a6..baea58012 100644 --- a/spec/core_functions/meta/feature_exists.hrx +++ b/spec/core_functions/meta/feature_exists.hrx @@ -13,6 +13,16 @@ a { b: true; } +<===> global_variable_shadowing/warning +DEPRECATION WARNING: The feature-exists() function is deprecated. +More info: https://sass-lang.com/d/feature-exists + + , +1 | a {b: feature-exists(global-variable-shadowing)} + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + input.scss 1:7 root stylesheet + <===> ================================================================================ <===> extend_selector_pseudoclass/input.scss @@ -24,6 +34,16 @@ a { b: true; } +<===> extend_selector_pseudoclass/warning +DEPRECATION WARNING: The feature-exists() function is deprecated. +More info: https://sass-lang.com/d/feature-exists + + , +1 | a {b: feature-exists(extend-selector-pseudoclass)} + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + input.scss 1:7 root stylesheet + <===> ================================================================================ <===> units_level_3/input.scss @@ -35,6 +55,16 @@ a { b: true; } +<===> units_level_3/warning +DEPRECATION WARNING: The feature-exists() function is deprecated. +More info: https://sass-lang.com/d/feature-exists + + , +1 | a {b: feature-exists(units-level-3)} + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + input.scss 1:7 root stylesheet + <===> ================================================================================ <===> at_error/input.scss @@ -46,6 +76,16 @@ a { b: true; } +<===> at_error/warning +DEPRECATION WARNING: The feature-exists() function is deprecated. +More info: https://sass-lang.com/d/feature-exists + + , +1 | a {b: feature-exists(at-error)} + | ^^^^^^^^^^^^^^^^^^^^^^^^ + ' + input.scss 1:7 root stylesheet + <===> ================================================================================ <===> custom_property/input.scss @@ -57,6 +97,16 @@ a { b: true; } +<===> custom_property/warning +DEPRECATION WARNING: The feature-exists() function is deprecated. +More info: https://sass-lang.com/d/feature-exists + + , +1 | a {b: feature-exists(custom-property)} + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + input.scss 1:7 root stylesheet + <===> ================================================================================ <===> unknown/input.scss @@ -68,6 +118,16 @@ a { b: false; } +<===> unknown/warning +DEPRECATION WARNING: The feature-exists() function is deprecated. +More info: https://sass-lang.com/d/feature-exists + + , +1 | a {b: feature-exists(unknown)} + | ^^^^^^^^^^^^^^^^^^^^^^^ + ' + input.scss 1:7 root stylesheet + <===> ================================================================================ <===> dash_sensitive/input.scss @@ -79,6 +139,16 @@ a { b: false; } +<===> dash_sensitive/warning +DEPRECATION WARNING: The feature-exists() function is deprecated. +More info: https://sass-lang.com/d/feature-exists + + , +1 | a {b: feature-exists(at_error)} + | ^^^^^^^^^^^^^^^^^^^^^^^^ + ' + input.scss 1:7 root stylesheet + <===> ================================================================================ <===> quote_insensitive/input.scss @@ -90,6 +160,16 @@ a { b: true; } +<===> quote_insensitive/warning +DEPRECATION WARNING: The feature-exists() function is deprecated. +More info: https://sass-lang.com/d/feature-exists + + , +1 | a {b: feature-exists("at-error")} + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + input.scss 1:7 root stylesheet + <===> ================================================================================ <===> named/input.scss @@ -101,6 +181,16 @@ a { b: true; } +<===> named/warning +DEPRECATION WARNING: The feature-exists() function is deprecated. +More info: https://sass-lang.com/d/feature-exists + + , +1 | a {b: feature-exists($feature: at-error)} + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + input.scss 1:7 root stylesheet + <===> ================================================================================ <===> error/type/input.scss @@ -108,6 +198,15 @@ a { a {b: meta.feature-exists(1)} <===> error/type/error +DEPRECATION WARNING: The feature-exists() function is deprecated. +More info: https://sass-lang.com/d/feature-exists + + , +1 | a {b: feature-exists(1)} + | ^^^^^^^^^^^^^^^^^ + ' + input.scss 1:7 root stylesheet + Error: $feature: 1 is not a string. , 2 | a {b: meta.feature-exists(1)} diff --git a/spec/libsass-closed-issues/issue_702.hrx b/spec/libsass-closed-issues/issue_702.hrx index bf4cf7a34..f7f495a22 100644 --- a/spec/libsass-closed-issues/issue_702.hrx +++ b/spec/libsass-closed-issues/issue_702.hrx @@ -10,3 +10,13 @@ content: true; content: false; } + +<===> warning +DEPRECATION WARNING: The feature-exists() function is deprecated. +More info: https://sass-lang.com/d/feature-exists + + , +3 | content: feature-exists("foo"); + | ^^^^^^^^^^^^^^^^^^^^^ + ' + input.scss 3:12 root stylesheet diff --git a/spec/libsass/at-error/feature-test.hrx b/spec/libsass/at-error/feature-test.hrx index f19c31889..812943710 100644 --- a/spec/libsass/at-error/feature-test.hrx +++ b/spec/libsass/at-error/feature-test.hrx @@ -10,3 +10,13 @@ div { feature: true; } + +<===> warning +DEPRECATION WARNING: The feature-exists() function is deprecated. +More info: https://sass-lang.com/d/feature-exists + + , +1 | @if feature-exists(at-error) { + | ^^^^^^^^^^^^^^^^^^^^^^^^ + ' + input.scss 1:5 root stylesheet diff --git a/spec/libsass/units/feature-test.hrx b/spec/libsass/units/feature-test.hrx index ba99f2e14..ce4c8bf28 100644 --- a/spec/libsass/units/feature-test.hrx +++ b/spec/libsass/units/feature-test.hrx @@ -10,3 +10,13 @@ div { feature: true; } + +<===> warning +DEPRECATION WARNING: The feature-exists() function is deprecated. +More info: https://sass-lang.com/d/feature-exists + + , +1 | @if feature-exists(units-level-3) { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + input.scss 1:5 root stylesheet diff --git a/spec/libsass/variable-scoping/feature-test.hrx b/spec/libsass/variable-scoping/feature-test.hrx index 47881aebe..4c0f0da92 100644 --- a/spec/libsass/variable-scoping/feature-test.hrx +++ b/spec/libsass/variable-scoping/feature-test.hrx @@ -9,3 +9,13 @@ div { feature: true; } + +<===> warning +DEPRECATION WARNING: The feature-exists() function is deprecated. +More info: https://sass-lang.com/d/feature-exists + + , +1 | @if feature-exists(global-variable-shadowing) { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + input.scss 1:5 root stylesheet