mirror of
https://github.com/sass/sass.git
synced 2024-09-21 02:27:30 +00:00
parent
9ad70a52e1
commit
79799ca575
9
js-api-doc/deprecations.d.ts
vendored
9
js-api-doc/deprecations.d.ts
vendored
@ -6,7 +6,7 @@
|
||||
*/
|
||||
export interface Deprecations {
|
||||
// START AUTOGENERATED LIST
|
||||
// Checksum: 22d9bdbe92eb39b3c0d6d64ebe1879a431c0037e
|
||||
// Checksum: 6e5aeefc72f4e9b4ffa0672feea75a5ad09b0282
|
||||
|
||||
/**
|
||||
* Deprecation for passing a string directly to meta.call().
|
||||
@ -113,6 +113,13 @@ export interface Deprecations {
|
||||
*/
|
||||
'css-function-mixin': Deprecation<'css-function-mixin'>;
|
||||
|
||||
/**
|
||||
* Deprecation for declarations after or between nested rules.
|
||||
*
|
||||
* This deprecation became active in Dart Sass 1.77.7.
|
||||
*/
|
||||
'interleaved-decls': Deprecation<'interleaved-decls'>;
|
||||
|
||||
/**
|
||||
* Deprecation for @import rules.
|
||||
*
|
||||
|
@ -43,6 +43,9 @@ To execute an unknown at-rule `rule`:
|
||||
* If `rule`'s name is "font-face", or if its [unprefixed] name is
|
||||
"keyframes", append `css` to [the current module]'s CSS.
|
||||
|
||||
* Otherwise, if `rule`'s name is case-insensitively equal to "nest", append
|
||||
`css` to `parent`.
|
||||
|
||||
* Otherwise:
|
||||
|
||||
* Append `css` to `parent`'s parent.
|
||||
|
@ -75,5 +75,16 @@ To execute a declaration `declaration`:
|
||||
* Let `css` be a CSS declaration with name `name` and value `value`.
|
||||
|
||||
* Append `css` to `parent`.
|
||||
|
||||
* If `parent` isn't the last statement in its parent:
|
||||
|
||||
* Let `copy` by a copy of `parent` without any children.
|
||||
|
||||
* Append `copy` to `parent`'s parent.
|
||||
|
||||
* Set the [current style rule], [keyframe block], or at-rule (according to
|
||||
`copy`'s type) to `copy`, for the remaining duration of its previous value.
|
||||
|
||||
* Set `parent` to `copy`.
|
||||
|
||||
* Evaluate each child in `declaration`'s `Statements` if it exists.
|
||||
|
@ -106,6 +106,12 @@ css-function-mixin:
|
||||
status: active
|
||||
deprecated: 1.76.0
|
||||
|
||||
interleaved-decls:
|
||||
description: Declarations after or between nested rules.
|
||||
dart-sass:
|
||||
status: active
|
||||
deprecated: 1.77.7
|
||||
|
||||
import:
|
||||
description: "@import rules."
|
||||
dart-sass:
|
||||
|
@ -29,7 +29,7 @@
|
||||
### `Deprecations`
|
||||
|
||||
<!-- START AUTOGENERATED LIST -->
|
||||
<!-- Checksum: 22d9bdbe92eb39b3c0d6d64ebe1879a431c0037e -->
|
||||
<!-- Checksum: 6e5aeefc72f4e9b4ffa0672feea75a5ad09b0282 -->
|
||||
```ts
|
||||
export interface Deprecations {
|
||||
'call-string': Deprecation<'call-string'>;
|
||||
@ -47,6 +47,7 @@ export interface Deprecations {
|
||||
'abs-percent': Deprecation<'abs-percent'>;
|
||||
'fs-importer-cwd': Deprecation<'fs-importer-cwd'>;
|
||||
'css-function-mixin': Deprecation<'css-function-mixin'>;
|
||||
'interleaved-decls': Deprecation<'interleaved-decls'>;
|
||||
import: Deprecation<'import'>;
|
||||
'user-authored': Deprecation<'user-authored', 'user'>;
|
||||
}
|
||||
|
@ -13,12 +13,15 @@
|
||||
|
||||
The *current style rule* is the CSS style rule that was created by the innermost
|
||||
[execution of a style rule](#semantics), `@media` rule, `@supports` rule, or
|
||||
unknown at-rule.
|
||||
unknown at-rule. This may be overridden by the [execution of a declaration].
|
||||
|
||||
[execution of a declaration]: declarations.md#semantics
|
||||
|
||||
### Current Keyframe Block
|
||||
|
||||
The *current keyframe block* is the CSS keyframe block that was created by the
|
||||
innermost [execution of a style rule](#semantics).
|
||||
innermost [execution of a style rule](#semantics). This may be overridden by the
|
||||
[execution of a declaration].
|
||||
|
||||
## Semantics
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user