1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/scoped-style/scoped-style-dynamic-012.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,15 @@ 1.4 +<svg xmlns="http://www.w3.org/2000/svg" onload="f()"> 1.5 + <rect width="50" height="50"/> 1.6 + <g> 1.7 + <style scoped=""> 1.8 + rect { fill: blue } 1.9 + </style> 1.10 + <rect x="60" width="50" height="50"/> 1.11 + </g> 1.12 + <rect x="120" width="50" height="50"/> 1.13 + <script> 1.14 + function f() { 1.15 + document.getElementsByTagName("style")[0].removeAttribute("scoped"); 1.16 + } 1.17 + </script> 1.18 +</svg>