layout/reftests/svg/text/selectSubString.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/text/selectSubString.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,13 @@
     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" width="700" height="200">
     1.9 +  <g transform="translate(100,100)" style="font: 16px sans-serif">
    1.10 +    <text>hello</text>
    1.11 +  </g>
    1.12 +  <script>
    1.13 +    var text = document.getElementsByTagName("text")[0];
    1.14 +    text.selectSubString(1, 3);
    1.15 +  </script>
    1.16 +</svg>

mercurial