Prerequisites appear to be:
- IE11 on Windows 7
- SVG image used as a background image
- SVG image includes a font-face declaration
- Browser crashes on unload (refresh)
| <?xml version="1.0" encoding="utf-8"?> | |
| <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> | |
| <svg version="1.1" id="Layer_3" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | |
| viewBox="0 0 200 200" enable-background="new 0 0 200 200" xml:space="preserve"> | |
| <style type="text/css"> | |
| <![CDATA[ | |
| @font-face {/* o */} | |
| ]]> | |
| </style> | |
| <text transform="matrix(1 0 0 1 0 30)" fill="#000" font-size="24">Oops</text> | |
| </svg> |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>font-face in SVG as background image crasher</title> | |
| <style type="text/css"> | |
| .element { | |
| height: 200px; | |
| width: 200px; | |
| background: url(font-face.svg); | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="element"></div> | |
| </body> | |
| </html> |