Giter Club home page Giter Club logo

Comments (11)

EisenbergEffect avatar EisenbergEffect commented on July 28, 2024 1

Closing this since jsdom merged an SVG implementation.

from pal-nodejs.

EisenbergEffect avatar EisenbergEffect commented on July 28, 2024

Can you submit a PR with your recommendation?

from pal-nodejs.

niieani avatar niieani commented on July 28, 2024

Yeah, I'll try. Maybe we can make a simple implementation like in this article: https://www.smashingmagazine.com/2014/05/love-generating-svg-javascript-move-to-server/#jsdom
It won't be complete, but it will be better than nothing.

from pal-nodejs.

EisenbergEffect avatar EisenbergEffect commented on July 28, 2024

Sure. It can be added to pal-nodejs.

from pal-nodejs.

niieani avatar niieani commented on July 28, 2024

Actually, I see there's a PR with (incomplete) SVGElement support sitting in the JSDOM repo since April.

As long as we're going with our own fork of JSDOM anyway, we could probably merge that, or maybe even complete the implementation, if its not too much work and send a new PR to the maintainers.

from pal-nodejs.

EisenbergEffect avatar EisenbergEffect commented on July 28, 2024

It's worth looking into.

from pal-nodejs.

niieani avatar niieani commented on July 28, 2024

Temporary remedy for getting server-side stuff to load, but not a real fix: #18

from pal-nodejs.

niieani avatar niieani commented on July 28, 2024

I'm gonna reopen and rename this issue, since we don't have a proper fix yet.

from pal-nodejs.

Alexander-Taran avatar Alexander-Taran commented on July 28, 2024

May be relevant: A Better SVG implementation jsdom/jsdom#2011, which is merged novemer 11, before ~11.5 version lock for jsdom for pal-nodejs

from pal-nodejs.

Alexander-Taran avatar Alexander-Taran commented on July 28, 2024

@niieani can you check jsdom update?

from pal-nodejs.

niieani avatar niieani commented on July 28, 2024

I believe @MeirionHughes might have better context for this.

from pal-nodejs.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.