Repository navigation
Releases
Releases · HtmlUnit/htmlunit-cssparser
HtmlUnit-CSSParser 5.8.0
- NthPseudoClassCondition for nth-child(), nth-last-child(), nth-of-type() and nth-last-of-type()
- lch()/oklch(): accept a plain number as hue
- Selectors with a comment between whitespace (e.g. "div /* c */ p") are no longer dropped
- calc(): the + and - operators have to be surrounded by whitespace.
- min(), max() and clamp() are parsed as math functions (new LexicalUnitTypes FUNCTION_MIN, FUNCTION_MAX and FUNCTION_CLAMP)
see HtmlUnit release notes for more details
Full Changelog: 5.7.0...5.8.0
HtmlUnit-CSSParser 5.7.0
- Limit the nesting depth of functions, calc() blocks and selectors (32 levels); deeper nested input is reported as parse error instead of causing a StackOverflowError.
- add BOM
see HtmlUnit release notes for more details
Full Changelog: 5.6.0...5.7.0
HtmlUnit-CSSParser 5.6.0
HtmlUnit-CSSParser 5.5.0
- requireMavenVersion 3.9.0
- 'not' and 'and' are valid identifiers and valid media (featrue) names
- locator for the selector list now points to the first selector in that list instead of the last one
- QUATER renamed to QUARTER
- @charset does not require whitespace before the charset name
- fix missing units during skipping
- fix beginColumn/endLine settings
- updata copyright year
- handle whitespace inside the helpers
- simplified color parsing
- jdoc update and fixes, code cleanup and minor modernization
see HtmlUnit release notes for more details
Full Changelog: 5.4.0...5.5.0
HtmlUnit-CSSParser 5.4.0
HtmlUnit-CSSParser 5.3.0
HtmlUnit-CSSParser 5.2.0
HtmlUnit-CSSParser 5.1.0
HtmlUnit-CSSParser 5.0.0
- Java 17 & modules
- use the correct error/warning message
- minor fix: use the current error instead of creating a new one
- improved error handling for font-face rules
- unify casing - ingnore case is true
- drop unicode support in keywords
see HtmlUnit release notes for more details
Full Changelog: 4.21.0...5.0.0
HtmlUnit-CSSParser 4.21.0
- support for dvw, dvh, dvmin, dvmax, lvw, lvh, lvmin, lvmax, svw, svh, svmin, svmax unit added
- simplified error processing
- wrong escape sequence definition for letter 'o' fixed.
see HtmlUnit release notes for more details
Full Changelog: 4.20.0...4.21.0