summaryrefslogtreecommitdiffstats
path: root/layout/reftests/columns/column-box-alignment-rtl-3-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/columns/column-box-alignment-rtl-3-ref.html')
-rw-r--r--layout/reftests/columns/column-box-alignment-rtl-3-ref.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/layout/reftests/columns/column-box-alignment-rtl-3-ref.html b/layout/reftests/columns/column-box-alignment-rtl-3-ref.html
new file mode 100644
index 0000000000..5cd1e12b14
--- /dev/null
+++ b/layout/reftests/columns/column-box-alignment-rtl-3-ref.html
@@ -0,0 +1,30 @@
+<!doctype html>
+<style>
+* {
+ margin: 0 0;
+ padding: 0 0;
+}
+
+html {
+ writing-mode: vertical-rl;
+}
+
+table {
+ border: 1px solid;
+ inline-size: 100%;
+ font: 16px/1 sans-serif;
+}
+
+td {
+ inline-size: 25%;
+}
+</style>
+The first column should be aligned with the inline-end side of the block and the second column should be to its direct left (towards inline-start side).
+<table cellspacing=0 cellpadding=0 style="direction:rtl; text-align:right;">
+ <tr>
+ <td>1st column</td>
+ <td>2nd column</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ </tr>
+</table>