transform-007.html (902B)
1 <!DOCTYPE html> 2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 3 <link rel="help" href="https://www.w3.org/TR/css-break-3/#transforms"> 4 <meta name="assert" content="Test that transform-origin is calculated correctly and individually for each fragment, also when the transform-establishing element is overflowed."> 5 <link rel="match" href="transform-007-ref.html"> 6 <style> 7 .transformed { 8 will-change: transform; 9 transform: rotate(25deg); 10 transform-origin: bottom right; 11 background: hotpink; 12 } 13 .child { 14 margin-left: auto; 15 width: 50px; 16 background: lime; 17 } 18 </style> 19 <div style="columns:4; column-fill:auto; width:460px; column-gap:20px; margin-top:50px; height:100px; background:yellow;"> 20 <div class="transformed" style="margin-top:50px; height:175px;"> 21 <div class="child" style="height:300px;"></div> 22 </div> 23 </div>