layout/reftests/columns/column-box-alignment-rtl.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <!doctype html>
     2 <style>
     3 * {
     4     margin: 0 0;
     5     padding: 0 0;
     6 }
     8 div {
     9     column-gap: 0;
    10     -moz-column-gap: 0;
    11     column-count: 4;
    12     -moz-column-count: 4;
    13     -webkit-column-count: 4;
    14     -o-column-count: 4;
    15     -ms-column-count: 4;
    16 }
    18 /* cosmetics */
    19 div {
    20     border: 1px solid;
    21 }
    23 td {
    24     width: 25%;
    25 }
    26 </style>
    27 The first column should be aligned with the right side of the block and the second column should be to its direct left.
    28 <div style="direction:rtl; text-align:right;">
    29     <p>1st column</p>
    30     <p>2nd column</p>
    31 </div>

mercurial