File tree 1 file changed +13
-0
lines changed
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**.
42
42
* [ Compatibility Policy] ( #compatibility-policy )
43
43
* [ Browser Compatibility] ( #browser-compatibility )
44
44
* [ Node.js Compatibility] ( #nodejs-compatibility )
45
+ * [ Invalid CSS] ( #invalid-css )
45
46
* [ Embedded Dart Sass] ( #embedded-dart-sass )
46
47
* [ Usage] ( #usage )
47
48
* [ Behavioral Differences from Ruby Sass] ( #behavioral-differences-from-ruby-sass )
@@ -405,6 +406,18 @@ considers itself free to break support if necessary.
405
406
406
407
[ the Node.js release page ] : https://nodejs.org/en/about/previous-releases
407
408
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
+
408
421
## Embedded Dart Sass
409
422
410
423
Dart Sass includes an implementation of the compiler side of the [ Embedded Sass
You can’t perform that action at this time.
0 commit comments