@@ -10,6 +10,12 @@ Please also have a look at our
1010
1111### Added
1212
13+ - Methods ` getLineNumber ` and ` getColumnNumber ` which return a nullable ` int `
14+ for the following classes:
15+ ` Comment ` , ` CSSList ` , ` SourceException ` , ` Charset ` , ` CSSNamespace ` , ` Import ` ,
16+ ` Rule ` , ` DeclarationBlock ` , ` RuleSet ` , ` CSSFunction ` , ` Value ` (#1225 )
17+ - ` Positionable ` interface for CSS items that may have a position
18+ (line and perhaps column number) in the parsed CSS (#1221 )
1319- Partial support for CSS Color Module Level 4:
1420 - ` rgb ` and ` rgba ` , and ` hsl ` and ` hsla ` are now aliases (#797 }
1521 - Parse color functions that use the "modern" syntax (#800 )
@@ -20,6 +26,9 @@ Please also have a look at our
2026
2127### Changed
2228
29+ - Implement ` Positionable ` in the following CSS item classes:
30+ ` Comment ` , ` CSSList ` , ` SourceException ` , ` Charset ` , ` CSSNamespace ` , ` Import ` ,
31+ ` Rule ` , ` DeclarationBlock ` , ` RuleSet ` , ` CSSFunction ` , ` Value ` (#1225 )
2332- Initialize ` KeyFrame ` properties to sensible defaults (#1146 )
2433- Make ` OutputFormat ` ` final ` (#1128 )
2534- Make ` Selector ` a ` Renderable ` (#1017 )
@@ -33,6 +42,13 @@ Please also have a look at our
3342
3443### Deprecated
3544
45+ - ` getLineNo() ` is deprecated in these classes (use ` getLineNumber() ` instead):
46+ ` Comment ` , ` CSSList ` , ` SourceException ` , ` Charset ` , ` CSSNamespace ` , ` Import ` ,
47+ ` Rule ` , ` DeclarationBlock ` , ` RuleSet ` , ` CSSFunction ` , ` Value ` (#1225 )
48+ - ` Rule::getColNo() ` is deprecated (use ` getColumnNumber() ` instead) (#1225 )
49+ - Providing zero as the line number argument to ` Rule::setPosition() ` is
50+ deprecated (pass ` null ` instead if there is no line number) (#1225 )
51+
3652### Removed
3753
3854- Remove ` __toString() ` (#1046 )
0 commit comments