Re: [fullscreen] Allow fullscreen to be triggered by an orientation change event (#34)

Would it be possible to get the rotation+fullscreen transition with no bad frames with this solution? I suspect not. What should be possible in principle even if not in implementation from day one, is to have one frame in portrait non-fullscreen, and the next in landscape fullscreen.

I think the only way this could work is to connect, ahead of time, certain rotations with the fullscreening of certain elements.

```WebIDL
enum FullscreenOrientationType {
    "none",
    "landscape",
    "portrait",
};

partial interface ScreenOrientation {
  attribute FullscreenOrientationType fullscreenOrientation;
  attribute Element? fullscreenElement;
};
```

Or something. Is there any other way around it?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/issues/34#issuecomment-197141721

Received on Wednesday, 16 March 2016 03:57:42 UTC