tor-browser

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

outline-inline-vrl-006.html (1349B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Writing Modes Test: outline layout and non-replaced inline and vertical-rl writing-mode</title>
      4 <link rel="match" href="reference/outline-inline-vrl-006.html" />
      5 <link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com" />
      6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2016-01-14 -->
      7 <link rel="help" title="7.1. Principles of Layout in Vertical Writing Modes" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layout" />
      8 <link rel="help" title="18.4 Dynamic outlines: the 'outline' property" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/ui.html#dynamic-outlines" />
      9 <meta content="ahem" name="flags" />
     10 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     11 <style>
     12 .container {
     13  color:transparent;
     14  font:50px/1 Ahem;
     15  height:5em;
     16  writing-mode:vertical-rl;
     17 }
     18 .outline {
     19  color:orange;
     20  outline:blue solid 2px;
     21 }
     22 </style>
     23 <p>Test passes if the inside of 2 blue squares is orange.
     24 <div class="container">
     25  <!--
     26    Additional div to ensure that the origin of the containing block of the
     27    outline span is different from the origin of the writing mode root.
     28  -->
     29  <div>1</div>
     30  <div>1234<span class="outline">5 6</span>7890</div>
     31  <div>1</div>
     32  <div>1</div>
     33  <div>1</div>
     34 </div>