layout/reftests/svg/text/multiple-chunks-selection-ref.svg

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/publicdomain/zero/1.0/
     4 -->
     5 <svg xmlns="http://www.w3.org/2000/svg" width="700" height="200" viewBox="0 0 700 200">
     6   <g transform="translate(100,100)" style="font: 16px sans-serif">
     7     <text x='100' text-anchor='end'>he</text>
     8     <text x='300' text-anchor='end'>llo</text>
     9   </g>
    10   <script>
    11     var text = document.getElementsByTagName("text");
    12     var range = document.createRange();
    13     range.setStart(text[0].firstChild, 1);
    14     range.setEnd(text[1].firstChild, 2);
    15     window.getSelection().addRange(range);
    16   </script>
    17 </svg>

mercurial