[Bug 28460] Request fullscreen on both iframe and elements inside it could cause undesired result

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28460

--- Comment #11 from Xidorn Quan <quanxunzhen@gmail.com> ---
(In reply to Olli Pettay from comment #10)
> So this deals with iframes only. Should also <object> and <frame> be handled
> the same way (though, <frame> is rather deprecated.)
> Feels odd if <iframe> and <object> behave differently.

It doesn't seem to me any document inside <frame> or <object> should ever be
able to enter fullscreen.

According to the spec, an element can enter fullscreen only when its document
has "fullscreen enabled flag" set [1], however that flag is only set for the
topmost document and document inside <iframe> with allowfullscreen attribute
set [2].


[1] https://fullscreen.spec.whatwg.org/#fullscreen-element-ready-check
[2] https://fullscreen.spec.whatwg.org/#fullscreen-enabled-flag

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 7 October 2015 11:47:57 UTC