Giter Club home page Giter Club logo

Comments (8)

reillyeon avatar reillyeon commented on July 28, 2024

/cc @timvolodine

from deviceorientation.

andybloch avatar andybloch commented on July 28, 2024

I don't think it's a good idea to break a specification to match a broken implementation. Fix the implementation. Alpha is the rotation around the z axis for deviceorientation, and rotationRate should match it. The only question is whether the spec should be left as-is, or whether it should be replaced by renaming alpha-beta-gamma (maybe to Alpha-Beta-Gamma?) and the old names deprecated and redefined to match the broken implementation to avoid breaking existing code. Either way, it would take about 5 minutes to make this fix.

from deviceorientation.

reillyeon avatar reillyeon commented on July 28, 2024

The change to Chrome's behavior was discussed and approved on this thread with the change becoming the default behavior in Chrome 66.

Someone with permission to do so please close this issue.

from deviceorientation.

anssiko avatar anssiko commented on July 28, 2024

(I think @timvolodine is still able to close this issue if we can grab his attention.)

from deviceorientation.

andybloch avatar andybloch commented on July 28, 2024

On that thread I only see discussion of fixing the units (radians/sec vs. degrees/sec), not fixing the axes.

from deviceorientation.

reillyeon avatar reillyeon commented on July 28, 2024

Ah, my mistake. I still support updating the specification on the definition of the axis given that there is a defacto standard in place by the agreement on this behavior by a majority of mobile browsers.

from deviceorientation.

anssiko avatar anssiko commented on July 28, 2024

Slightly OT, but if someone is wondering why no spec progress recently:

The spec has been without a home after the Geolocation WG closed 30 April 2017, and as a side-effect has accummulated a bunch of open issues and PRs. We expect to resume work on this spec when the Devices and Sensors WG adopts it starting 1 July 2018. So bear with us for a little while!

Also, anyone interested in editing the spec, please get in touch :-)

from deviceorientation.

reillyeon avatar reillyeon commented on July 28, 2024

Pull request #43 has been merged. Closing this issue.

from deviceorientation.

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.