Giter Site home page Giter Site logo

Comments (2)

shans avatar shans commented on September 28, 2024

I think this is OK, given that you've got experimental features switched on - fallback to native isn't something we really need to support in this circumstance..

Fallback to native is already reasonably tricky supporting just 3 Chrome configurations (no API, pre m39 API, post m39 API) and will get a lot harder when Firefox native support ships. I'll look into why it isn't triggering in this configuration but I don't think it's worth complexifying the feature detection to support it.

from web-animations-js.

shans avatar shans commented on September 28, 2024

Looking into this further:

  • fallback to native is happening. You can't tell by looking at Element.prototype.animate because web-animations-next hooks this. If you step through the code you can see that it's the native function being hooked.
  • experimental web platform features exposes document.timeline and other bits and bobs. The polyfill's attempt at defining these is probably what is causing the demo to fail in this situation.

I'm leaning towards wontfix: if anyone disagrees, unlabel :)

from web-animations-js.

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.