Bug 74912

Summary: Glitches with requestFullScreen() and CSS 3D transforms
Product: WebKit Reporter: Jeremy Apthorp <jeremya>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: fishd, jer.noble, koz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Jeremy Apthorp 2011-12-19 21:51:59 PST
When fullscreening the element that has the -webkit-transform style applied, the whole page is visible instead of just that element.

<style>
#fs-target {
	-webkit-transform: translateZ(-600px) rotateY(0deg) translateZ(600px);
}
</style>
<p>outside of target</p>
<div id="fs-target">fullscreen target</div>
<button id="snippet-fs">go fullscreen</button>

<script>
document.getElementById('snippet-fs').onclick = function(e) {
	document.querySelector('#fs-target').webkitRequestFullScreen()
};
</script>