Bug 74912 - Glitches with requestFullScreen() and CSS 3D transforms
Summary: Glitches with requestFullScreen() and CSS 3D transforms
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-19 21:51 PST by Jeremy Apthorp
Modified: 2011-12-19 21:51 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>