script-specify-01-f-novalid.html (2686B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>script-specify-01-f-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: script-specify-01-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" contentScriptType="application/noSuchLanguage" 12 onload="document.getElementById('testPassed').setAttribute('visibility', 'hidden'); 13 document.getElementById('testFailed').setAttribute('visibility', 'visible');"> 14 <!--======================================================================--> 15 <!--= Copyright 2008 World Wide Web Consortium, (Massachusetts =--> 16 <!--= Institute of Technology, European Research Consortium for =--> 17 <!--= Informatics and Mathematics (ERCIM), Keio University). =--> 18 <!--= All Rights Reserved. =--> 19 <!--= See http://www.w3.org/Consortium/Legal/. =--> 20 <!--======================================================================--> 21 22 <title id="test-title">$RCSfile: script-specify-01-f.svg,v $</title> 23 <defs> 24 <font-face 25 font-family="SVGFreeSansASCII" 26 unicode-range="U+0-7F"> 27 <font-face-src> 28 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/> 29 </font-face-src> 30 </font-face> 31 </defs> 32 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18"> 33 <!-- Displayed Title --> 34 <text x="140" y="20" fill="black"> 35 contentScriptType Test 36 </text> 37 38 <!-- The onload handler would only be run if the user agent implemented the 39 bogus scripting language MIME type specified in contentScriptType="". --> 40 <g font-size="24" font-weight="bold" transform="translate(240,170)" text-anchor="middle"> 41 <text id="testPassed" fill="green">Good, script didn't run.</text> 42 <text id="testFailed" fill="red" visibility="hidden">No! This is not ECMAScript!</text> 43 </g> 44 </g> 45 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 46 <text id="revision" x="10" y="340" stroke="none" 47 fill="black">$Revision: 1.6 $</text> 48 </g> 49 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/> 50 <!-- comment out this watermark once the test is approved --> 51 <g id="draft-watermark"> 52 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 53 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 54 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 55 </g> 56 </svg> 57 58 </body> 59 </html>