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