[w3c/screen-orientation] Angle not consistently implemented (Issue #247)

Over on WebKit, we got a report that `.angle` (and `.type`) are not reported in an interoperable manner:

Using https://krpano.com/ios/bugs/ios164-screen-orientation/ and turning the device clockwise. 

Firefox Nightly 113 Android 13
screen.orientation.angle: 270
screen.orientation.type: landscape-primary

Chrome Canary 113 Android 13
screen.orientation.angle: 270
screen.orientation.type: landscape-secondary

Safari 16.4 iOS 16.4
screen.orientation.angle: 90
screen.orientation.type: landscape-primary

The spec and the tests agree with Webkit, but we may have a web interop issue at hand. 

Should we change the spec to use counter clockwise values instead? 

@makotokato, wdyt? 


-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/screen-orientation/issues/247
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/screen-orientation/issues/247@github.com>

Received on Tuesday, 11 April 2023 12:50:02 UTC