Html程序  |  30行  |  1.07 KB

<!DOCTYPE HTML>
<html>
<body>
  Manual test for crbug.com/56580: Search (ctrl+f) for "findme" and verify the appropriate text is highlighted.<br/>
  This test passes if all 15 instances of "findme" are found.<br/><br/>

  Lorum ipsum findme lorum ipsum findmefindme lorum.<br/>
  longtextfindmenoyou.<br/>
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="450" height="300">
    <defs>
      <path id="textpath"
            d="M 100 200
               C 200 100 300   0 400 100
               C 500 200 600 300 700 200
               C 800 100 900 100 900 100" />
    </defs>
    <text x="10" y="50">Can you findme in this boring text? findme...Findme...FINDME!</text>
    <text x="10" y="100" style="font-size: 10px; font-family: monospace;">Findme in a typewriter! Findmefindme.</text>
    <g transform="scale(0.3) translate(0 400)">
      <text font-family="Verdana" font-size="42.5" fill="blue" >
        <textPath xlink:href="#textpath">
          Findme on a path! Did you findme?
        </textPath>
      </text>
    </g>
  </svg>
</body>
</html>