transform-006.html (872B)
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-006-ref.html"> 6 <style> 7 .transformed { 8 transform: rotate(25deg); 9 transform-origin: bottom right; 10 background: hotpink; 11 } 12 .child { 13 margin-left: auto; 14 width: 50px; 15 background: lime; 16 } 17 </style> 18 <div style="columns:4; column-fill:auto; width:460px; column-gap:20px; margin-top:50px; height:100px; background:yellow;"> 19 <div class="transformed" style="margin-top:50px; height:175px;"> 20 <div class="child" style="height:300px;"></div> 21 </div> 22 </div>