diff --git a/layout/reftests/columns/column-box-alignment-rtl-2-ref.html b/layout/reftests/columns/column-box-alignment-rtl-2-ref.html
new file mode 100644
index 000000000000..dd691cd55f54
--- /dev/null
+++ b/layout/reftests/columns/column-box-alignment-rtl-2-ref.html
@@ -0,0 +1,26 @@
+
+
+The first column should be aligned with the right side of the block and the second column should be to its direct left.
+
+
+ 1st column |
+ 2nd column |
+ |
+ |
+
+
diff --git a/layout/reftests/columns/column-box-alignment-rtl-2.html b/layout/reftests/columns/column-box-alignment-rtl-2.html
new file mode 100644
index 000000000000..5d1943335319
--- /dev/null
+++ b/layout/reftests/columns/column-box-alignment-rtl-2.html
@@ -0,0 +1,24 @@
+
+
+The first column should be aligned with the right side of the block and the second column should be to its direct left.
+
+
1st column
+
2nd column
+
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 000000000000..821021152f1a
--- /dev/null
+++ b/layout/reftests/columns/column-box-alignment-rtl-3-ref.html
@@ -0,0 +1,29 @@
+
+
+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).
+
+
+ 1st column |
+ 2nd column |
+ |
+ |
+
+
diff --git a/layout/reftests/columns/column-box-alignment-rtl-3.html b/layout/reftests/columns/column-box-alignment-rtl-3.html
new file mode 100644
index 000000000000..ef566656c6f3
--- /dev/null
+++ b/layout/reftests/columns/column-box-alignment-rtl-3.html
@@ -0,0 +1,27 @@
+
+
+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).
+
+
1st column
+
2nd column
+
diff --git a/layout/reftests/columns/column-box-alignment-rtl-4-ref.html b/layout/reftests/columns/column-box-alignment-rtl-4-ref.html
new file mode 100644
index 000000000000..d8b2b5130e82
--- /dev/null
+++ b/layout/reftests/columns/column-box-alignment-rtl-4-ref.html
@@ -0,0 +1,30 @@
+
+
+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).
+
+
+ 1st column |
+ 2nd column |
+ |
+ |
+
+
diff --git a/layout/reftests/columns/column-box-alignment-rtl-4.html b/layout/reftests/columns/column-box-alignment-rtl-4.html
new file mode 100644
index 000000000000..961f35a9fc34
--- /dev/null
+++ b/layout/reftests/columns/column-box-alignment-rtl-4.html
@@ -0,0 +1,28 @@
+
+
+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).
+
+
1st column
+
2nd column
+
diff --git a/layout/reftests/columns/column-box-alignment-rtl-ref.html b/layout/reftests/columns/column-box-alignment-rtl-ref.html
index a065ceeeba3b..eecd2cce7f02 100644
--- a/layout/reftests/columns/column-box-alignment-rtl-ref.html
+++ b/layout/reftests/columns/column-box-alignment-rtl-ref.html
@@ -5,10 +5,9 @@
padding: 0 0;
}
-/* cosmetics */
table {
border: 1px solid;
- width: 100%;
+ width: 100%;
}
td {
diff --git a/layout/reftests/columns/column-box-alignment-rtl.html b/layout/reftests/columns/column-box-alignment-rtl.html
index cdfcf59113fb..565b74b62b26 100644
--- a/layout/reftests/columns/column-box-alignment-rtl.html
+++ b/layout/reftests/columns/column-box-alignment-rtl.html
@@ -8,9 +8,6 @@
div {
column-gap: 0;
column-count: 4;
- -webkit-column-count: 4;
- -o-column-count: 4;
- -ms-column-count: 4;
}
/* cosmetics */
@@ -18,9 +15,6 @@ div {
border: 1px solid;
}
-td {
- width: 25%;
-}
The first column should be aligned with the right side of the block and the second column should be to its direct left.
diff --git a/layout/reftests/columns/reftest.list b/layout/reftests/columns/reftest.list
index 2d6e64273165..52a088c90198 100644
--- a/layout/reftests/columns/reftest.list
+++ b/layout/reftests/columns/reftest.list
@@ -19,6 +19,9 @@ fuzzy-if(webrender,0-126,0-364) == column-balancing-overflow-005.html column-bal
== column-balancing-004.html column-balancing-004.ref.html
pref(layout.css.column-span.enabled,true) == column-balancing-paged-001.html column-balancing-paged-001-ref.html
== column-box-alignment-rtl.html column-box-alignment-rtl-ref.html
+== column-box-alignment-rtl-2.html column-box-alignment-rtl-2-ref.html
+== column-box-alignment-rtl-3.html column-box-alignment-rtl-3-ref.html
+== column-box-alignment-rtl-4.html column-box-alignment-rtl-4-ref.html
== columnfill-balance.html columnfill-balance-ref.html
fuzzy-if(OSX,0-32,0-1000) == columnfill-auto.html columnfill-auto-ref.html
== columnfill-auto-2.html columnfill-auto-2-ref.html
@@ -51,6 +54,10 @@ pref(layout.css.column-span.enabled,true) == first-line-first-letter.html first-
# default-enabled (Bug 1426010).
default-preferences pref(layout.css.column-span.enabled,true)
== min-width-2.html min-width-2-ref.html
+== column-box-alignment-rtl.html column-box-alignment-rtl-ref.html
+== column-box-alignment-rtl-2.html column-box-alignment-rtl-2-ref.html
+== column-box-alignment-rtl-3.html column-box-alignment-rtl-3-ref.html
+== column-box-alignment-rtl-4.html column-box-alignment-rtl-4-ref.html
== column-balancing-nested-001.html column-balancing-nested-001-ref.html
== zero-height-nondirty-reflow.html zero-height-nondirty-reflow-ref.html
default-preferences