1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/columns/column-box-alignment-rtl.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +<!doctype html> 1.5 +<style> 1.6 +* { 1.7 + margin: 0 0; 1.8 + padding: 0 0; 1.9 +} 1.10 + 1.11 +div { 1.12 + column-gap: 0; 1.13 + -moz-column-gap: 0; 1.14 + column-count: 4; 1.15 + -moz-column-count: 4; 1.16 + -webkit-column-count: 4; 1.17 + -o-column-count: 4; 1.18 + -ms-column-count: 4; 1.19 +} 1.20 + 1.21 +/* cosmetics */ 1.22 +div { 1.23 + border: 1px solid; 1.24 +} 1.25 + 1.26 +td { 1.27 + width: 25%; 1.28 +} 1.29 +</style> 1.30 +The first column should be aligned with the right side of the block and the second column should be to its direct left. 1.31 +<div style="direction:rtl; text-align:right;"> 1.32 + <p>1st column</p> 1.33 + <p>2nd column</p> 1.34 +</div>