|
| 1 | +## 1.99.0 |
| 2 | + |
| 3 | +* Add support for parent selectors (`&`) at the root of the document. These are |
| 4 | + emitted as-is in the CSS output, where they're interpreted as [the scoping |
| 5 | + root]. |
| 6 | + |
| 7 | + [the scoping root]: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/Nesting_selector#using_outside_nested_rule |
| 8 | + |
| 9 | +* User-defined functions named `calc` or `clamp` are no longer forbidden. If |
| 10 | + such a function exists without a namespace in the current module, it will be |
| 11 | + used instead of the built-in `calc()` or `clamp()` function. |
| 12 | + |
| 13 | +* User-defined functions whose names begin with `-` and end with `-expression`, |
| 14 | + `-url`, `-and`, `-or`, or `-not` are no longer forbidden. These were |
| 15 | + originally intended to match vendor prefixes, but in practice no vendor |
| 16 | + prefixes for these functions ever existed in real browsers. |
| 17 | + |
| 18 | +* User-defined functions named `EXPRESSION`, `URL`, and `ELEMENT`, those that |
| 19 | + begin with `-` and end with `-ELEMENT`, as well as the same names with some |
| 20 | + lowercase letters are now deprecated, These are names conflict with plain CSS |
| 21 | + functions that have special syntax. |
| 22 | + |
| 23 | + See [the Sass website](https://sass-lang.com/d/function-name) for details. |
| 24 | + |
| 25 | +* In a future release, calls to functions whose names begin with `-` and end |
| 26 | + with `-expression` and `-url` will no longer have special parsing. For now, |
| 27 | + these calls are deprecated if their behavior will change in the future. |
| 28 | + |
| 29 | + See [the Sass website](https://sass-lang.com/d/function-name) for details. |
| 30 | + |
| 31 | +* Calls to functions whose names begin with `-` and end with `-progid:...` are |
| 32 | + deprecated. |
| 33 | + |
| 34 | + See [the Sass website](https://sass-lang.com/d/function-name) for details. |
| 35 | + |
1 | 36 | ## 1.98.0 |
2 | 37 |
|
3 | 38 | ### Command-Line Interface |
|
0 commit comments