From be84a472551c0a4c0ea4f603cfa8572b9add1f60 Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Fri, 27 Mar 2015 12:06:03 -0700 Subject: [PATCH] Bug 1148294 part 3: Add more reftests for writing-mode & direction properties' influence on flex axes (as modified copies of first test). --HG-- rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-001-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-002-ref.html rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-002.html rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-001-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-003-ref.html rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-003.html rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-001-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-004-ref.html rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-004.html rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-001-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-005-ref.html rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-005.html rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-001-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-006-ref.html rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-006.html --- .../flexbox/flexbox-writing-mode-002-ref.html | 76 ++++++++++++++++++ .../flexbox/flexbox-writing-mode-002.html | 78 +++++++++++++++++++ .../flexbox/flexbox-writing-mode-003-ref.html | 76 ++++++++++++++++++ .../flexbox/flexbox-writing-mode-003.html | 78 +++++++++++++++++++ .../flexbox/flexbox-writing-mode-004-ref.html | 76 ++++++++++++++++++ .../flexbox/flexbox-writing-mode-004.html | 78 +++++++++++++++++++ .../flexbox/flexbox-writing-mode-005-ref.html | 76 ++++++++++++++++++ .../flexbox/flexbox-writing-mode-005.html | 78 +++++++++++++++++++ .../flexbox/flexbox-writing-mode-006-ref.html | 76 ++++++++++++++++++ .../flexbox/flexbox-writing-mode-006.html | 78 +++++++++++++++++++ .../w3c-css/submitted/flexbox/reftest.list | 5 ++ 11 files changed, 775 insertions(+) create mode 100644 layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-002-ref.html create mode 100644 layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-002.html create mode 100644 layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-003-ref.html create mode 100644 layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-003.html create mode 100644 layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-004-ref.html create mode 100644 layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-004.html create mode 100644 layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-005-ref.html create mode 100644 layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-005.html create mode 100644 layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-006-ref.html create mode 100644 layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-006.html diff --git a/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-002-ref.html b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-002-ref.html new file mode 100644 index 000000000000..a3c456b76557 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-002-ref.html @@ -0,0 +1,76 @@ + + + + + CSS Reftest Reference + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + diff --git a/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-002.html b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-002.html new file mode 100644 index 000000000000..3452ec914dbc --- /dev/null +++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-002.html @@ -0,0 +1,78 @@ + + + + + CSS Test: Try various flex-flow values, with 'direction: ltr' and 'writing-mode: vertical-rl' + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + diff --git a/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-003-ref.html b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-003-ref.html new file mode 100644 index 000000000000..54d1ba22fbfb --- /dev/null +++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-003-ref.html @@ -0,0 +1,76 @@ + + + + + CSS Reftest Reference + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + diff --git a/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-003.html b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-003.html new file mode 100644 index 000000000000..3fa2c600e721 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-003.html @@ -0,0 +1,78 @@ + + + + + CSS Test: Try various flex-flow values, with 'direction: ltr' and 'writing-mode: vertical-lr' + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + diff --git a/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-004-ref.html b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-004-ref.html new file mode 100644 index 000000000000..a663580d84d7 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-004-ref.html @@ -0,0 +1,76 @@ + + + + + CSS Reftest Reference + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + diff --git a/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-004.html b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-004.html new file mode 100644 index 000000000000..e342be61f3e8 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-004.html @@ -0,0 +1,78 @@ + + + + + CSS Test: Try various flex-flow values, with 'direction: rtl' and 'writing-mode: horizontal-tb' + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + diff --git a/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-005-ref.html b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-005-ref.html new file mode 100644 index 000000000000..1bb55e11826d --- /dev/null +++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-005-ref.html @@ -0,0 +1,76 @@ + + + + + CSS Reftest Reference + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + diff --git a/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-005.html b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-005.html new file mode 100644 index 000000000000..bf9fcd02a9bf --- /dev/null +++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-005.html @@ -0,0 +1,78 @@ + + + + + CSS Test: Try various flex-flow values, with 'direction: rtl' and 'writing-mode: vertical-rl' + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + diff --git a/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-006-ref.html b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-006-ref.html new file mode 100644 index 000000000000..bf947c0e99bf --- /dev/null +++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-006-ref.html @@ -0,0 +1,76 @@ + + + + + CSS Reftest Reference + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + diff --git a/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-006.html b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-006.html new file mode 100644 index 000000000000..db0cf52f1c62 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-writing-mode-006.html @@ -0,0 +1,78 @@ + + + + + CSS Test: Try various flex-flow values, with 'direction: rtl' and 'writing-mode: vertical-lr' + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + diff --git a/layout/reftests/w3c-css/submitted/flexbox/reftest.list b/layout/reftests/w3c-css/submitted/flexbox/reftest.list index 63616b00525f..43aa2dc3b38e 100644 --- a/layout/reftests/w3c-css/submitted/flexbox/reftest.list +++ b/layout/reftests/w3c-css/submitted/flexbox/reftest.list @@ -185,3 +185,8 @@ skip-if(Mulet) == flexbox-overflow-vert-001.html flexbox-overflow-vert-001-ref.h # Tests for combined influence of 'writing-mode' & 'direction' on flex axes test-pref(layout.css.vertical-text.enabled,true) == flexbox-writing-mode-001.html flexbox-writing-mode-001-ref.html +test-pref(layout.css.vertical-text.enabled,true) == flexbox-writing-mode-002.html flexbox-writing-mode-002-ref.html +test-pref(layout.css.vertical-text.enabled,true) == flexbox-writing-mode-003.html flexbox-writing-mode-003-ref.html +test-pref(layout.css.vertical-text.enabled,true) == flexbox-writing-mode-004.html flexbox-writing-mode-004-ref.html +test-pref(layout.css.vertical-text.enabled,true) == flexbox-writing-mode-005.html flexbox-writing-mode-005-ref.html +test-pref(layout.css.vertical-text.enabled,true) == flexbox-writing-mode-006.html flexbox-writing-mode-006-ref.html