mirror of
https://github.com/danog/sass-site.git
synced 2024-11-30 04:29:17 +01:00
Merge branch 'port-documentation' into dynamic-nav
* port-documentation: Fix compat tables
This commit is contained in:
commit
1f2ea317bf
@ -43,8 +43,8 @@ Anywhere behavior differs between versions or implementations, the documentation
|
|||||||
includes a compatibility indicator like this:
|
includes a compatibility indicator like this:
|
||||||
{% endmarkdown %}
|
{% endmarkdown %}
|
||||||
|
|
||||||
{% compatibility true, '3.6.0', false, 'Feature Name' %}
|
{% # Arguments are (in order): `dart`, `libsass`, `node`, `ruby`, optional feature name, additional details within %}
|
||||||
{% endcompatibility %}
|
{% compatibility true, '3.6.0', null, false, 'Feature Name' %}{% endcompatibility %}
|
||||||
|
|
||||||
{% markdown %}
|
{% markdown %}
|
||||||
Implementations with a "✓" fully support the feature in question, and
|
Implementations with a "✓" fully support the feature in question, and
|
||||||
@ -53,7 +53,8 @@ number started supporting the feature in question at that version.
|
|||||||
Implementations can also be marked as "partial":
|
Implementations can also be marked as "partial":
|
||||||
{% endmarkdown %}
|
{% endmarkdown %}
|
||||||
|
|
||||||
{% compatibility true, 'partial', false %}
|
{% # Arguments are (in order): `dart`, `libsass`, `node`, `ruby`, optional feature name, additional details within %}
|
||||||
|
{% compatibility true, 'partial', null, false %}
|
||||||
Additional details go here.
|
Additional details go here.
|
||||||
{% endcompatibility %}
|
{% endcompatibility %}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% # Arguments are (in order): `dart`, `libsass`, `node`, `ruby` %}
|
{% # Arguments are (in order): `dart`, `libsass`, `node`, `ruby`, optional feature name, additional details within %}
|
||||||
{% compatibility '1.23.0', false, null, false %}
|
{% compatibility '1.23.0', false, null, false %}
|
||||||
Only Dart Sass currently supports `@use`. Users of other implementations must
|
Only Dart Sass currently supports `@use`. Users of other implementations must
|
||||||
use the [`@import` rule][] instead.
|
use the [`@import` rule][] instead.
|
||||||
|
@ -146,8 +146,8 @@ $rounded-corners: false
|
|||||||
## Custom Properties
|
## Custom Properties
|
||||||
{% endmarkdown %}
|
{% endmarkdown %}
|
||||||
|
|
||||||
{% # Arguments are (in order): `dart`, `libsass`, `ruby`, optional feature name, additional details within %}
|
{% # Arguments are (in order): `dart`, `libsass`, `node`, `ruby`, optional feature name, additional details within %}
|
||||||
{% compatibility true, '3.5.0', '3.5.0', 'SassScript Syntax' %}
|
{% compatibility true, '3.5.0', null, '3.5.0', 'SassScript Syntax' %}
|
||||||
Older versions of LibSass and Ruby Sass parsed custom property declarations just like any other property declaration, allowing the full range of SassScript expressions as values. Even when using these versions, it's
|
Older versions of LibSass and Ruby Sass parsed custom property declarations just like any other property declaration, allowing the full range of SassScript expressions as values. Even when using these versions, it's
|
||||||
recommended that you use interpolation to inject SassScript values for
|
recommended that you use interpolation to inject SassScript values for
|
||||||
forwards-compatibility.
|
forwards-compatibility.
|
||||||
|
@ -7,7 +7,8 @@ introduction: >
|
|||||||
|
|
||||||
{{ '## Input Encoding' | markdown }}
|
{{ '## Input Encoding' | markdown }}
|
||||||
|
|
||||||
{% compatibility false, true, true %}
|
{% # Arguments are (in order): `dart`, `libsass`, `node`, `ruby`, optional feature name, additional details within %}
|
||||||
|
{% compatibility false, true, null, true %}
|
||||||
Dart Sass currently _only_ supports the UTF-8 encoding. As such, it's safest to encode all Sass stylesheets as UTF-8.
|
Dart Sass currently _only_ supports the UTF-8 encoding. As such, it's safest to encode all Sass stylesheets as UTF-8.
|
||||||
{% endcompatibility %}
|
{% endcompatibility %}
|
||||||
|
|
||||||
|
@ -97,7 +97,8 @@ $roboto-font-path: "../fonts/roboto"
|
|||||||
|
|
||||||
{{ '## `element()`, `progid:...()`, and `expression()`' | markdown }}
|
{{ '## `element()`, `progid:...()`, and `expression()`' | markdown }}
|
||||||
|
|
||||||
{% compatibility "<1.40.0", false, false, "calc()" %}
|
{% # Arguments are (in order): `dart`, `libsass`, `node`, `ruby`, optional feature name, additional details within %}
|
||||||
|
{% compatibility "<1.40.0", false, null, false, "calc()" %}
|
||||||
LibSass, Ruby Sass, and versions of Dart Sass prior to 1.40.0 parse `calc()` as special syntactic function like `element()`.
|
LibSass, Ruby Sass, and versions of Dart Sass prior to 1.40.0 parse `calc()` as special syntactic function like `element()`.
|
||||||
|
|
||||||
Dart Sass versions 1.40.0 and later parse `calc()` as a [calculation].
|
Dart Sass versions 1.40.0 and later parse `calc()` as a [calculation].
|
||||||
@ -105,7 +106,8 @@ Dart Sass versions 1.40.0 and later parse `calc()` as a [calculation].
|
|||||||
[calculation]: /documentation/values/calculations
|
[calculation]: /documentation/values/calculations
|
||||||
{% endcompatibility %}
|
{% endcompatibility %}
|
||||||
|
|
||||||
{% compatibility ">=1.31.0 <1.40.0", false, false, "clamp()" %}
|
{% # Arguments are (in order): `dart`, `libsass`, `node`, `ruby`, optional feature name, additional details within %}
|
||||||
|
{% compatibility ">=1.31.0 <1.40.0", false, null, false, "clamp()" %}
|
||||||
LibSass, Ruby Sass, and versions of Dart Sass prior to 1.31.0 parse `clamp()`
|
LibSass, Ruby Sass, and versions of Dart Sass prior to 1.31.0 parse `clamp()`
|
||||||
as a [plain CSS function] rather than supporting special syntax within it.
|
as a [plain CSS function] rather than supporting special syntax within it.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user