tor-browser

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

painting-control-05-f-isvalid.html (5068B)


      1 <!DOCTYPE html>
      2 <html lang='en'>
      3 <head>
      4 <title>painting-control-05-f-manual.svg</title>
      5 <meta charset='utf-8'>
      6 </head>
      7 <body>
      8 <h1>Source SVG: painting-control-05-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: painting-control-05-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    <defs>
     30        <rect id="displaynone_rect" width="100%" height="100%" display="none" />
     31        <rect id="rect" width="100%" height="100%" />
     32        <use id="displaynone_use_rect" xlink:href="#displaynone_rect"/>
     33        
     34        <!-- an empty mask where the basic shape element has display=none -->
     35        <mask id="testMask1">
     36            <rect width="100%" height="100%" display="none" fill="white" />
     37        </mask>
     38        <!-- an empty mask where display=none is inherited down to the basic shape -->
     39        <mask id="testMask2">
     40            <g display="none">
     41              <rect width="100%" height="100%" fill="white" />
     42            </g>
     43        </mask>
     44        <!-- an empty mask where the referenced element has display=none -->
     45        <mask id="testMask3">
     46            <use xlink:href="#displaynone_rect" fill="white"/>
     47        </mask>
     48        <!-- an empty mask by two levels of indirection -->
     49        <mask id="testMask4">
     50            <use xlink:href="#displaynone_use_rect" fill="white"/>
     51        </mask>
     52 
     53        <!-- an empty clip-path where the basic shape element has display=none -->
     54        <clipPath id="testClip1">
     55            <rect width="100%" height="100%" display="none" />
     56        </clipPath>
     57        <!-- an empty clip-path where the referenced element has display=none -->
     58        <clipPath id="testClip2">
     59            <use xlink:href="#displaynone_rect"/>
     60        </clipPath>
     61        <!-- an empty clip-path where the referencing element has display=none -->
     62        <clipPath id="testClip3">
     63            <use xlink:href="#rect" display="none"/>
     64        </clipPath>
     65        <!-- an empty clip-path by having both a display=none element and a non-rendered rect that's visible -->
     66        <clipPath id="testClip4">
     67            <rect width="100%" height="100%" display="none" />
     68            <rect width="0" height="0"/>
     69        </clipPath>
     70    </defs>
     71    
     72    <g id="reference" fill="lime" stroke="black">
     73      <rect x="50" y="50" width="100" height="100"/>
     74      <rect x="150" y="50" width="100" height="100"/>
     75      <rect x="250" y="50" width="100" height="100"/>
     76      <rect x="350" y="50" width="100" height="100"/>
     77      <rect x="50" y="200" width="100" height="100"/>
     78      <rect x="150" y="200" width="100" height="100"/>
     79      <rect x="250" y="200" width="100" height="100"/>
     80      <rect x="350" y="200" width="100" height="100"/>
     81    </g>
     82    
     83    <rect x="50" y="50" width="100" height="100" fill="red" mask="url(#testMask1)"/>
     84    <rect x="150" y="50" width="100" height="100" fill="red" mask="url(#testMask2)"/>
     85    <rect x="250" y="50" width="100" height="100" fill="red" mask="url(#testMask3)"/>
     86    <rect x="350" y="50" width="100" height="100" fill="red" mask="url(#testMask4)"/>
     87    
     88    <rect x="50" y="200" width="100" height="100" fill="red" clip-path="url(#testClip1)"/>
     89    <rect x="150" y="200" width="100" height="100" fill="red" clip-path="url(#testClip2)"/>
     90    <rect x="250" y="200" width="100" height="100" fill="red" clip-path="url(#testClip3)"/>
     91    <rect x="350" y="200" width="100" height="100" fill="red" clip-path="url(#testClip4)"/>
     92  </g>
     93  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
     94    <text id="revision" x="10" y="340" stroke="none"
     95      fill="black">$Revision: 1.3 $</text>
     96  </g>
     97  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
     98  <!-- comment out this watermark once the test is approved -->
     99  <!--
    100  <g id="draft-watermark">
    101    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
    102    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
    103      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
    104  </g>-->
    105 </svg>
    106 </body>
    107 </html>