partial-prerender-translate-6-ref.html (690B)
1 <!DOCTYPE html> 2 <html> 3 <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> 4 <style> 5 html { 6 overflow: hidden; 7 } 8 body { 9 margin: 0px; 10 padding: 0px; 11 } 12 #target { 13 width: 1600px; 14 height: 900px; 15 position: absolute; 16 transform: translateX(-325px); 17 } 18 </style> 19 <div id="target"> 20 <!-- 21 Put an SVG element so that the transform display item has a blob on 22 WebRender which means this test properly fails without the proper fix. 23 --> 24 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1600 900"> 25 <rect fill="green" x="0" width="1125" height="900"></rect> 26 <rect fill="red" x="1125" width="875" height="900"></rect> 27 </svg> 28 </div> 29 </html>