change-transform-in-nested.html (979B)
1 <!DOCTYPE html> 2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 3 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1279525"> 4 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 5 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 6 <div style="overflow:auto; width:500px;"> 7 <div style="columns:2; column-gap:0; column-fill:auto; margin-left:-300px; width:400px; height:100px;"> 8 <div style="break-after:column; height:1px;"></div> 9 <div style="columns:2; column-gap:0; column-fill:auto; height:200px;"> 10 <div style="break-after:column; height:1px;"></div> 11 <div style="width:100px; height:100px; background:red;"> 12 <div id="elm" style="transform:translateX(1000px); width:100px; height:100px; background:green;"></div> 13 </div> 14 </div> 15 </div> 16 </div> 17 <script> 18 document.body.offsetTop; 19 elm.style.transform = "translateX(0)"; 20 </script>