sass / dart-sass

The reference implementation of Sass, written in Dart.
https://sass-lang.com/dart-sass
MIT License
3.87k stars 350 forks source link

Deprecated mixed declarations #2267

Closed nex3 closed 1 month ago

nex3 commented 2 months ago

See sass/sass#3885 See https://github.com/sass/sass-spec/pull/2002

nex3 commented 1 month ago

Dartdoc seems to be failing due to https://github.com/dart-lang/dartdoc/issues/3818

stefanv commented 6 days ago

Confusingly, the page linked to in the warning gives an example that, due CSS specificity rules, renders the same under old and new behaviors. Do we have examples of where new behavior creates differences?

nex3 commented 4 days ago

Yes, any example where the nested rule doesn't affect specificity:

.example {
  color: red;

  @media screen {
    font-weight: bold;
  }

  font-weight: normal;
}