Tony Homer created CB-11306:
-------------------------------

             Summary: Update to latest (20151223) spec
                 Key: CB-11306
                 URL: https://issues.apache.org/jira/browse/CB-11306
             Project: Apache Cordova
          Issue Type: Improvement
          Components: Plugin Screen Orientation
            Reporter: Tony Homer
            Assignee: Tony Homer


window.screen.orientation is an object that conforms to [the ScreenOrientation 
interface|https://www.w3.org/TR/2015/WD-screen-orientation-20151223/#screenorientation-interface]
1. remove function window.screen.lockOrientation, add function 
window.screen.orientation.lock
2. window.screen.orientation.lock should take a single argument that is [a 
OrientationLockType|https://www.w3.org/TR/2015/WD-screen-orientation-20151223/#orientationlocktype-enum]
3. remove function window.screen.unlockOrientation, add function 
window.screen.orientation.unlock
4. window.screen.orientation must implement EventTarget
5. EventHandler window.screen.orientation.onchange should exist
6. window.screen.orientation.type should exist and should be [a 
OrientationType|https://www.w3.org/TR/2015/WD-screen-orientation-20151223/#orientationtype-enum]
7. window.screen.orientation.angle should exist

Also update the docs and add tests (track as separate subtasks).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to