use-with-hsts-helper.html (617B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <script> 5 // Notify parent of our final URI: 6 window.parent.postMessage(window.location.href, "*"); 7 </script> 8 <style> 9 html, body { 10 margin: 0; 11 height: 100%; 12 } 13 svg { 14 display: block; 15 height: 100%; 16 } 17 </style> 18 </head> 19 <body> 20 <svg xmlns="http://www.w3.org/2000/svg" 21 xmlns:xlink="http://www.w3.org/1999/xlink" 22 version="1.1"> 23 <defs> 24 <rect id="limeRect" width="100%" height="100%" fill="lime"/> 25 </defs> 26 <rect width="100%" height="100%" fill="red"/> 27 <use xlink:href="#limeRect"/> 28 </svg> 29 </body> 30 </html>