Fullscreen support for specific elements is more than just a convenience - it's fairly common to have multiple elements on a page that could be made to go fullscreen, such as a page with multiple video players. For YouTube, we've chosen to put our embeddable player within an <iframe>, but I imagine some others will directly inline their player content.<div>
<br></div><div>Mike, regarding your suggestions of element-level allow/deny attributes, I'm not sure I see how this can work. The root problem in your examples is that the page author is allowing untrusted content in their page. Ads should be sandboxed from the rest of the page for more than just prevention of fullscreen.<br>
<div><br></div><div>-John<br><br><div class="gmail_quote">On Fri, Aug 6, 2010 at 3:34 PM, Robert O'Callahan <span dir="ltr"><<a href="mailto:robert@ocallahan.org">robert@ocallahan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Sat, Aug 7, 2010 at 1:57 AM, Mike Wilcox <span dir="ltr"><<a href="mailto:mike@mikewilcox.net" target="_blank">mike@mikewilcox.net</a>></span> wrote:<br></div><div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Regarding fullscreen elements: I appreciate the initiative, but I wonder if it's necessary to allow fullscreen at the element level?</blockquote></div><div><br>It's not necessary, but it's a very useful convenience. It also allows the UA to perform transition effects that are impossible just at the author level.<br>
<br></div><div class="im"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">I think Simon is already pointing out potential gotchas. What exactly is the difference between a fullscreen-element and a fullscreen-page that has an element in absolutely position, top z-index, at 100% width and height?</blockquote>
</div><div><br>Nothing; see the proposed UA style sheet additions in the spec.<br> </div><div class="im"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
As a developer, after entering fullscreen I could possibly do a fancy transition of the element to take up 100%.<font color="#888888"><br>
</font></blockquote><div> </div></div></div>You can't do it as well as the UA can, because a really good transition effect involves desktop-level effects that authors don't have access to. For example you might want part of the window to zoom out and cover the entire screen, semi-transparent over the desktop while zooming.<br>
<br>I would disrecommend authors trying to create custom transition effects that depend on geometry; they probably won't work across browsers because they'll interfere with the UA's effects.<div><div></div><div class="h5">
<br><br clear="all">
Rob<br>-- <br>"Now the Bereans were of more noble character than the
Thessalonians, for they received the message with great eagerness and
examined the Scriptures every day to see if what Paul said was true." [Acts 17:11]<br>
</div></div></blockquote></div><br></div></div>