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.

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

mercurial