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

Deprecate glyphRef, glyph, and tref #44

Open
AlienKevin opened this issue Dec 16, 2020 · 3 comments
Open

Deprecate glyphRef, glyph, and tref #44

AlienKevin opened this issue Dec 16, 2020 · 3 comments

Comments

@AlienKevin
Copy link
Contributor

AlienKevin commented Dec 16, 2020

I noticed that glyphRef, glyph, and trefhave been deprecated lately accordingly to MDN.

Browser compatability:

@AlienKevin AlienKevin changed the title Upgrade to SVG 2.0? Deprecate glyphRef, glyph, and tref Dec 16, 2020
@rupertlssmith
Copy link
Contributor

You initially mentioned SVG 2.0. Last time I looked into this (a while back), I got the impression that 2.0 is stalled, and browsers tend to support 1.1 (more or less). Are things starting to move again on 2.0?

I wondering what is the best way to proceed?

  1. Remove these functions.
  2. Add a comment to their docs to say they are deprecated.

Also worth considering, this package could be used to produce SVG for things other than browsers. For example, I have used it to output SVG that I then loaded into Inkscape. Browsers is the primary target though.

@AlienKevin
Copy link
Contributor Author

I think SVG 2.0 is indeed rolling out very slowly. I think your option (2) would be the best currently. We can say that the function is deprecated in 2.0 and possibly point out new alternatives.

@AlienKevin
Copy link
Contributor Author

@rupertlssmith On a side note, go ahead if you want to make a release. This whole SVG 2.0 thing is progressing very slowly.

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

No branches or pull requests

2 participants