interact-pevents-10-f-isvalid.html (2666B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>interact-pevents-10-f-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: interact-pevents-10-f-manual.svg</h1> 9 <svg id="svg-root" width="100%" height="100%" 10 viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" 11 xmlns:xlink="http://www.w3.org/1999/xlink"> 12 <!--======================================================================--> 13 <!--= Copyright 2008 World Wide Web Consortium, (Massachusetts =--> 14 <!--= Institute of Technology, European Research Consortium for =--> 15 <!--= Informatics and Mathematics (ERCIM), Keio University). =--> 16 <!--= All Rights Reserved. =--> 17 <!--= See http://www.w3.org/Consortium/Legal/. =--> 18 <!--======================================================================--> 19 20 <title id="test-title">$RCSfile: interact-pevents-10-f.svg,v $</title> 21 <defs> 22 <font-face 23 font-family="SVGFreeSansASCII" 24 unicode-range="U+0-7F"> 25 <font-face-src> 26 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/> 27 </font-face-src> 28 </font-face> 29 </defs> 30 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18"> 31 <circle cx="100" cy="200" r="50" /> 32 <circle onclick="failTest()" display="none" cx="100" cy="200" r="50" /> 33 <circle cx="250" cy="200" r="50" pointer-events="none" /> 34 <g display="none"> 35 <circle onclick="failTest()" cx="250" cy="200" r="50" /> 36 </g> 37 <text id="failText" visibility="hidden" x="100" y="100" font-size="80" fill="red">FAIL</text> 38 <script><![CDATA[ 39 try 40 { 41 function failTest() 42 { 43 var testElement = document.getElementById("failText"); 44 testElement.setAttribute("visibility", "visible"); 45 } 46 } 47 catch(ex) 48 { 49 //alert('ERROR: ' + ex.message); 50 }]]> 51 </script> 52 </g> 53 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 54 <text id="revision" x="10" y="340" stroke="none" 55 fill="black">$Revision: 1.4 $</text> 56 </g> 57 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/> 58 <!-- comment out this watermark once the test is approved --> 59 <!-- 60 <g id="draft-watermark"> 61 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 62 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 63 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 64 </g> 65 --> 66 </svg> 67 </body> 68 </html>