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