w3c / screen-orientation

The screen orientation lock specification
https://w3c.github.io/screen-orientation/
Other
27 stars 29 forks source link

Let's standardize window.orientation... #249

Open marcoscaceres opened 1 year ago

marcoscaceres commented 1 year ago

The WHATWG compat spec currently specifies window.orientation, but it could just be moved here. It's interoperable and I don't imagine it is going anywhere.

annevk commented 1 year ago

That makes sense to me. It's always better to define features (even if they're bad) closer to the source.

marcoscaceres commented 1 year ago

ok, cool. I'll send a PR and coordinate with @miketaylr for the WHATWG compat side https://github.com/whatwg/compat/issues/239