ph-css

Advanced Java CSS 3 parser and builder

APACHE-2.0 License

Stars
154

Bot releases are visible (Hide)

ph-css - ph-css 7.0.2 Latest Release

Published by phax 7 months ago

  • Updated to ph-commons 11.1.5
  • Created Java 21 compatibility

Full Changelog: https://github.com/phax/ph-css/compare/ph-css-parent-pom-7.0.1...ph-css-parent-pom-7.0.2

ph-css - ph-css 7.0.1

Published by phax about 1 year ago

ph-css - ph-css 7.0.0

Published by phax over 1 year ago

  • Using Java 11 as the baseline
  • Updated to ph-commons 11

Full Changelog: https://github.com/phax/ph-css/compare/ph-css-parent-pom-6.5.0...ph-css-parent-pom-7.0.0

ph-css - ph-css 6.5.0

Published by phax over 2 years ago

  • Re-added explicit support for deprecated property names starting with $ or * but only inside style declarations. See issue #84 and PR #85 - thanks @shagkur
  • Therefore ICSSParseErrorHandler.onCSSDeprecatedProperty was added
ph-css - ph-css 6.4.4

Published by phax almost 3 years ago

  • Added support for :host-context. See issue #80 and PR #81 - thanks @shagkur
  • Improved support for the scientific number parsing. See issue #82 and PR #83 - thanks @shagkur
ph-css - ph-css 6.4.3

Published by phax almost 3 years ago

  • Extended API of CSSReaderDeclarationList. See issue #78 - thanks @shagkur
  • Added support for the scientific number (as in 1e6) support in parsing. See issue #79 - thanks @shagkur
ph-css - ph-css 6.4.2

Published by phax almost 3 years ago

  • Improved support for :host and ::slotted. See issue #77 - thanks @shagkur
  • Added a possibility to differentiate between String and Identifier in CSSExpressionMemberTermSimple. See issue #75 and PR #76 - thanks @shagkur
ph-css - ph-css 6.4.1

Published by phax almost 3 years ago

  • Added support for :host and ::slotted. See issue #73 and PR #74 - thanks @shagkur
  • Renamed the "math*" rules to "calc*" - that also touched a few internal constants
  • Fixed the emitting of pseudo selector functions without parameters (as in :lang()). See issue #72) - thanks @shagkur
  • Updated to latest version of ParserGeneratorCC for a bit more efficient code
ph-css - ph-css 6.4.0

Published by phax almost 3 years ago

  • Fixed SonarCloud issues
  • Removed the serialisability of the objects, because it was never done in a consistent way
  • Added support for the flex shorthand property (issue #71) - thanks @nhubbard
ph-css - ph-css 6.3.4

Published by phax over 3 years ago

  • Fixed an error with the shorthand expansion of border-width (PR #68) - thanks @rockwotj
ph-css - ph-css 6.3.3

Published by phax over 3 years ago

  • Allow unknown rules inside @media rules (issue #67) - thanks @yinkwok-ys
ph-css - ph-css 6.3.2

Published by phax over 3 years ago

  • Fixed an error with the negation parameters (issue #66) - thanks @rockwotj
ph-css - ph-css 6.3.1

Published by phax over 3 years ago

  • Added support for @footnote in @page rules (PR #64) - thanks @schmidti159
ph-css - ph-css 6.3.0

Published by phax over 3 years ago

  • Updated to ph-commons 10
ph-css - ph-css 6.2.4

Published by phax over 3 years ago

  • Updated to ph-commons 9.4.6, leading to a more resilient DataURL parsing
  • Fixed the ignorance of minimum and maximum parameter count in class CSSPropertyColors
  • Fixed the case-sensitivity of CSS variables declarations (issue #63)
ph-css - ph-css 6.2.3

Published by phax over 4 years ago

  • Fixed an issue with the URL visitor not recursively descending into expression members (issue #59)

Dependencies required:

ph-css - ph-css 6.2.2

Published by phax over 4 years ago

  • Updated to ph-commons 9.4.0

Dependencies required:

ph-css - ph-css 6.2.1

Published by phax over 4 years ago

  • Improved the pattern for colors in hex values (PR #55)
  • Fixed a grammar issue that resulted in failed calc parsing (issue #57). The implications of this change are, that the special IE6 and IE7 hacks with $ and * as identifier prefixes are no longer supported. If you need to parse CSS suitable for these old browsers, stay with v6.2.0.
  • Updated CSS properties of the completed specifications

Dependencies required:

ph-css - ph-css 6.2.0

Published by phax over 5 years ago

  • Fixed NPE in CSSWriterSettings.DEFAULT_SETTINGS because of wrong initialization order (#53)
  • Added some -o- media expression features
  • Changing browser compliant parsing in a way, so that less null is returned in parsing (#41)
  • The default "custom error handler" for parsing was changed from ThrowingCSSParseErrorHandler to LoggingCSSParseErrorHandler for best browser compliant mode handling
  • Heavily improved fault tolerance in parsing when "browser compliant mode" is enabled

Dependencies required:

ph-css - ph-css 6.1.3

Published by phax over 5 years ago

  • Added some performance tweaks
  • Added possibility to disable the usage of the source location using CSSReaderSettings (for performance reasons)

Dependencies required: