- From: Glenn Maynard <glenn@zewt.org>
- Date: Thu, 20 Oct 2011 11:10:03 -0400
The background: black makes a basic case strange: fullscreening <div>hello</div> will result in black text on a black background. Maybe having that on video:fullscreen and maybe img:fullscreen makes sense, but it doesn't seem right in general. Should margin: 0; padding: 0; be set by :fullscreen? The current spec doesn't seem to allow asking permission to fullscreen in advance, since the fullscreen element is set synchronously. This should be supported; there are a lot of potential problems with the ask-after model and it shouldn't be the only model supported. :fullscreen { width: 100%; height: 100%; } will stretch videos and images to fit the screen, instead of doing something more sensible (letterboxing, pillarboxing or cropping, depending on aspect ratios and the user or site's preference). I'm not sure how that should work in general, but fullscreening a video wouldn't be as simple as video.requestFullScreen(). (I don't recall if <video> can handle cropping and letterboxing directly; for example, you don't want to blindly crop a video without the video knowing about it, or WebVTT subtitles and native controls would get cropped too.) On Thu, Oct 20, 2011 at 6:59 AM, Anne van Kesteren <annevk at opera.com> wrote: > * requestFullscreen() can no longer be invoked when already in "element > fullscreen" > How do you change the fullscreenElement from one element to another without exiting fullscreen first? That seems important. -- Glenn Maynard
Received on Thursday, 20 October 2011 08:10:03 UTC