Re: [w3c/screen-orientation] Standardize window.orientation API (PR #271)

@marcoscaceres commented on this pull request.



> @@ -312,6 +312,55 @@ <h2>
         </table>
       </section>
     </section>
+    <section data-dfn-for="Window">
+      <h2>
+        Extensions to the `Window` interface
+      </h2>
+      <pre class="idl">
+        partial interface Window {
+          readonly attribute short orientation;
+          attribute EventHandler onorientationchange;
+        };

Add HTMLBodyElement event handler... 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/screen-orientation/pull/271#pullrequestreview-3446721436
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/screen-orientation/pull/271/review/3446721436@github.com>

Received on Tuesday, 11 November 2025 08:03:17 UTC