Giter Club home page Giter Club logo

Comments (10)

therealjeffg avatar therealjeffg commented on July 21, 2024

Seems like this could be used as a polyfill: https://gist.github.com/394537

from framer.

koenbok avatar koenbok commented on July 21, 2024

This should be doable, but it's not really important to me because Framer is intended as a prototyping tool for Webkit. So I'm going to focus on other things but pull requests are always welcome.

from framer.

imikay avatar imikay commented on July 21, 2024

I think you should at least to tell the users explictly that firefox is not supported, instead of leaving the user much frustrated with a blank page.

from framer.

koenbok avatar koenbok commented on July 21, 2024

Fair point. I'll add some warning for now that points to this thread :-)

from framer.

therealjeffg avatar therealjeffg commented on July 21, 2024

I hacked a bit on a n experiment to use the CSSMatrix polyfill tonight:

therealjeffg@003e505

It's a first step towards cross-browser support, but there are a bunch of other webkit-isms that would need to be generalized out or polyfilled.

from framer.

jfsiii avatar jfsiii commented on July 21, 2024

I have a project that attempts to polyfill CSSMatrix. In most cases, it is a drop-in replacement for WebKitCSSMatrix.

Take a look at the open issues, but it should work node.js and many versions of Chrome, Safari, Firefox, Opera. I haven't tested it in any versions of IE but "it's only Math". As I say in issue #2, I hope to soon have a browserling or other badge showing test results on various browsers.

My hope/plan for this weekend is to make the changes required to make Framer support non-WebKit browsers. I had a look around the source (which is how I found out about this ticket :) ) and (famous last words) it seems pretty straight forward.

from framer.

koenbok avatar koenbok commented on July 21, 2024

Sounds good to me. I'd like to say again though that supporting more browsers is not one of my primary goals. But people seem to want it, so I'll pull it in on the conditions that 1) there are no downsides/side effects and 2) the added code size is not crazy compared to the rest of the code.

from framer.

jfsiii avatar jfsiii commented on July 21, 2024

Great.

I'll make sure all existing tests continue to pass. If possible, I'll do a client-side check for WebKitCSSMatrix and only load XCSSMatrix if it's missing. Not sure if it is, but I'll give it a shot.

from framer.

rsms avatar rsms commented on July 21, 2024

FYI landed @jfsiii's patch in UILayer at rsms/uilayer@69caece

from framer.

nvh avatar nvh commented on July 21, 2024

This has been a while ago, and Firefox has decided to implement WebKitCSSMatrix. It already works in the Devoper preview, and is expected to land in 48. I'm closing this issue for now, as we're not expected to put any work into Firefox support until this lands in their stable.

from framer.

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.