@@ -7,10 +7,29 @@ This project adheres to [Semantic Versioning](https://semver.org/).
77
88### Added
99
10+ - Methods ` getLineNumber ` and ` getColumnNumber ` which return a nullable ` int `
11+ for the following classes:
12+ ` Comment ` , ` CSSList ` , ` SourceException ` , ` Charset ` , ` CSSNamespace ` , ` Import ` ,
13+ ` Rule ` , ` DeclarationBlock ` , ` RuleSet ` , ` CSSFunction ` , ` Value ` (#1225 )
14+ - ` Positionable ` interface for CSS items that may have a position
15+ (line and perhaps column number) in the parsed CSS (#1221 )
16+
1017### Changed
1118
19+ - Implement ` Positionable ` in the following CSS item classes:
20+ ` Comment ` , ` CSSList ` , ` SourceException ` , ` Charset ` , ` CSSNamespace ` , ` Import ` ,
21+ ` Rule ` , ` DeclarationBlock ` , ` RuleSet ` , ` CSSFunction ` , ` Value ` (#1225 )
22+
1223### Deprecated
1324
25+ - ` getLineNo() ` is deprecated in these classes (use ` getLineNumber() ` instead):
26+ ` Comment ` , ` CSSList ` , ` SourceException ` , ` Charset ` , ` CSSNamespace ` , ` Import ` ,
27+ ` Rule ` , ` DeclarationBlock ` , ` RuleSet ` , ` CSSFunction ` , ` Value ` (#1225 , #1233 )
28+ - ` Rule::getColNo() ` is deprecated (use ` getColumnNumber() ` instead)
29+ (#1225 , #1233 )
30+ - Providing zero as the line number argument to ` Rule::setPosition() ` is
31+ deprecated (pass ` null ` instead if there is no line number) (#1225 , #1233 )
32+
1433### Removed
1534
1635### Fixed
0 commit comments