mirror of
https://github.com/sass/sass.git
synced 2024-09-21 02:27:30 +00:00
[CSS Min/Max] Use CssMinMax instead of MinMaxExpression in CalcValue
This commit is contained in:
parent
75c3623695
commit
b29e67202e
@ -1,3 +1,9 @@
|
||||
## Draft 3
|
||||
|
||||
* Use `CssMinMax` instead of `MinMaxExpression` as a possibility for
|
||||
`CalcValue`. We don't want SassScript funtion invocations in plain CSS math
|
||||
functions.
|
||||
|
||||
## Draft 2
|
||||
|
||||
* Fix a typo where `CalcValue` was incorrectly referred to as `CalcArithemtic`.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Plain CSS `min()` and `max()`: Draft 2
|
||||
# Plain CSS `min()` and `max()`: Draft 3
|
||||
|
||||
*([Issue](https://github.com/sass/sass/issues/2378), [Changelog](min-max.changes.md))*
|
||||
|
||||
@ -85,7 +85,7 @@ The grammar for this production is:
|
||||
**CalcValue** ::= CalcValue (('+' | '-' | '*' | '/') CalcValue)+
|
||||
  | '(' CalcValue ')'
|
||||
  | ('calc(' | 'env(' | 'var(') InterpolatedDeclarationValue ')'
|
||||
  | MinMaxExpression
|
||||
  | CssMinMax
|
||||
  | Interpolation
|
||||
  | Number
|
||||
</pre></x>
|
||||
|
Loading…
Reference in New Issue
Block a user