Giter Site home page Giter Site logo

VML about svg4everybody HOT 4 CLOSED

jonathantneal avatar jonathantneal commented on July 19, 2024
VML

from svg4everybody.

Comments (4)

jonathantneal avatar jonathantneal commented on July 19, 2024

The experimental SVG to VML convertor from Core framework is 2.6KB minified + gzipped.

Another option is Raphael, but its VML conversion is highly integrated. Bundling it as-is is 30KB.

If there isn’t interest in seeing vectors in IE6-8, I’ll probably stop trying.

from svg4everybody.

tseven avatar tseven commented on July 19, 2024

My opinion is that the IE6-8 isn't worth any substantial work or effort. I'm fine serving up .png as replacements even if it's slow and ugly when scaled. It's part of the experience of using a browser 5+ years old.

I would prefer a solution which produced "proper" VMLs a la Raphael over a smaller flawed solution. I don't mind conditionally serving a 30k library to the IE 6-8 users, it takes 2-3 seconds for them to render a page, what's another 500ms? ;)

If it's not too much work/trouble/hassle I'd use and appreciate the option.

from svg4everybody.

jonathantneal avatar jonathantneal commented on July 19, 2024

I agree. Perhaps we could release a separate legacy script that uses VMLs and requires Raphael as a dependency.

I’m also sure someone really smart could extract the VML path conversion from Raphael and severely reduce the overhead. I just don’t have the time, presently.

from svg4everybody.

jonathantneal avatar jonathantneal commented on July 19, 2024

My opinion is that the IE6-8 isn't worth any substantial work or effort.

After much time and consideration, I agree. There will need to be other considerations when the fallback png needs to be colorized one way or another, but rendering VML ourselves is not a 2014 solution. Had this script been written in 2008, maybe. Closing this issue unless someone can provide new feedback or effort.

from svg4everybody.

Related Issues (20)

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.