@@ -10,6 +10,12 @@ Please also have a look at our
10
10
11
11
### Added
12
12
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 an original position
18
+ (line and perhaps column number) in the parsed CSS (#1221 )
13
19
- Partial support for CSS Color Module Level 4:
14
20
- ` rgb ` and ` rgba ` , and ` hsl ` and ` hsla ` are now aliases (#797 }
15
21
- Parse color functions that use the "modern" syntax (#800 )
@@ -20,6 +26,9 @@ Please also have a look at our
20
26
21
27
### Changed
22
28
29
+ - Implement ` Positionable ` in the following CSS item classes:
30
+ ` Comment ` , ` CSSList ` , ` SourceException ` , ` Charset ` , ` CSSNamespace ` , ` Import ` ,
31
+ ` Rule ` , ` DeclarationBlock, ` RuleSet` , ` CSSFunction` , ` Value` (#1225 )
23
32
- Initialize ` KeyFrame ` properties to sensible defaults (#1146 )
24
33
- Make ` OutputFormat ` ` final ` (#1128 )
25
34
- Make ` Selector ` a ` Renderable ` (#1017 )
@@ -33,6 +42,13 @@ Please also have a look at our
33
42
34
43
### Deprecated
35
44
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
+
36
52
### Removed
37
53
38
54
- Remove ` __toString() ` (#1046 )
0 commit comments