mirror of
https://github.com/sass/sass.git
synced 2024-09-21 18:47:25 +00:00
Only omit style rules if _all_ of their complex selectors are bogus
This commit is contained in:
parent
10ccb919a7
commit
5e3314e52b
@ -4,6 +4,8 @@
|
||||
|
||||
* Support single leading combinators in Phase 1.
|
||||
|
||||
* Only omit style rules if _all_ of their complex selectors are bogus.
|
||||
|
||||
* Allow bogus selectors in `selector.append()`.
|
||||
|
||||
## Draft 2
|
||||
|
@ -218,9 +218,9 @@ In particular:
|
||||
|
||||
* The newly-added errors produce deprecation warnings instead.
|
||||
|
||||
* In [Evaluating a Style Rule], only append `css` to the current module's CSS if
|
||||
its selector is not [bogus], or if it has a single leading combinator but is
|
||||
otherwise not bogus.
|
||||
* In [Evaluating a Style Rule], remove any complex selectors from `css`'s
|
||||
selectors that are [bogus], except those that have a single leading combinator
|
||||
but are otherwise not bogus.
|
||||
|
||||
> Leading combinators are allowed in Phase 1 (but still emit deprecation
|
||||
> warnings) because they may be used for nesting along with `meta.load-css()`.
|
||||
|
Loading…
Reference in New Issue
Block a user