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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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