Skip to content

Commit ceec51a

Browse files
committed
Release Notes and Upgrading for 3.3.0.
1 parent e28072f commit ceec51a

File tree

2 files changed

+13
-31
lines changed

2 files changed

+13
-31
lines changed

RELEASE_NOTES.txt

Lines changed: 8 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,17 @@
22
CSS4J RELEASE NOTES
33
===================
44

5-
Release 3.2.0 - December 20, 2020
6-
---------------------------------
5+
Release 3.3.0 - January 5, 2021
6+
-------------------------------
77

88
Release Highlights
99
------------------
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.
3916

4017

4118
Description

UPGRADING.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ UPGRADING FROM PREVIOUS VERSIONS
22
================================
33

44

5+
Upgrading to 3.3 from 3.2
6+
-------------------------
7+
- NSAC only: the 'index' parameter was removed from CSSHandler.property().
8+
9+
510
Upgrading to 3.2 from 3.1
611
-------------------------
712
- CSSStyleSheet.createStyleRule() now returns a CSSStyleRule.

0 commit comments

Comments
 (0)