tor-browser

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

clip-rect-vrl-012.xht (1439B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4 
      5  <head>
      6 
      7   <title>CSS Writing Modes Test: 'clip: rect()' in 'vertical-rl' writing-mode (non-orthogonal)</title>
      8 
      9   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
     10   <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#physical-only" title="7.6 Purely Physical Mappings" />
     11   <link rel="match" href="clip-rect-vrl-012-ref.xht" />
     12 
     13   <meta content="image" name="flags" />
     14   <meta content="This test checks that 'clip: rect(0px, 100px, 50px, 50px)' set to an image in a 'writing-mode: vertical-rl' document will make invisible the region outside the top-right corner of such image." name="assert" />
     15 
     16   <style type="text/css"><![CDATA[
     17   html
     18     {
     19       writing-mode: vertical-rl;
     20     }
     21 
     22   img#test
     23     {
     24       clip: rect(0px, 100px, 50px, 50px);
     25       position: absolute;
     26     }
     27   ]]></style>
     28  </head>
     29 
     30  <body>
     31 
     32   <p><img src="support/pass-cdts-abs-pos-non-replaced.png" width="246" height="36" alt="Image download support must be enabled" /></p>
     33 
     34   <!--
     35   Image says:
     36   Test passes if there is a filled green square and <strong>no red</strong>.
     37   -->
     38 
     39   <div><img id="test" src="support/pattern-rg-rr-100x100.png" width="100" height="100" alt="Image download support must be enabled" /></div>
     40 
     41  </body>
     42 </html>