mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-22 05:41:14 +01:00
Update namespace extend per sass/sass#2229. (#106)
This commit is contained in:
parent
5b1754a262
commit
35d1af51d1
@ -1,3 +1,10 @@
|
||||
## 1.0.0-alpha.10
|
||||
|
||||
* Elements without a namespace (such as `div`) are no longer unified with
|
||||
elements with the empty namespace (such as `|div`). This unification didn't
|
||||
match the results returned by `is-superselector()`, and was not guaranteed to
|
||||
be valid.
|
||||
|
||||
## 1.0.0-alpha.9
|
||||
|
||||
* Support `&` within `@at-root`.
|
||||
|
@ -93,9 +93,9 @@ SimpleSelector unifyUniversalAndElement(
|
||||
}
|
||||
|
||||
String namespace;
|
||||
if (namespace1 == namespace2 || namespace2 == null || namespace2 == '*') {
|
||||
if (namespace1 == namespace2 || namespace2 == '*') {
|
||||
namespace = namespace1;
|
||||
} else if (namespace1 == null || namespace1 == '*') {
|
||||
} else if (namespace1 == '*') {
|
||||
namespace = namespace2;
|
||||
} else {
|
||||
return null;
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: sass
|
||||
version: 1.0.0-alpha.8
|
||||
version: 1.0.0-dev
|
||||
description: A Sass implementation in Dart.
|
||||
author: Dart Team <misc@dartlang.org>
|
||||
homepage: https://github.com/sass/dart-sass
|
||||
|
Loading…
x
Reference in New Issue
Block a user