tor-browser

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

first-page-vrl-002.xht (1801B)


      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: first page of a document with vertical-rl writing-mode</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/#block-flow" title="3.1 Block Flow Direction: the writing-mode property" />
     11   <link rel="help" href="http://www.w3.org/TR/CSS21/page.html#page-selectors" title="13.2.2 Page selectors: selecting left, right, and first pages" />
     12 
     13   <meta content="image paged" name="flags" />
     14   <meta content="When 'writing-mode' is set on the root element, then it determines the default page flow (or progression) direction. In this test, the page flow (or progression) direction is right-to-left. This test checks that the first page of a document whose document root has 'writing-mode' set to 'vertical-rl' is the :left page." name="assert" />
     15 
     16   <style type="text/css" media="print"><![CDATA[
     17   html
     18     {
     19       writing-mode: vertical-rl;
     20     }
     21 
     22   @page :right
     23     {
     24       margin-right: 0%;
     25     }
     26 
     27   @page :left
     28     {
     29       margin-right: 50%;
     30     }
     31 
     32   p
     33     {
     34       border-right: orange solid 6px;
     35       margin: 0;
     36       padding-right: 1em;
     37     }
     38   ]]></style>
     39 
     40  </head>
     41 
     42  <body>
     43 
     44   <p><img src="support/pass-cdts-first-page-vrl-002.png" alt="Image download support must be enabled" /></p>
     45 
     46   <!--
     47   The image says:
     48 
     49   PREREQUISITE: switch to a print preview
     50   or page media view of the page.
     51 
     52   Test passes if an orange vertical line is
     53   <strong>in the horizontal center</strong> of the page
     54   and <strong>not on the right side</strong> of the page.
     55   -->
     56 
     57  </body>
     58 </html>