diff --git a/layout/reftests/forms/meter/meter-orient-block.html b/layout/reftests/forms/meter/meter-orient-block.html new file mode 100644 index 00000000000..8096473e761 --- /dev/null +++ b/layout/reftests/forms/meter/meter-orient-block.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-orient-horizontal-rtl.html b/layout/reftests/forms/meter/meter-orient-horizontal-rtl.html new file mode 100644 index 00000000000..29050d02193 --- /dev/null +++ b/layout/reftests/forms/meter/meter-orient-horizontal-rtl.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-orient-horizontal.html b/layout/reftests/forms/meter/meter-orient-horizontal.html new file mode 100644 index 00000000000..762329c7f6b --- /dev/null +++ b/layout/reftests/forms/meter/meter-orient-horizontal.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-orient-inline.html b/layout/reftests/forms/meter/meter-orient-inline.html new file mode 100644 index 00000000000..a5ac5b52bad --- /dev/null +++ b/layout/reftests/forms/meter/meter-orient-inline.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-orient-vertical-rtl.html b/layout/reftests/forms/meter/meter-orient-vertical-rtl.html new file mode 100644 index 00000000000..af83d453019 --- /dev/null +++ b/layout/reftests/forms/meter/meter-orient-vertical-rtl.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-orient-vertical.html b/layout/reftests/forms/meter/meter-orient-vertical.html new file mode 100644 index 00000000000..0bcc3634971 --- /dev/null +++ b/layout/reftests/forms/meter/meter-orient-vertical.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vlr-orient-block.html b/layout/reftests/forms/meter/meter-vlr-orient-block.html new file mode 100644 index 00000000000..500f1599d4b --- /dev/null +++ b/layout/reftests/forms/meter/meter-vlr-orient-block.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vlr-orient-horizontal.html b/layout/reftests/forms/meter/meter-vlr-orient-horizontal.html new file mode 100644 index 00000000000..194f942d16e --- /dev/null +++ b/layout/reftests/forms/meter/meter-vlr-orient-horizontal.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vlr-orient-inline.html b/layout/reftests/forms/meter/meter-vlr-orient-inline.html new file mode 100644 index 00000000000..d3ee42792b9 --- /dev/null +++ b/layout/reftests/forms/meter/meter-vlr-orient-inline.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vlr-orient-vertical.html b/layout/reftests/forms/meter/meter-vlr-orient-vertical.html new file mode 100644 index 00000000000..40e9c82344a --- /dev/null +++ b/layout/reftests/forms/meter/meter-vlr-orient-vertical.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vlr.html b/layout/reftests/forms/meter/meter-vlr.html new file mode 100644 index 00000000000..7edf4a6042c --- /dev/null +++ b/layout/reftests/forms/meter/meter-vlr.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vrl-orient-block.html b/layout/reftests/forms/meter/meter-vrl-orient-block.html new file mode 100644 index 00000000000..6b136624c54 --- /dev/null +++ b/layout/reftests/forms/meter/meter-vrl-orient-block.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vrl-orient-horizontal.html b/layout/reftests/forms/meter/meter-vrl-orient-horizontal.html new file mode 100644 index 00000000000..87f8c938ddd --- /dev/null +++ b/layout/reftests/forms/meter/meter-vrl-orient-horizontal.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vrl-orient-inline.html b/layout/reftests/forms/meter/meter-vrl-orient-inline.html new file mode 100644 index 00000000000..294f823e195 --- /dev/null +++ b/layout/reftests/forms/meter/meter-vrl-orient-inline.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vrl-orient-vertical.html b/layout/reftests/forms/meter/meter-vrl-orient-vertical.html new file mode 100644 index 00000000000..369465660c0 --- /dev/null +++ b/layout/reftests/forms/meter/meter-vrl-orient-vertical.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/meter-vrl.html b/layout/reftests/forms/meter/meter-vrl.html new file mode 100644 index 00000000000..7c481b31e36 --- /dev/null +++ b/layout/reftests/forms/meter/meter-vrl.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/meter/reftest.list b/layout/reftests/forms/meter/reftest.list index b51b6f6e2a1..5ade7faf834 100644 --- a/layout/reftests/forms/meter/reftest.list +++ b/layout/reftests/forms/meter/reftest.list @@ -25,3 +25,22 @@ include default-style/reftest.list == block-invalidate.html block-invalidate-ref.html == in-cells.html in-cells-ref.html == max-height.html max-height-ref.html + +# Tests for block and inline orientation in combination with writing-mode +# XXX Remove default-preferences setting here after bug 1138384 makes +# it the default for all channels +default-preferences pref(layout.css.vertical-text.enabled,true) +!= meter-orient-vertical.html meter-orient-horizontal.html +!= meter-orient-horizontal.html meter-orient-horizontal-rtl.html +== meter-orient-block.html meter-orient-vertical.html +== meter-orient-inline.html meter-orient-horizontal.html +== meter-vlr.html meter-orient-vertical.html +== meter-vlr-orient-block.html meter-orient-horizontal.html +== meter-vlr-orient-inline.html meter-orient-vertical.html +== meter-vlr-orient-horizontal.html meter-orient-horizontal.html +== meter-vlr-orient-vertical.html meter-orient-vertical.html +== meter-vrl.html meter-orient-vertical-rtl.html +== meter-vrl-orient-block.html meter-orient-horizontal-rtl.html +== meter-vrl-orient-inline.html meter-orient-vertical-rtl.html +== meter-vrl-orient-horizontal.html meter-orient-horizontal-rtl.html +== meter-vrl-orient-vertical.html meter-orient-vertical-rtl.html diff --git a/layout/reftests/forms/progress/progress-orient-block.html b/layout/reftests/forms/progress/progress-orient-block.html new file mode 100644 index 00000000000..e5f33c49792 --- /dev/null +++ b/layout/reftests/forms/progress/progress-orient-block.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/progress/progress-orient-horizontal-rtl.html b/layout/reftests/forms/progress/progress-orient-horizontal-rtl.html new file mode 100644 index 00000000000..64d7157247b --- /dev/null +++ b/layout/reftests/forms/progress/progress-orient-horizontal-rtl.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/progress/progress-orient-horizontal.html b/layout/reftests/forms/progress/progress-orient-horizontal.html new file mode 100644 index 00000000000..e37e4617028 --- /dev/null +++ b/layout/reftests/forms/progress/progress-orient-horizontal.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/progress/progress-orient-inline.html b/layout/reftests/forms/progress/progress-orient-inline.html new file mode 100644 index 00000000000..352537ae797 --- /dev/null +++ b/layout/reftests/forms/progress/progress-orient-inline.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/progress/progress-orient-vertical-rtl.html b/layout/reftests/forms/progress/progress-orient-vertical-rtl.html new file mode 100644 index 00000000000..7fb4d81bedf --- /dev/null +++ b/layout/reftests/forms/progress/progress-orient-vertical-rtl.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/progress/progress-orient-vertical.html b/layout/reftests/forms/progress/progress-orient-vertical.html new file mode 100644 index 00000000000..6a64a5e8c82 --- /dev/null +++ b/layout/reftests/forms/progress/progress-orient-vertical.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/progress/progress-vlr-orient-block.html b/layout/reftests/forms/progress/progress-vlr-orient-block.html new file mode 100644 index 00000000000..954bc9dd16a --- /dev/null +++ b/layout/reftests/forms/progress/progress-vlr-orient-block.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/progress/progress-vlr-orient-horizontal.html b/layout/reftests/forms/progress/progress-vlr-orient-horizontal.html new file mode 100644 index 00000000000..9584f95d795 --- /dev/null +++ b/layout/reftests/forms/progress/progress-vlr-orient-horizontal.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/progress/progress-vlr-orient-inline.html b/layout/reftests/forms/progress/progress-vlr-orient-inline.html new file mode 100644 index 00000000000..9ec89960d8f --- /dev/null +++ b/layout/reftests/forms/progress/progress-vlr-orient-inline.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/progress/progress-vlr-orient-vertical.html b/layout/reftests/forms/progress/progress-vlr-orient-vertical.html new file mode 100644 index 00000000000..625b543b463 --- /dev/null +++ b/layout/reftests/forms/progress/progress-vlr-orient-vertical.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/progress/progress-vlr.html b/layout/reftests/forms/progress/progress-vlr.html new file mode 100644 index 00000000000..52f42aede5d --- /dev/null +++ b/layout/reftests/forms/progress/progress-vlr.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/progress/progress-vrl-orient-block.html b/layout/reftests/forms/progress/progress-vrl-orient-block.html new file mode 100644 index 00000000000..52df5dd298a --- /dev/null +++ b/layout/reftests/forms/progress/progress-vrl-orient-block.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/progress/progress-vrl-orient-horizontal.html b/layout/reftests/forms/progress/progress-vrl-orient-horizontal.html new file mode 100644 index 00000000000..03ea99bb8d3 --- /dev/null +++ b/layout/reftests/forms/progress/progress-vrl-orient-horizontal.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/progress/progress-vrl-orient-inline.html b/layout/reftests/forms/progress/progress-vrl-orient-inline.html new file mode 100644 index 00000000000..57ee166d097 --- /dev/null +++ b/layout/reftests/forms/progress/progress-vrl-orient-inline.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/progress/progress-vrl-orient-vertical.html b/layout/reftests/forms/progress/progress-vrl-orient-vertical.html new file mode 100644 index 00000000000..becd4504e1c --- /dev/null +++ b/layout/reftests/forms/progress/progress-vrl-orient-vertical.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/progress/progress-vrl.html b/layout/reftests/forms/progress/progress-vrl.html new file mode 100644 index 00000000000..a3f0b889fcb --- /dev/null +++ b/layout/reftests/forms/progress/progress-vrl.html @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/forms/progress/reftest.list b/layout/reftests/forms/progress/reftest.list index 8f9cb8d1053..3c7d13828b3 100644 --- a/layout/reftests/forms/progress/reftest.list +++ b/layout/reftests/forms/progress/reftest.list @@ -24,3 +24,22 @@ skip-if(B2G||Mulet) == bar-pseudo-element-vertical.html bar-pseudo-element-verti == block-invalidate.html block-invalidate-ref.html == in-cells.html in-cells-ref.html == max-height.html max-height-ref.html + +# Tests for block and inline orientation in combination with writing-mode +# XXX Remove default-preferences setting here after bug 1138384 makes +# it the default for all channels +default-preferences pref(layout.css.vertical-text.enabled,true) +!= progress-orient-horizontal.html progress-orient-vertical.html +fails-if(!cocoaWidget) != progress-orient-vertical.html progress-orient-vertical-rtl.html # only OS X currently has direction-dependent rendering here +== progress-orient-block.html progress-orient-vertical.html +== progress-orient-inline.html progress-orient-horizontal.html +== progress-vlr.html progress-orient-vertical.html +== progress-vlr-orient-block.html progress-orient-horizontal.html +== progress-vlr-orient-inline.html progress-orient-vertical.html +== progress-vlr-orient-horizontal.html progress-orient-horizontal.html +== progress-vlr-orient-vertical.html progress-orient-vertical.html +== progress-vrl.html progress-orient-vertical-rtl.html +== progress-vrl-orient-block.html progress-orient-horizontal-rtl.html +== progress-vrl-orient-inline.html progress-orient-vertical-rtl.html +== progress-vrl-orient-horizontal.html progress-orient-horizontal-rtl.html +== progress-vrl-orient-vertical.html progress-orient-vertical-rtl.html