|
2 | 2 | CSS4J RELEASE NOTES |
3 | 3 | =================== |
4 | 4 |
|
5 | | -Release 3.2.0 - December 20, 2020 |
6 | | ---------------------------------- |
| 5 | +Release 3.3.0 - January 5, 2021 |
| 6 | +------------------------------- |
7 | 7 |
|
8 | 8 | Release Highlights |
9 | 9 | ------------------ |
10 | | -- New additions to the API, notably SelectorList.replace(int, Selector), the new |
11 | | - 'geom' package, and Visitor<T> added to carte-util. |
12 | | -- DOM has quite a few traversal methods, but CSSOM just has the rule lists. New |
13 | | - (non-standard) style sheet traversal methods have been added, based on the |
14 | | - Visitor pattern. The parent Carte project uses them to perform SVG-related |
15 | | - processing. |
16 | | -- A specialized AttributeConditionVisitor allows modification of attribute |
17 | | - selectors upon traversal, very useful to integrate SVG inline images in HTML. |
18 | | -- ":any-link" was overlooked but is now supported. ":link" and ":visited" now |
19 | | - only apply to the link-related HTML elements and anything with a "xlink:href", |
20 | | - while previously any element with an "href" attribute was matching. |
21 | | -- Loads of improvements and fixes to the native DOM implementation. The new |
22 | | - element-name iterator is a time saver. If you use native DOM, you are invited |
23 | | - to upgrade. |
24 | | -- In the native DOM and DOM4J, embedded style sheets are no longer used if they |
25 | | - belong to a different namespace than the document element, preventing -for |
26 | | - example- potential clashes with SVG styles and providing less overhead for the |
27 | | - style computations when many SVG elements are present. Web browsers do not |
28 | | - make this distinction about STYLE elements though, but IMHO is the right |
29 | | - behaviour to have. |
30 | | -- A security loophole was fixed in the DOM wrapper, which could allow setting an |
31 | | - unsafe base href. |
32 | | -- DOM4J module now depends on xmlpull-xpp3 1.2 artifact from |
33 | | - https://github.com/xmlpull-xpp3/xmlpull-xpp3 instead of the old xpp3. The new |
34 | | - artifact is not available from Maven Central -which is unlikely to make |
35 | | - downstream users happy- but it is an optional dependency after all. |
36 | | -- In the DOM4J module, Element.setAttributeNode() and setAttributeNodeNS() were |
37 | | - not working correctly due to an upstream bug. Now css4j overrides the relevant |
38 | | - methods. |
| 10 | + This release changes the visibility of one class needed by the EchoSVG software |
| 11 | +but also has a couple of interesting additions: |
| 12 | + |
| 13 | +- DOM: new Element.getInnerText(). |
| 14 | +- CSSOM: support the :dir() pseudo-class in computed styles, important for users |
| 15 | + of arabic and other right-to-left languages. |
39 | 16 |
|
40 | 17 |
|
41 | 18 | Description |
|
0 commit comments