tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

masking-path-10-b-isvalid.html (4616B)


      1 <!DOCTYPE html>
      2 <html lang='en'>
      3 <head>
      4 <title>masking-path-10-b-manual.svg</title>
      5 <meta charset='utf-8'>
      6 </head>
      7 <body>
      8 <h1>Source SVG: masking-path-10-b-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: masking-path-10-b.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 
     32 	<defs>
     33 		<mask id="emptymask"/>
     34 		<mask id="hiddenmask">
     35 			<rect width="100" height="100" visibility="hidden"/>
     36 		</mask>
     37 		<mask id="displaymask">
     38 			<rect width="100" height="100" display="none"/>
     39 		</mask>
     40 		<mask id="opacitymask">
     41 			<rect width="100" height="100" opacity="0"/>
     42 		</mask>
     43 		<mask id="strokefillmask">
     44 			<rect width="100" height="100" stroke="none" fill="none"/>
     45 		</mask>
     46 		<mask id="strokewidthmask">
     47 			<rect x="40" y="40" width="20" height="20" stroke="white" stroke-width="20"/>
     48 		</mask>
     49 		<mask id="strokeopacitymask">
     50 			<rect x="40" y="40" width="20" height="20" stroke="white" stroke-opacity="0" stroke-width="20"/>
     51 		</mask>
     52 		<mask id="fillopacitymask">
     53 			<rect width="100" height="100" fill-opacity="0"/>
     54 		</mask>
     55 	</defs>
     56 	
     57 	<text x="240" y="50" text-anchor="middle">Establishing a new masking path</text>
     58 	
     59 	<g transform="scale(0.5) translate(320 200)">
     60 		<rect width="100" height="100" fill="lime"/>
     61 		<rect width="100" height="100" fill="red" mask="url(#emptymask)"/>
     62 
     63 		<g transform="translate(110 0)">
     64 			<rect width="100" height="100" fill="lime"/>
     65 			<rect width="100" height="100" fill="red" mask="url(#hiddenmask)"/>
     66 		</g>
     67 		
     68 		<g transform="translate(220 0)">
     69 			<rect width="100" height="100" fill="lime"/>
     70 			<rect width="100" height="100" fill="red" mask="url(#displaymask)"/>
     71 		</g>
     72 
     73 		<!-- This has an intentionally broken mask url -->
     74 		<g transform="translate(0 110)">
     75 			<rect x="0.5" y="0.5" width="99" height="99" fill="red"/>
     76 			<rect width="100" height="100" fill="lime" mask="url(#unknown)"/>
     77 		</g>
     78 		
     79 		<g transform="translate(110 110)">
     80 			<rect x="0.5" y="0.5" width="99" height="99" fill="lime"/>
     81 			<rect width="100" height="100" fill="red" mask="url(#opacitymask)"/>
     82 		</g>
     83 		
     84 		<g transform="translate(220 110)">
     85 			<rect x="0.5" y="0.5" width="99" height="99" fill="lime"/>
     86 			<rect width="100" height="100" fill="red" mask="url(#strokefillmask)"/>
     87 		</g>
     88 		
     89 		<g transform="translate(0 220)">
     90 			<rect width="100" height="100" fill="lime"/>
     91 			<rect width="100" height="100" fill="red" mask="url(#strokewidthmask)"/>
     92 			<rect x="29" y="29" width="42" height="42" fill="lime"/>
     93 		</g>
     94 		
     95 		<g transform="translate(110 220)">
     96 			<rect width="100" height="100" fill="lime"/>
     97 			<rect width="100" height="100" fill="red" mask="url(#strokeopacitymask)"/>
     98 		</g>
     99 		
    100 		<g transform="translate(220 220)">
    101 			<rect x="0.5" y="0.5" width="99" height="99" fill="lime"/>
    102 			<rect width="100" height="100" fill="red" mask="url(#fillopacitymask)"/>
    103 		</g>
    104 		
    105 		<rect width="320" height="320" fill="none" stroke="black"/>
    106 	</g>
    107 	
    108 	
    109  </g>
    110  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
    111    <text id="revision" x="10" y="340" stroke="none"
    112      fill="black">$Revision: 1.4 $</text>
    113  </g>
    114  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
    115  <!-- comment out this watermark once the test is approved -->
    116  <!--<g id="draft-watermark">
    117    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
    118    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
    119      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
    120  </g>-->
    121 </svg>
    122 </body>
    123 </html>