File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ A [Dart][dart] implementation of [Sass][sass]. **Sass makes CSS fun**.
4242* [ Compatibility Policy] ( #compatibility-policy )
4343 * [ Browser Compatibility] ( #browser-compatibility )
4444 * [ Node.js Compatibility] ( #nodejs-compatibility )
45+ * [ Invalid CSS] ( #invalid-css )
4546* [ Embedded Dart Sass] ( #embedded-dart-sass )
4647 * [ Usage] ( #usage )
4748* [ Behavioral Differences from Ruby Sass] ( #behavioral-differences-from-ruby-sass )
@@ -405,6 +406,18 @@ considers itself free to break support if necessary.
405406
406407[ the Node.js release page ] : https://nodejs.org/en/about/previous-releases
407408
409+ ### Invalid CSS
410+
411+ Changes to the behavior of Sass stylesheets that produce invalid CSS output are
412+ _ not_ considered breaking changes. Such changes are almost always necessary when
413+ adding support for new CSS features, and delaying all such features until a new
414+ major version would be unduly burdensome for most users.
415+
416+ For example, when Sass began parsing ` calc() ` expressions, the invalid
417+ expression ` calc(1 +) ` became a Sass error where before it was passed through
418+ as-is. This was not considered a breaking change, because ` calc(1 +) ` was never
419+ valid CSS to begin with.
420+
408421## Embedded Dart Sass
409422
410423Dart Sass includes an implementation of the compiler side of the [ Embedded Sass
You can’t perform that action at this time.
0 commit comments