Skip to content

Commit 3d99c57

Browse files
committed
Update sass-spec to 2025-01-29.
1 parent 392adab commit 3d99c57

File tree

46 files changed

+134
-134
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+134
-134
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ project adheres to
3737
* Pure css `round()` may take an expression argument.
3838
* Minor changes in agrument syntax errors.
3939
* Updated `nom` to 8.0.0 and added `nom-language` 0.1.0.
40-
* Updated sass-spec test suite to 2024-12-12.
40+
* Updated sass-spec test suite to 2025-01-29.
4141

4242

4343
## Release 0.28.10

rsass/tests/spec/core_functions/color/adjust_hue/error.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fn non_legacy() {
1212
runner().err(
1313
"a {b: adjust-hue(lch(0% 0 0deg), 10deg)}\n"
1414
),
15-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
15+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
1616
\nUse color.adjust instead.\n\
1717
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
1818
\n ,\
@@ -71,7 +71,7 @@ mod test_type {
7171
runner().err(
7272
"a {b: adjust-hue(1, 2)}\n"
7373
),
74-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
74+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
7575
\nUse color.adjust instead.\n\
7676
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
7777
\n ,\
@@ -94,7 +94,7 @@ mod test_type {
9494
runner().err(
9595
"a {b: adjust-hue(red, blue)}\n"
9696
),
97-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
97+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
9898
\nUse color.adjust instead.\n\
9999
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
100100
\n ,\

rsass/tests/spec/core_functions/color/darken.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ mod error {
2929
runner().err(
3030
"a {b: darken(red, 100.001)}\n"
3131
),
32-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
32+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
3333
\nUse color.adjust instead.\n\
3434
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
3535
\n ,\
@@ -52,7 +52,7 @@ mod error {
5252
runner().err(
5353
"a {b: darken(red, -0.001)}\n"
5454
),
55-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
55+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
5656
\nUse color.adjust instead.\n\
5757
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
5858
\n ,\
@@ -76,7 +76,7 @@ mod error {
7676
runner().err(
7777
"a {b: darken(color(srgb 1 1 1), 10%)}\n"
7878
),
79-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
79+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
8080
\nUse color.adjust instead.\n\
8181
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
8282
\n ,\
@@ -135,7 +135,7 @@ mod error {
135135
runner().err(
136136
"a {b: darken(1, 2)}\n"
137137
),
138-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
138+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
139139
\nUse color.adjust instead.\n\
140140
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
141141
\n ,\
@@ -158,7 +158,7 @@ mod error {
158158
runner().err(
159159
"a {b: darken(red, blue)}\n"
160160
),
161-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
161+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
162162
\nUse color.adjust instead.\n\
163163
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
164164
\n ,\

rsass/tests/spec/core_functions/color/desaturate.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ mod error {
2929
runner().err(
3030
"a {b: desaturate(plum, 100.001)}\n"
3131
),
32-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
32+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
3333
\nUse color.adjust instead.\n\
3434
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
3535
\n ,\
@@ -52,7 +52,7 @@ mod error {
5252
runner().err(
5353
"a {b: desaturate(plum, -0.001)}\n"
5454
),
55-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
55+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
5656
\nUse color.adjust instead.\n\
5757
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
5858
\n ,\
@@ -76,7 +76,7 @@ mod error {
7676
runner().err(
7777
"a {b: desaturate(color(srgb 1 1 1), 10%)}\n"
7878
),
79-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
79+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
8080
\nUse color.adjust instead.\n\
8181
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
8282
\n ,\
@@ -156,7 +156,7 @@ mod error {
156156
runner().err(
157157
"a {b: desaturate(1, 2)}\n"
158158
),
159-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
159+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
160160
\nUse color.adjust instead.\n\
161161
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
162162
\n ,\
@@ -179,7 +179,7 @@ mod error {
179179
runner().err(
180180
"a {b: desaturate(plum, blue)}\n"
181181
),
182-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
182+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
183183
\nUse color.adjust instead.\n\
184184
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
185185
\n ,\

rsass/tests/spec/core_functions/color/fade_in.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ mod error {
2020
runner().err(
2121
"a {b: fade-in(red, 1.001)}\n"
2222
),
23-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
23+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
2424
\nUse color.adjust instead.\n\
2525
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
2626
\n ,\
@@ -43,7 +43,7 @@ mod error {
4343
runner().err(
4444
"a {b: fade-in(red, -0.001)}\n"
4545
),
46-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
46+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
4747
\nUse color.adjust instead.\n\
4848
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
4949
\n ,\
@@ -68,7 +68,7 @@ mod error {
6868
\n// fully forbidden (sass/sass#3374).\
6969
\na {b: fade-in(red, 50%)}\n"
7070
),
71-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
71+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
7272
\nUse color.adjust instead.\n\
7373
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
7474
\n ,\
@@ -92,7 +92,7 @@ mod error {
9292
runner().err(
9393
"a {b: fade-in(color(srgb 1 1 1 / 0.1), 0.1)}\n"
9494
),
95-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
95+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
9696
\nUse color.adjust instead.\n\
9797
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
9898
\n ,\
@@ -151,7 +151,7 @@ mod error {
151151
runner().err(
152152
"a {b: fade-in(red, blue)}\n"
153153
),
154-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
154+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
155155
\nUse color.adjust instead.\n\
156156
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
157157
\n ,\
@@ -174,7 +174,7 @@ mod error {
174174
runner().err(
175175
"a {b: fade-in(1, 0.1)}\n"
176176
),
177-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
177+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
178178
\nUse color.adjust instead.\n\
179179
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
180180
\n ,\

rsass/tests/spec/core_functions/color/fade_out.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ mod error {
2020
runner().err(
2121
"a {b: fade-out(red, 1.001)}\n"
2222
),
23-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
23+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
2424
\nUse color.adjust instead.\n\
2525
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
2626
\n ,\
@@ -43,7 +43,7 @@ mod error {
4343
runner().err(
4444
"a {b: fade-out(red, -0.001)}\n"
4545
),
46-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
46+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
4747
\nUse color.adjust instead.\n\
4848
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
4949
\n ,\
@@ -68,7 +68,7 @@ mod error {
6868
\n// fully forbidden (sass/sass#3374).\
6969
\na {b: fade-out(red, 50%)}\n"
7070
),
71-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
71+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
7272
\nUse color.adjust instead.\n\
7373
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
7474
\n ,\
@@ -92,7 +92,7 @@ mod error {
9292
runner().err(
9393
"a {b: fade-out(color(srgb 1 1 1), 0.1)}\n"
9494
),
95-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
95+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
9696
\nUse color.adjust instead.\n\
9797
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
9898
\n ,\
@@ -151,7 +151,7 @@ mod error {
151151
runner().err(
152152
"a {b: fade-out(red, blue)}\n"
153153
),
154-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
154+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
155155
\nUse color.adjust instead.\n\
156156
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
157157
\n ,\
@@ -174,7 +174,7 @@ mod error {
174174
runner().err(
175175
"a {b: fade-out(1, 0.1)}\n"
176176
),
177-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
177+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
178178
\nUse color.adjust instead.\n\
179179
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
180180
\n ,\

rsass/tests/spec/core_functions/color/invert/error.rs

+9-9
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ mod global {
6969
runner().err(
7070
"a {b: invert(c)}\n"
7171
),
72-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
72+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
7373
\nUse color.invert instead.\n\
7474
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
7575
\n ,\
@@ -102,7 +102,7 @@ mod missing {
102102
runner().err(
103103
"a {b: invert(rgb(10 none 20), $space: xyz)}\n"
104104
),
105-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
105+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
106106
\nUse color.invert instead.\n\
107107
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
108108
\n ,\
@@ -125,7 +125,7 @@ mod missing {
125125
runner().err(
126126
"a {b: invert(grey, $space: hsl)}\n"
127127
),
128-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
128+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
129129
\nUse color.invert instead.\n\
130130
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
131131
\n ,\
@@ -152,7 +152,7 @@ mod missing {
152152
runner().err(
153153
"a {b: invert(hsl(0 40% none), $space: hsl)}\n"
154154
),
155-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
155+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
156156
\nUse color.invert instead.\n\
157157
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
158158
\n ,\
@@ -175,7 +175,7 @@ mod missing {
175175
runner().err(
176176
"a {b: invert(hwb(none 10% 20%), $space: hwb)}\n"
177177
),
178-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
178+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
179179
\nUse color.invert instead.\n\
180180
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
181181
\n ,\
@@ -198,7 +198,7 @@ mod missing {
198198
runner().err(
199199
"a {b: invert(rgb(none 10 20))}\n"
200200
),
201-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
201+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
202202
\nUse color.invert instead.\n\
203203
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
204204
\n ,\
@@ -227,7 +227,7 @@ mod missing {
227227
runner().err(
228228
"a {b: invert(color(rec2020 0.1 none 0.2), $space: xyz)}\n"
229229
),
230-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
230+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
231231
\nUse color.invert instead.\n\
232232
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
233233
\n ,\
@@ -250,7 +250,7 @@ mod missing {
250250
runner().err(
251251
"a {b: invert(color(rec2020 0.4 0.4 0.4), $space: lch)}\n"
252252
),
253-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
253+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
254254
\nUse color.invert instead.\n\
255255
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
256256
\n ,\
@@ -273,7 +273,7 @@ mod missing {
273273
runner().err(
274274
"a {b: invert(color(srgb none 0.1 0.2), $space: srgb)}\n"
275275
),
276-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
276+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
277277
\nUse color.invert instead.\n\
278278
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
279279
\n ,\

rsass/tests/spec/core_functions/color/lighten.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ mod error {
2929
runner().err(
3030
"a {b: lighten(red, 100.001)}\n"
3131
),
32-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
32+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
3333
\nUse color.adjust instead.\n\
3434
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
3535
\n ,\
@@ -52,7 +52,7 @@ mod error {
5252
runner().err(
5353
"a {b: lighten(red, -0.001)}\n"
5454
),
55-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
55+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
5656
\nUse color.adjust instead.\n\
5757
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
5858
\n ,\
@@ -76,7 +76,7 @@ mod error {
7676
runner().err(
7777
"a {b: lighten(color(srgb 0 0 0), 10%)}\n"
7878
),
79-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
79+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
8080
\nUse color.adjust instead.\n\
8181
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
8282
\n ,\
@@ -135,7 +135,7 @@ mod error {
135135
runner().err(
136136
"a {b: lighten(1, 2)}\n"
137137
),
138-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
138+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
139139
\nUse color.adjust instead.\n\
140140
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
141141
\n ,\
@@ -158,7 +158,7 @@ mod error {
158158
runner().err(
159159
"a {b: lighten(red, blue)}\n"
160160
),
161-
"DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
161+
"DEPRECATION WARNING [global-builtin]: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\
162162
\nUse color.adjust instead.\n\
163163
\nMore info and automated migrator: https://sass-lang.com/d/import\n\
164164
\n ,\

0 commit comments

Comments
 (0)