Version | Date | Description |
---|---|---|
0.9.30 | 28.12.2022 | bugfix |
0.9.29 | 07.11.2020 | more dimensions, new format option and bugfixes |
0.9.28 | 07.10.2020 | calc() and var() support, java 1.8 |
0.9.27 | 23.03.2019 | Bugfix |
0.9.26 | 22.07.2018 | Code cleanup |
0.9.25 | 27.01.2018 | Code cleanup, performance, useSourceStringValues format option |
0.9.24 | 31.10.2017 | Bugfixes |
0.9.23 | 01.06.2017 | Bugfixes |
0.9.22 | 23.02.2017 | Bugfixes |
0.9.21 | 08.01.2017 | Nested media rule support, bugfixes, documentation |
0.9.20 | 23.07.2016 | Bugfixes, documentation |
0.9.19 | 24.05.2016 | Apache2 license, Bugfixes, documentation |
0.9.18 | 27.10.2015 | Bugfixes, Improved output formating |
0.9.17 | 16.08.2015 | Bugfixes |
0.9.16 | 03.06.2015 | Formated output support, Bugfixes, improved UnitTest suite |
0.9.15 | 25.03.2015 | Media query support, Bugfixes |
0.9.14 | 08.05.2014 | Bugfixes and parser cleanup |
0.9.13 | 20.01.2014 | Bugfixes |
0.9.12 | 07.01.2014 | Bugfixes, rewritten function support for CSS3. |
0.9.11 | 08.10.2013 | CSS parser bugfix for pseudo conditions. |
0.9.10 | 13.09.2013 | Release with more CSS3 parser bugfixes and the usual code cleanup. |
0.9.9 | 16.02.2013 | Release with new CSS3 parser, some bugfixes and more code cleanup. |
0.9.8 | 25.10.2012 | Release with one bugfix and more code cleanup. |
0.9.7 | 24.04.2012 | Release with lots of bugfixes. |
0.9.6 | 25.10.2011 | Long-overdue release with lots of bugfixes. |
0.9.5 | 27.03.2008 | Long-overdue release with lots of bugfixes. |
0.9.4 | 22.11.2004 | |
0.9.3 | ? | |
0.9.2 | ? | |
0.9.1 | ? | |
0.9.0 | ? | |
0.1.4 | ? |
Type | Changes | By |
---|---|---|
Unknown rule values are printed as ems instead of em. | rbri |
Type | Changes | By |
---|---|---|
New CSSFormat setting useSingleQuotes to force the usage of single quotes instead of double quotes. Fixes 6. | rbri | |
Support for the dimensions 'ch', 'vw', 'vh', 'vmin' and 'vmax' added (CSS3). | rbri | |
Minus sign no longer supported inside unknown dimensions (CSS3). This fixes a problem when parsing calc terms without whitespace around the minus like in calc(42vh-16.4em). | rbri |
Type | Changes | By |
---|---|---|
var() support added. Thanks to Christian Morgner. | rbri | |
JDK 1.8 is now required. | rbri | |
calc() support added. Thanks to Christian Morgner. | rbri |
Type | Changes | By |
---|---|---|
Avoid scientific notation when converting float back to strings. Fixes 86. | rbri |
Type | Changes | By |
---|---|---|
Some code cleanup done. | rbri |
Type | Changes | By |
---|---|---|
JavaCC updated to version 7.0.3. | rbri | |
New format option useSourceStringValues. Fixes 85. | rbri | |
Many of the instanceof/cast operations removed from the parser to improve performance | rbri |
Type | Changes | By |
---|---|---|
INCOMPATIBLE CHANGE: GeneralAdjacentSelectorImpl (~) type changed from SAC_ANY_NODE_SELECTOR to SAC_DIRECT_ADJACENT_SELECTOR | rbri | |
Do not include maven meta information in the jar file. | rbri | |
A first simple implementation of the CSS2Properties interface added to CSSStyleDeclarationImpl. | rbri |
Type | Changes | By |
---|---|---|
Preserve double colons used by pseudo selectors (CSS3). Fixes 77. | rbri |
Type | Changes | By |
---|---|---|
Rewritten handling of comma separated property values. No all types are processed correctly. | rbri | |
Improved error handling; no longer skip the whole style sheet in case the first chars are not parsable (CSS3, CSS21). Fixes 73. | rbri |
Type | Changes | By |
---|---|---|
Introduce a common interface SACParser for all parsers. | rbri | |
To improve tool support the parser now has an option to accept the infamous star hack. When switching this on, the star hack no longer generates an error. Instead of that the rule is processed (the rule has the star as part of the name!). For more details have a look at the com.steadystate.css.parser.SACParserCSS3Test.starHackSupport() test case (CSS3, CSS21). Fixes 62. | rbri | |
Improved error handling for declarations having unexpected content at end. The parser now skips the invalid content and processes the next declaration instead of skipping to the next rule (CSS3, CSS21). Fixes 70. | rbri | |
Improved handling of charset rules not placed at the beginning. There is now a dedicated error message for this situation and the parser skips only the charset rule (CSS3, CSS21). Fixes 69. | rbri | |
Missing unicode range support added (CSS3). Fixes 68. | rbri | |
Nested media rules are now supported (CSS3). Fixes 67. | rbri |
Type | Changes | By |
---|---|---|
CSSValueImpl.getStringValue() no longer throws an exception for rgba values. Fixes 66. | rbri | |
Simplify the generated code for faster processing. | rbri | |
Improved error handling for broken css files. The parser now skips in some cases only to the next rbrace instead of ignoring the whole rest of the document. Fixes 64. | rbri | |
Take care of line breaks in strings when building the text back from the model. Fixes 61. | rbri |
Type | Changes | By |
---|---|---|
Now licensed under the Apache License, Version 2.0. | rbri | |
Page selector support added (CSS3). Fixes 60. | rbri | |
Units are no longer removed when parsing an unsupported at rule. Fixes 61. | rbri | |
Support old IE style gradient definitions (filter: progid:DXImageTransform.Microsoft.gradient(...)). Fixes 49. | rbri | |
JavaCC updated to version 6.1.2. | rbri | |
New format option propertiesInSeparateLines. | rbri | |
Rect definitions without comma are also valid. | rbri | |
Incorrect Free Software Foundation address fixed. Fixes 57. | rbri |
Type | Changes | By |
---|---|---|
At some places the parser inserts synthetic universal selectors (*). Starting with this version a special class (SyntheticElementSelectorImpl) is used for these selectors. As a result, the output (toString, getCssText) no longer contains an extra '*' (if not explicit defined in the input) | rbri | |
CSSStyleSheet.insertRule when taking the rule from an existing rule and the rule contains ':not'. Fixes 56. | rbri | |
MediaQuery.isOnly() and MediaQuery.isNot() added. | rbri | |
MediaList.getMediaText now outputs the whole media query | rbri | |
Colon is no longer part of the text output of empty properties. | rbri |
Type | Changes | By |
---|---|---|
Encoding of the input stream was ignored when the input stream was set up with a byte stream. | rbri | |
Minor parser code optimizations and more unit tests. | rbri |
Type | Changes | By |
---|---|---|
Support for getCssText(CSSFormat) added to start supporting various output format options. Fixes 54. | rbri | |
Missing impl of com.steadystate.css.dom.CSSUnknownRuleImpl.setCssText(String) added. | rbri | |
Possible NPE in com.steadystate.css.dom.CSSImportRuleImpl.getCssText() fixed. | rbri | |
Possible NPE in com.steadystate.css.dom.CSSFontFaceRuleImpl.getCssText() fixed. | rbri | |
Wrong null handling in com.steadystate.css.dom.CSSCharsetRuleImpl.getCssText() fixed. getCssText() now returns also the semicolon, because this is part of the rule per spec. | rbri | |
Possible NPE in com.steadystate.css.dom.CSSPageRuleImpl.getCssText() fixed. | rbri | |
Attribute 'ident' removed from class CSSPageRuleImpl. | rbri | |
Minor updates to the documentation. | rbri | |
If a rule contains the same property twice, the CSSStyleDeclarationImpl methods getPropertyDeclaration, getPropertyValue, getPropertyCSSValue, getPropertyPriority, and setProperty are now returning (or updating) the latter one instead of the first one. Fixes 51. | rbri |
Type | Changes | By |
---|---|---|
Simple 'Getting started' document added. | rbri | |
CSS3 parser now supports media queries. Fixes 40. | rbri | |
No longer skip the following declarations if a css star hack (http://en.wikipedia.org/wiki/CSS_filter#Star_hack) was used (CSS21 and CSS3). Fixes 50. | rbri | |
Bunch of fixes for the unicode handling implemented. | rbri | |
Some internal lexer cleanup for CSS21 and CSS3 parser. | rbri |
Type | Changes | By |
---|---|---|
Fix the error processing for expression 'filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);'. This is an old IE6 syntax; CSSParser will handle this as error but the parsing will continue directly after this. Fixes 46. | rbri | |
Fix the skipping of invalid rules. As a result, the parser now recognizes following expressions inside the same declaration instead of jumping to the next declaration. | rbri | |
Many small fixes for the parser; remove some unused variables and correct some statement order. | rbri |
Type | Changes | By |
---|---|---|
Only simple selectors are valid as parameter for the :not pseudo class (CSS3). | rbri | |
Whitespace before the includes operator was not handled correctly (e.g.[rel ~=val]) (CSS3). | rbri | |
Fix the toString method for functions to insert a blank at the right places (CSS3). Fixes 45. | rbri |
Type | Changes | By |
---|---|---|
Parsing of functions rewritten, now we have working support for functions with parameters calculated by functions (CSS3). Fixes 44. | rbri | |
Processing of the rect(), counter(), counters() and rgb() function parameter fixed (CSS2, CSS21, CSS3). Fixes 41. | rbri | |
Processing of the attr() function parameters fixed (CSS2, CSS21, CSS3). | rbri | |
NPE fixed if duplicate pseudo selector found (CSS2, CSS21, CSS3). | rbri | |
Some NPE fixed for class CSSStyleDeclarationImpl. More unit tests written. Fixes 42. Thanks to Ahmed Ashour. | rbri |
Type | Changes | By |
---|---|---|
CSS2/CSS21/CSS3: Fix selector parsing for more than one pseudo condition. | rbri |
Type | Changes | By |
---|---|---|
CSS2/CSS21/CSS3: Permit comments and whitespace before the @charset rule. Fixes 39. | rbri | |
CSS3: Support dimensions (20px, 40deg) as function arguments. | rbri | |
Fix the string representation of many function arguments. | rbri | |
CSS3: support double colon notation for pseudo selectors. Fixes 37. | rbri | |
CSS3: When parsing pseudo function arguments now the (inner) whitespace is preserved. | rbri |
Type | Changes | By |
---|---|---|
Simplified unit parsing for CSS21 and CSS3. Maybe this makes the parser a bit faster. | rbri | |
Parser.parseSelectors(InputSource) now handles leading whitespace properly. | rbri | |
Improved parsing of the lang selector. | rbri | |
@font-face support added to CSS3. | rbri | |
CSS3 parser added (patch from Ahmed Ashour). | rbri | |
DescendantSelectorImpl#toString() takes PseudoElementSelectors into account. Fixes 35. | rbri | |
com.steadystate.css.dom.CSSValueImpl.getPrimitiveType() returns wrong type for Hz and KHz. | rbri | |
Class CSS2Properties removed (spec: A conformant implementation of the CSS module is not required to implement the CSS2Properties interface). | rbri |
Type | Changes | By |
---|---|---|
More code cleanup work done. | rbri | |
Minor pom.xml fixes. | rbri | |
AttributeconditionImpl.getSpecified() now returns false if no value specified (like '[rel]'). | rbri | |
More unit tests added. Unused code removed. | rbri |
Type | Changes | By |
---|---|---|
Fix handling of escaped colons in id selectors like '#form\:elem'. | rbri | |
Possible number format exception when parsing dimensions fixed. | rbri | |
Result of LexicalUnit.toString() is now cached for performance. | rbri | |
Fix for some null handling in LexicalUnit. | rbri | |
Many tests written for LexicalUnit. | rbri | |
RectImpl now expects and processes the four coordinates in the correct (top, right, bottom, left) order. | rbri | |
Some more fixes for sanity checks done in CSSStyleSheet.insertRule. | rbri | |
Improved message output in class DOMExceptionImpl. | rbri | |
CSSStyleSheet.deleteRule now throws a DOMException if the given index is out of bounds (instead of an IndexOutOfBoundsException). | rbri | |
CSSStyleSheet.insertRule now takes care of incorrect rules. If the rule (to be added) parsing failes, insertRule now throws an exception (instead of adding a null as rule). | rbri |
Type | Changes | By |
---|---|---|
CSS 2.1 parser now ignores any '@import' rule that occurs inside a block (see http://www.w3.org/TR/CSS2/syndata.html#at-rules). JUnit tests added. | rbri | |
Parser hang with missing semicolon fixed. Fixes 32. | rbri | |
Method com.steadystate.css.parser.LexicalUnitImpl.createAttr(LexicalUnit, LexicalUnit) removed. The impl was broken. You can use the method com.steadystate.css.parser.LexicalUnitImpl.createAttr(LexicalUnit, String) instead. Fixes 24. | rbri | |
Improved error handling for methods parseStyleDeclaration, parseRule, parseSelectors, parsePropertyValue, parsePriority and parseMedia in class AbstractSACParser. All CSSParseException are now catched and processed by the error handler. | rbri | |
Class TestCSSParseException removed. | rbri | |
Another unescaping problem fixed. Fixes 29. | rbri | |
Class CSOMParser now takes care of the system property 'org.w3c.css.sac.parser'. The effect is, that the class uses the same parser as long as this property is unchanged. You can change the property from the outside (System.setProperty()) or by calling the CSOMParser(Parser) constructor. | rbri | |
Default parser changed from CSS2 to CSS21. | rbri | |
Always check for EOF if skipping something. Fixes 27. | rbri | |
Improved error handling for incorrect rules. Fixes 18. | rbri | |
Ignore leading and trailing whitespace in method com.steadystate.css.dom.CSSStyleSheetImpl.insertRule(String, int). Fixes 26. | rbri | |
Many more JUnit tests added. | waldbaer | |
Locatable and friends added. | waldbaer | |
Many equals and hashCode implementations added. | waldbaer | |
String parser was too greedy. Fixes 33. | waldbaer | |
Wrong processing of some chars. Fixes 22. | waldbaer | |
Major updates on the grammars. | waldbaer | |
JavaCC (and the maven plugin) updated. Fixes 33. | waldbaer |
Type | Changes | By |
---|---|---|
Removed the deprecated classes com.steadystate.css.CSS2Parser, com.steadystate.css.RGBColorImpl and com.steadystate.css.HexColor. | ||
Correctly unescape escaped characters in strings. Fixes 11. | sdanig | |
CSSStyleDeclarationImpl.getCssText() fixed to not return curly braces (as per the spec). Fixes 20. | sdanig | |
Removed unused class ParseException (one of two classes with this name). Fixes 15. | sdanig | |
Updated the minimum required Java version to Java 5. | sdanig | |
Removed the W3C DOM and SAC classes, using instead the classes in the JDK and the official SAC JAR. | sdanig | |
Moved build system to Maven 2. | sdanig | |
Added parseMedia() to SACParser. | sdanig | |
Modified CSSOMParser to allow parser creation within the sandbox. | sdanig | |
JavaCC-generated files removed from the repository. | sdanig | |
css2.jj renamed to SACParser.jj. | sdanig | |
Initial JUnit tests added. | sdanig |
Type | Changes | By |
---|---|---|
Ant buildfile added. | davidsch |
Type | Changes | By |
---|---|---|
Fixed a bug in the '@page' rule where a space after an identifier or a pseudo page caused a parser exception. |
Type | Changes | By |
---|---|---|
Made several modifications to provide JDK 1.1 compatability. | ||
Fixed a bug that caused negative floating-point values to be excessively trimmed. |
Type | Changes | By |
---|---|---|
Updated the SAC to version 1.2. | ||
Updated the CSSOM to comply with the W3C recommendation. | ||
Made the CSSOM serializable. |