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

Fixed Conflicts of Pull Request https://github.com/svg-net/SVG/pull/1094 #1107

Merged
merged 2 commits into from
Dec 16, 2023

Conversation

inforithmics
Copy link
Contributor

Reference Issue

Fixes the Conflicts of this pull request
#1094

What does this implement/fix? Explain your changes.

SvgDocument has CSS support which is cool. But sometimes you may want to specify an external CSS for an SVG document. This MR adds one more parameter to the SvgDocument.Open method for external CSS.

Any other comments?

@mrbean-bremen mrbean-bremen merged commit 4cd055a into svg-net:master Dec 16, 2023
7 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 16, 2023
…CSS (#1107) ---------
 
 Co-authored-by: Kalachik Roman <kalachik@eremex.ru>
@H1Gdev
Copy link
Contributor

H1Gdev commented Dec 16, 2023

@inforithmics @mrbean-bremen
Please add release notes and tests.

Why do you only provide this feature for some Open methods?
For example, is it not needed here ?

In addition, I have a negative opinion about the way this functionality is provided from maintainability standpoint.
(It seems to be the same as entities...)

In my opinion, I think you should just add CSS to created SvgDocument instance.

@inforithmics
Copy link
Contributor Author

I'll make a follow up pull request.
I discovered another problem this change is not binary compatible. So I will create the overloaded functions to make it binary compatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants