tor-browser

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

clip-rect-vrl-006.xht (1408B)


      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 (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-006-ref.xht" />
     12 
     13   <meta content="image" name="flags" />
     14   <meta content="This test checks that 'clip: rect(50px, 50px, 100px, 0px)' set to an image with 'writing-mode: vertical-rl' will make invisible the region outside the bottom-left corner of such image." name="assert" />
     15 
     16   <style type="text/css"><![CDATA[
     17   img#test
     18     {
     19       clip: rect(50px, 50px, 100px, 0px);
     20       position: absolute;
     21       writing-mode: vertical-rl;
     22     }
     23   ]]></style>
     24  </head>
     25 
     26  <body>
     27 
     28   <p><img src="support/pass-cdts-abs-pos-non-replaced.png" width="246" height="36" alt="Image download support must be enabled" /></p>
     29 
     30   <!--
     31   Image says:
     32   Test passes if there is a filled green square and <strong>no red</strong>.
     33   -->
     34 
     35   <div><img id="test" src="support/pattern-rr-gr-100x100.png" width="100" height="100" alt="Image download support must be enabled" /></div>
     36 
     37  </body>
     38 </html>