<!DOCTYPE html>
Test that clipping is properly calculated when inline transforms cause a clipping root with a different position to be used. The green box should be visible.
<div style="transform: translateZ(0)"></div>

<div style="position: relative; z-index: 1; top: 50px;">
  <div style="overflow: hidden;">
    <div style="position: relative;">
      <div style="height:50px; background-color:green;"></div>
    </div>
  </div>
</div>
