1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/svg/dynamic-use-02.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,17 @@ 1.4 +<!-- 1.5 + Any copyright is dedicated to the Public Domain. 1.6 + http://creativecommons.org/publicdomain/zero/1.0/ 1.7 +--> 1.8 +<svg xmlns="http://www.w3.org/2000/svg" 1.9 + xmlns:xlink="http://www.w3.org/1999/xlink" 1.10 + style="background: lime;"> 1.11 + <defs> 1.12 + <rect width="100%" height="100%" id="r"/> 1.13 + </defs> 1.14 + <use id="u" xlink:href="#r" fill="red"/> 1.15 + <script type="text/javascript"> 1.16 + var u = document.getElementById("u"); 1.17 + u.getBoundingClientRect(); 1.18 + u.removeAttributeNS("http://www.w3.org/1999/xlink", "href"); 1.19 + </script> 1.20 +</svg>