<!DOCTYPE html> | |
<html> | |
<head> | |
<style type="text/css" media="screen"> | |
body { | |
height: 2049px; /* Cause view-size limits to kick in on Leopard. */ | |
} | |
.box { | |
position: absolute; | |
width: 100px; | |
height: 100px; | |
} | |
.test { | |
-webkit-transform: translateZ(0); | |
background-color: green; | |
} | |
.indicator { | |
background-color: red; | |
} | |
</style> | |
</head> | |
<body> | |
<!-- In the pixel results you should see no red. --> | |
<div class="indicator box"></div> | |
<div class="test box"></div> | |
</body> | |
</html> |