Skip to content

Commit 21e1a8c

Browse files
authored
[TASK] Deprecate support for -webkit-calc and -moz-calc (#1086)
1 parent 9c48d3a commit 21e1a8c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1919

2020
### Deprecated
2121

22+
- Deprecate support for `-webkit-calc` and `-moz-calc` (#1086)
2223
- Deprecate `__toString()` (#1006)
2324
- Deprecate greedy calculation of selector specificity (#1018)
2425
- Deprecate the IE hack in `Rule` (#993, #1003)

src/Value/CalcFunction.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
use Sabberworm\CSS\Parsing\UnexpectedEOFException;
77
use Sabberworm\CSS\Parsing\UnexpectedTokenException;
88

9+
/**
10+
* Support for `-webkit-calc` and `-moz-calc` is deprecated in version 8.8.0, and will be removed in version 9.0.0.
11+
*/
912
class CalcFunction extends CSSFunction
1013
{
1114
/**

0 commit comments

Comments
 (0)