[Webkit-unassigned] [Bug 254863] iOS 16.4 - Screen Orientation API Inconstancy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 11 04:20:52 PDT 2023


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

--- Comment #11 from Marcos Caceres <marcosc at apple.com> ---
(In reply to Klaus Reinfeld from comment #10)
> Hmm... that means maybe in future either the specs and then Safari or
> Chrome&Firefox could change...?

I’ll raise this over at the W3C and see if we can again get consensus. I know the Firefox folks were updating their implementation so hopefully we can convince them to align with us. I’ll see if I can also get someone from Chromium to weigh in. 


> This unfortunately leaves this API in a broken state for the moment, as it
> is not usable without browser-detection and also because it might break in
> the future.

Yeah. Sadly angle has always been super unreliable. I wish we would’ve added it to the spec in the first place. 

> So for the moment it could be said that it's better to use the deprecated
> window.orientation instead?

Huh? I had no idea that was a thing? 

> At least this one seems to be currently the same in all browsers...

Maybe, yeah… maybe we can deprecate angle and standardize that instead?

What’s the use case you had in mind for angle?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230411/1213086f/attachment.htm>


More information about the webkit-unassigned mailing list