<!doctype html> | |
<meta charset="utf-8"> | |
<title>Reference for a transformed foreignObject element containing will-change content</title> | |
<p>You should see a 100x100 green box horizontally offset by 50px. No red should be visible.</p> | |
<div style="will-change: transform; transform: translate(50px, 0); width: 100px; height: 100px; background: green;"></div> |