mirror of
https://github.com/sass/sass.git
synced 2024-09-21 02:27:30 +00:00
[CSS Function/Mixin Prep] Mark as accepted and update spec (#3854)
This commit is contained in:
parent
b888b3be25
commit
d3ed8dfc72
7
js-api-doc/deprecations.d.ts
vendored
7
js-api-doc/deprecations.d.ts
vendored
@ -106,6 +106,13 @@ export interface Deprecations {
|
||||
*/
|
||||
'fs-importer-cwd': Deprecation<'fs-importer-cwd'>;
|
||||
|
||||
/**
|
||||
* Deprecation for function and mixin names beginning with `--`.
|
||||
*
|
||||
* This deprecation became active in Dart Sass 1.76.0.
|
||||
*/
|
||||
'css-function-mixin': Deprecation<'css-function-mixin'>;
|
||||
|
||||
/**
|
||||
* Deprecation for `@import` rules.
|
||||
*
|
||||
|
@ -22,6 +22,8 @@ To execute a `@function` rule `rule`:
|
||||
|
||||
* Let `name` be the value of `rule`'s `Identifier`.
|
||||
|
||||
* If `name` begins with `--`, throw an error.
|
||||
|
||||
* If `name` is `calc`, `element`, `expression`, `url`, `and`, `or`, or `not`, or
|
||||
if `name` has a [vendor prefix] and the unprefixed identifier is one of those
|
||||
strings, throw an error.
|
||||
|
@ -31,6 +31,8 @@ To execute a `@mixin` rule `rule`:
|
||||
|
||||
* Let `name` be the value of `rule`'s `Identifier`.
|
||||
|
||||
* If `name` begins with `--`, throw an error.
|
||||
|
||||
* Let `parent` be the [current scope].
|
||||
|
||||
[current scope]: ../spec.md#scope
|
||||
|
@ -44,6 +44,7 @@ export interface Deprecations {
|
||||
'null-alpha': Deprecation<'null-alpha'>;
|
||||
'abs-percent': Deprecation<'abs-percent'>;
|
||||
'fs-importer-cwd': Deprecation<'fs-importer-cwd'>;
|
||||
'css-function-mixin': Deprecation<'css-function-mixin'>;
|
||||
import: Deprecation<'import'>;
|
||||
'user-authored': Deprecation<'user-authored', 'user'>;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user