1 <svg xmlns="http://www.w3.org/2000/svg" height="200" width="400" onload="init()">
2 <style type="text/css">
6 <rect x="0" y="0" width="400" height="200" class="fail"/>
7 <script type="text/javascript">
9 document.getElementsByTagNameNS('http://www.w3.org/2000/svg', 'rect')[0].setAttribute('class', 'pass');