iOS 16.4 - Screen Orientation API Inconstancy

BUG: Wrong orientation type/angle in landscape mode!

The Screen Orientation API was introduced with iOS 16.4, but unfortunately the ScreenOrientation.type and ScreenOrientation.angle values are different to the window.orientation value and also different to the values that Android devices are reporting in landscape mode (tested with iPhone and iPad).


Testresults: (rotate the device to update the values)


iPhone/Android Screenshots:




Bug-Report:
https://bugs.webkit.org/show_bug.cgi?id=254863