Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support modern CSS #39

Closed
carlosame opened this issue Apr 2, 2022 · 2 comments
Closed

Support modern CSS #39

carlosame opened this issue Apr 2, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@carlosame
Copy link
Member

Although EchoSVG supports level 4 selectors, the rest of CSS is only supported at CSS 2. Current SVG images tend to use modern CSS, for example:

This issue is opened to discuss the transition of this project to a more modern CSS. The intention is to migrate the current CSS Object Model to something based on CSS4J's Object Model.

@carlosame carlosame added the enhancement New feature or request label Apr 2, 2022
@carlosame carlosame pinned this issue Apr 2, 2022
@carlosame
Copy link
Member Author

PR #60 was just merged, and provides a powerful workaround that allows transcoding documents that use modern CSS.

@carlosame
Copy link
Member Author

Summarizing the CSS progress since this issue was opened:

  1. The CSSTranscodingHelper was added, and it allows to bypass the native CSS processing and use css4j's Object Model instead.

  2. Support for CSS Color Level 4.

  3. Improved spec compliance in error handling.

Now that advanced CSS processing is possible thanks to CSSTranscodingHelper, and CSS support in general was improved, instead of keeping this very generic issue open forever I'm closing it. Narrower individual issues shall be opened instead.

@carlosame carlosame unpinned this issue Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant