Giter VIP home page Giter VIP logo

Comments (1)

andrewplummer avatar andrewplummer commented on June 9, 2024

Hi, sorry for the delay on this.

I tried to repro this locally but couldn't (my element had a style object). However the fix is fairly clear (check for the style object), so I published an updated version, so try it out!

With this fix, it should no longer error when SVG elements are present, but are you actually trying to use it ON SVG elements? If so you might run into some errors.

After diving into your issue a bit, it occured to me that SVG won't really work here as the attributes needed to be updated are different. I started working on support for this, but it begs the question: what kind of output would be expected here?

Normally the output would be CSS, however, with SVG the styles are essentially embedded. Would the entire SVG object be expected? Anyway will have to have a thought about this before support can be added I suppose.

At any rate the error should be fixed now!

from positionable.

Related Issues (12)

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.