Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-transforms/rotated-clip-under-opacity.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="author" title="Xianzhu Wang" href="mailto:wangxianzhu@chromium.org">
<link rel="match" href="reference/green.html">
<p>Pass if there is NO red below:</p>
<div style="width: 100px; height: 100px; position: absolute; background: green">
<div style="transform: rotate(60deg); opacity: 0.5; overflow: hidden; width: 100px; height: 400px">
<div style="will-change: transform; transform: rotate(-60deg); width: 100px; height: 400px; background: white"></div>
</div>
</div>