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