Bug 880137 part 2: Migrate most flexbox reftests to the flexbox directory in w3c-css folder. rs=dbaron
authorDaniel Holbert <dholbert@cs.stanford.edu>
Thu, 06 Jun 2013 20:37:11 -0700
changeset 134299 8e82f9384070dcd9f26135723e6155110e2b0cb1
parent 134298 db8410d2f66c6ee9e30d05323ee981063890a048
child 134300 98b4083befbbf8a05ad783a8a0eab69e36531cf8
push id29155
push userdholbert@mozilla.com
push dateFri, 07 Jun 2013 03:37:47 +0000
treeherdermozilla-inbound@dd81ecba7afd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs880137
milestone24.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 880137 part 2: Migrate most flexbox reftests to the flexbox directory in w3c-css folder. rs=dbaron
layout/reftests/flexbox/flexbox-align-self-baseline-horiz-1-ref.xhtml
layout/reftests/flexbox/flexbox-align-self-baseline-horiz-1.xhtml
layout/reftests/flexbox/flexbox-align-self-horiz-1-block.xhtml
layout/reftests/flexbox/flexbox-align-self-horiz-1-ref.xhtml
layout/reftests/flexbox/flexbox-align-self-horiz-1-table.xhtml
layout/reftests/flexbox/flexbox-align-self-horiz-2-ref.xhtml
layout/reftests/flexbox/flexbox-align-self-horiz-2.xhtml
layout/reftests/flexbox/flexbox-align-self-horiz-3-ref.xhtml
layout/reftests/flexbox/flexbox-align-self-horiz-3.xhtml
layout/reftests/flexbox/flexbox-align-self-horiz-4-ref.xhtml
layout/reftests/flexbox/flexbox-align-self-horiz-4.xhtml
layout/reftests/flexbox/flexbox-align-self-horiz-5-ref.xhtml
layout/reftests/flexbox/flexbox-align-self-horiz-5.xhtml
layout/reftests/flexbox/flexbox-align-self-vert-1-ref.xhtml
layout/reftests/flexbox/flexbox-align-self-vert-1.xhtml
layout/reftests/flexbox/flexbox-align-self-vert-2-ref.xhtml
layout/reftests/flexbox/flexbox-align-self-vert-2.xhtml
layout/reftests/flexbox/flexbox-align-self-vert-3-ref.xhtml
layout/reftests/flexbox/flexbox-align-self-vert-3.xhtml
layout/reftests/flexbox/flexbox-align-self-vert-4-ref.xhtml
layout/reftests/flexbox/flexbox-align-self-vert-4.xhtml
layout/reftests/flexbox/flexbox-align-self-vert-rtl-1-ref.xhtml
layout/reftests/flexbox/flexbox-align-self-vert-rtl-1.xhtml
layout/reftests/flexbox/flexbox-align-self-vert-rtl-2-ref.xhtml
layout/reftests/flexbox/flexbox-align-self-vert-rtl-2.xhtml
layout/reftests/flexbox/flexbox-align-self-vert-rtl-3-ref.xhtml
layout/reftests/flexbox/flexbox-align-self-vert-rtl-3.xhtml
layout/reftests/flexbox/flexbox-align-self-vert-rtl-4-ref.xhtml
layout/reftests/flexbox/flexbox-align-self-vert-rtl-4.xhtml
layout/reftests/flexbox/flexbox-baseline-align-self-baseline-horiz-1-ref.html
layout/reftests/flexbox/flexbox-baseline-align-self-baseline-horiz-1.html
layout/reftests/flexbox/flexbox-baseline-align-self-baseline-vert-1-ref.html
layout/reftests/flexbox/flexbox-baseline-align-self-baseline-vert-1.html
layout/reftests/flexbox/flexbox-baseline-empty-1-ref.html
layout/reftests/flexbox/flexbox-baseline-empty-1a.html
layout/reftests/flexbox/flexbox-baseline-empty-1b.html
layout/reftests/flexbox/flexbox-baseline-multi-item-horiz-1-ref.html
layout/reftests/flexbox/flexbox-baseline-multi-item-horiz-1.html
layout/reftests/flexbox/flexbox-baseline-multi-item-vert-1-ref.html
layout/reftests/flexbox/flexbox-baseline-multi-item-vert-1.html
layout/reftests/flexbox/flexbox-baseline-single-item-1-ref.html
layout/reftests/flexbox/flexbox-baseline-single-item-1a.html
layout/reftests/flexbox/flexbox-baseline-single-item-1b.html
layout/reftests/flexbox/flexbox-basic-block-horiz-1-ref.xhtml
layout/reftests/flexbox/flexbox-basic-block-horiz-1.xhtml
layout/reftests/flexbox/flexbox-basic-block-vert-1-ref.xhtml
layout/reftests/flexbox/flexbox-basic-block-vert-1.xhtml
layout/reftests/flexbox/flexbox-basic-canvas-horiz-1-ref.xhtml
layout/reftests/flexbox/flexbox-basic-canvas-horiz-1.xhtml
layout/reftests/flexbox/flexbox-basic-canvas-vert-1-ref.xhtml
layout/reftests/flexbox/flexbox-basic-canvas-vert-1.xhtml
layout/reftests/flexbox/flexbox-basic-fieldset-horiz-1-ref.xhtml
layout/reftests/flexbox/flexbox-basic-fieldset-horiz-1.xhtml
layout/reftests/flexbox/flexbox-basic-fieldset-vert-1-ref.xhtml
layout/reftests/flexbox/flexbox-basic-fieldset-vert-1.xhtml
layout/reftests/flexbox/flexbox-basic-iframe-horiz-1-ref.xhtml
layout/reftests/flexbox/flexbox-basic-iframe-horiz-1.xhtml
layout/reftests/flexbox/flexbox-basic-iframe-vert-1-ref.xhtml
layout/reftests/flexbox/flexbox-basic-iframe-vert-1.xhtml
layout/reftests/flexbox/flexbox-basic-img-horiz-1-ref.xhtml
layout/reftests/flexbox/flexbox-basic-img-horiz-1.xhtml
layout/reftests/flexbox/flexbox-basic-img-vert-1-ref.xhtml
layout/reftests/flexbox/flexbox-basic-img-vert-1.xhtml
layout/reftests/flexbox/flexbox-basic-textarea-horiz-1-ref.xhtml
layout/reftests/flexbox/flexbox-basic-textarea-horiz-1.xhtml
layout/reftests/flexbox/flexbox-basic-textarea-vert-1-ref.xhtml
layout/reftests/flexbox/flexbox-basic-textarea-vert-1.xhtml
layout/reftests/flexbox/flexbox-basic-video-horiz-1-ref.xhtml
layout/reftests/flexbox/flexbox-basic-video-horiz-1.xhtml
layout/reftests/flexbox/flexbox-basic-video-vert-1-ref.xhtml
layout/reftests/flexbox/flexbox-basic-video-vert-1.xhtml
layout/reftests/flexbox/flexbox-items-as-stacking-contexts-1-ref.xhtml
layout/reftests/flexbox/flexbox-items-as-stacking-contexts-1.xhtml
layout/reftests/flexbox/flexbox-items-as-stacking-contexts-2-ref.html
layout/reftests/flexbox/flexbox-items-as-stacking-contexts-2.html
layout/reftests/flexbox/flexbox-items-as-stacking-contexts-3-ref.html
layout/reftests/flexbox/flexbox-items-as-stacking-contexts-3.html
layout/reftests/flexbox/flexbox-justify-content-horiz-1-ref.xhtml
layout/reftests/flexbox/flexbox-justify-content-horiz-1.xhtml
layout/reftests/flexbox/flexbox-justify-content-horiz-2-ref.xhtml
layout/reftests/flexbox/flexbox-justify-content-horiz-2.xhtml
layout/reftests/flexbox/flexbox-justify-content-horiz-3-ref.xhtml
layout/reftests/flexbox/flexbox-justify-content-horiz-3.xhtml
layout/reftests/flexbox/flexbox-justify-content-horiz-4-ref.xhtml
layout/reftests/flexbox/flexbox-justify-content-horiz-4.xhtml
layout/reftests/flexbox/flexbox-justify-content-horiz-5-ref.xhtml
layout/reftests/flexbox/flexbox-justify-content-horiz-5.xhtml
layout/reftests/flexbox/flexbox-justify-content-vert-1-ref.xhtml
layout/reftests/flexbox/flexbox-justify-content-vert-1.xhtml
layout/reftests/flexbox/flexbox-justify-content-vert-2-ref.xhtml
layout/reftests/flexbox/flexbox-justify-content-vert-2.xhtml
layout/reftests/flexbox/flexbox-justify-content-vert-3-ref.xhtml
layout/reftests/flexbox/flexbox-justify-content-vert-3.xhtml
layout/reftests/flexbox/flexbox-justify-content-vert-4-ref.xhtml
layout/reftests/flexbox/flexbox-justify-content-vert-4.xhtml
layout/reftests/flexbox/flexbox-justify-content-vert-5-ref.xhtml
layout/reftests/flexbox/flexbox-justify-content-vert-5.xhtml
layout/reftests/flexbox/flexbox-margin-auto-horiz-1-ref.xhtml
layout/reftests/flexbox/flexbox-margin-auto-horiz-1.xhtml
layout/reftests/flexbox/flexbox-margin-auto-horiz-2-ref.xhtml
layout/reftests/flexbox/flexbox-margin-auto-horiz-2.xhtml
layout/reftests/flexbox/flexbox-mbp-horiz-1-ref.xhtml
layout/reftests/flexbox/flexbox-mbp-horiz-1-reverse-ref.xhtml
layout/reftests/flexbox/flexbox-mbp-horiz-1-reverse.xhtml
layout/reftests/flexbox/flexbox-mbp-horiz-1-rtl-reverse.xhtml
layout/reftests/flexbox/flexbox-mbp-horiz-1-rtl.xhtml
layout/reftests/flexbox/flexbox-mbp-horiz-1.xhtml
layout/reftests/flexbox/flexbox-mbp-horiz-2-ref.xhtml
layout/reftests/flexbox/flexbox-mbp-horiz-2a.xhtml
layout/reftests/flexbox/flexbox-mbp-horiz-2b.xhtml
layout/reftests/flexbox/flexbox-mbp-horiz-3-ref.xhtml
layout/reftests/flexbox/flexbox-mbp-horiz-3-reverse-ref.xhtml
layout/reftests/flexbox/flexbox-mbp-horiz-3-reverse.xhtml
layout/reftests/flexbox/flexbox-mbp-horiz-3.xhtml
layout/reftests/flexbox/flexbox-mbp-horiz-4-ref.xhtml
layout/reftests/flexbox/flexbox-mbp-horiz-4.xhtml
layout/reftests/flexbox/flexbox-overflow-horiz-1-ref.html
layout/reftests/flexbox/flexbox-overflow-horiz-1.html
layout/reftests/flexbox/flexbox-overflow-horiz-2-ref.html
layout/reftests/flexbox/flexbox-overflow-horiz-2.html
layout/reftests/flexbox/flexbox-overflow-horiz-3-ref.html
layout/reftests/flexbox/flexbox-overflow-horiz-3.html
layout/reftests/flexbox/flexbox-overflow-vert-1-ref.html
layout/reftests/flexbox/flexbox-overflow-vert-1.html
layout/reftests/flexbox/flexbox-overflow-vert-2-ref.html
layout/reftests/flexbox/flexbox-overflow-vert-2.html
layout/reftests/flexbox/flexbox-overflow-vert-3-ref.html
layout/reftests/flexbox/flexbox-overflow-vert-3.html
layout/reftests/flexbox/flexbox-paint-ordering-1-ref.xhtml
layout/reftests/flexbox/flexbox-paint-ordering-1.xhtml
layout/reftests/flexbox/flexbox-paint-ordering-2-ref.xhtml
layout/reftests/flexbox/flexbox-paint-ordering-2.xhtml
layout/reftests/flexbox/flexbox-sizing-horiz-1-ref.xhtml
layout/reftests/flexbox/flexbox-sizing-horiz-1.xhtml
layout/reftests/flexbox/flexbox-sizing-horiz-2-ref.xhtml
layout/reftests/flexbox/flexbox-sizing-horiz-2.xhtml
layout/reftests/flexbox/flexbox-sizing-vert-1-ref.xhtml
layout/reftests/flexbox/flexbox-sizing-vert-1.xhtml
layout/reftests/flexbox/flexbox-sizing-vert-2-ref.xhtml
layout/reftests/flexbox/flexbox-sizing-vert-2.xhtml
layout/reftests/flexbox/flexbox-table-fixup-1-ref.xhtml
layout/reftests/flexbox/flexbox-table-fixup-1a.xhtml
layout/reftests/flexbox/flexbox-table-fixup-1b.xhtml
layout/reftests/flexbox/flexbox-whitespace-handling-1-ref.xhtml
layout/reftests/flexbox/flexbox-whitespace-handling-1a.xhtml
layout/reftests/flexbox/flexbox-whitespace-handling-1b.xhtml
layout/reftests/flexbox/flexbox-whitespace-handling-2-ref.xhtml
layout/reftests/flexbox/flexbox-whitespace-handling-2.xhtml
layout/reftests/flexbox/flexbox-with-pseudo-elements-1-ref.html
layout/reftests/flexbox/flexbox-with-pseudo-elements-1.html
layout/reftests/flexbox/flexbox-with-pseudo-elements-2-ref.html
layout/reftests/flexbox/flexbox-with-pseudo-elements-2.html
layout/reftests/flexbox/flexbox-with-pseudo-elements-3-ref.html
layout/reftests/flexbox/flexbox-with-pseudo-elements-3.html
layout/reftests/flexbox/reftest.list
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-1-block.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-1-table.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-2-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-2.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-3-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-3.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-4-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-4.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-5-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-5.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-2-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-2.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-3-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-3.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-4-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-4.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-2-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-2.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-3-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-3.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-4-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-4.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-align-self-baseline-horiz-1-ref.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-align-self-baseline-horiz-1.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-align-self-baseline-vert-1-ref.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-align-self-baseline-vert-1.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-empty-1-ref.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-empty-1a.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-empty-1b.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-horiz-1-ref.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-horiz-1.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-vert-1-ref.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-vert-1.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-single-item-1-ref.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-single-item-1a.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-single-item-1b.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-block-horiz-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-block-horiz-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-block-vert-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-block-vert-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-canvas-horiz-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-canvas-horiz-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-canvas-vert-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-canvas-vert-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-fieldset-horiz-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-fieldset-horiz-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-fieldset-vert-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-fieldset-vert-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-iframe-horiz-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-iframe-horiz-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-iframe-vert-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-iframe-vert-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-img-horiz-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-img-horiz-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-img-vert-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-img-vert-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-textarea-horiz-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-textarea-horiz-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-textarea-vert-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-textarea-vert-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-video-horiz-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-video-horiz-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-video-vert-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-video-vert-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-2-ref.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-2.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-3-ref.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-3.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-2-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-2.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-3-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-3.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-4-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-4.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-5-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-5.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-2-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-2.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-3-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-3.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-4-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-4.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-5-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-5.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-margin-auto-horiz-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-margin-auto-horiz-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-margin-auto-horiz-2-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-margin-auto-horiz-2.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-1-reverse-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-1-reverse.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-1-rtl-reverse.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-1-rtl.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-2-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-2a.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-2b.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-3-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-3-reverse-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-3-reverse.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-3.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-4-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-4.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-1-ref.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-1.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-2-ref.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-2.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-3-ref.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-3.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-1-ref.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-1.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-2-ref.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-2.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-3-ref.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-3.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-paint-ordering-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-paint-ordering-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-paint-ordering-2-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-paint-ordering-2.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-sizing-horiz-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-sizing-horiz-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-sizing-horiz-2-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-sizing-horiz-2.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-sizing-vert-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-sizing-vert-1.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-sizing-vert-2-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-sizing-vert-2.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-table-fixup-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-table-fixup-1a.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-table-fixup-1b.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-1-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-1a.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-1b.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-2-ref.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-2.xhtml
layout/reftests/w3c-css/submitted/flexbox/flexbox-with-pseudo-elements-1-ref.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-with-pseudo-elements-1.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-with-pseudo-elements-2-ref.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-with-pseudo-elements-2.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-with-pseudo-elements-3-ref.html
layout/reftests/w3c-css/submitted/flexbox/flexbox-with-pseudo-elements-3.html
layout/reftests/w3c-css/submitted/flexbox/reftest.list
layout/reftests/w3c-css/submitted/flexbox/support/ahem.css
layout/reftests/w3c-css/submitted/flexbox/support/solidblue.png
--- a/layout/reftests/flexbox/reftest.list
+++ b/layout/reftests/flexbox/reftest.list
@@ -1,87 +1,61 @@
+# NOTE: Most of our flexbox tests have moved to the w3c-css reftest directory.
+# The tests that remain in *this* directory are still here because either:
+#   a) They (or one of their closely-related tests) use some moz-prefixed
+#      feature, e.g. MozReftestInvalidate or -moz-max-content.
+# ...or...
+#   b) They test a feature that has known bugs (e.g. bug 874713)
+#
+# Where possible & practical, we should try to address these so we can migrate
+# tests over to the w3c-css directory, so that they can become part of the
+# W3C's test suite.
+
 # Tests for flexbox pref "layout.css.flexbox.enabled"
 # (Note that it defaults to being off in release builds - see bug 841876)
 # Check that manually setting the pref on/off w/ test-pref() works correctly:
 test-pref(layout.css.flexbox.enabled,false) == flexbox-pref-1.xhtml flexbox-pref-1-disabled-ref.xhtml
 test-pref(layout.css.flexbox.enabled,true) == flexbox-pref-1.xhtml flexbox-pref-1-enabled-ref.xhtml
 
 # Enable pref for remaining tests
 # (Most tests only need it in the testcase, but a few use it in the
 # reference case, so we'll just enable it using "pref()" to make
 # it available for both.)
 default-preferences pref(layout.css.flexbox.enabled,true)
 
 # Tests for cross-axis alignment (align-self / align-items properties)
-== flexbox-align-self-baseline-horiz-1.xhtml  flexbox-align-self-baseline-horiz-1-ref.xhtml
 fails == flexbox-align-self-baseline-horiz-2.xhtml  flexbox-align-self-baseline-horiz-2-ref.xhtml # bug 793456, and possibly others
 # This one fails on windows R (but not Ru, strangely). On Windows R, the
 # single-line <label> flex item has a different background size in test vs. ref
 fuzzy-if(B2G,10,3) random-if(winWidget) == flexbox-align-self-baseline-horiz-3.xhtml  flexbox-align-self-baseline-horiz-3-ref.xhtml # XXXdholbert investigate
 == flexbox-align-self-baseline-horiz-4.xhtml flexbox-align-self-baseline-horiz-4-ref.xhtml
 
-== flexbox-align-self-horiz-1-block.xhtml  flexbox-align-self-horiz-1-ref.xhtml
-== flexbox-align-self-horiz-1-table.xhtml  flexbox-align-self-horiz-1-ref.xhtml
-== flexbox-align-self-horiz-2.xhtml  flexbox-align-self-horiz-2-ref.xhtml
-== flexbox-align-self-horiz-3.xhtml  flexbox-align-self-horiz-3-ref.xhtml
-== flexbox-align-self-horiz-4.xhtml  flexbox-align-self-horiz-4-ref.xhtml
-== flexbox-align-self-horiz-5.xhtml  flexbox-align-self-horiz-5-ref.xhtml
-== flexbox-align-self-vert-1.xhtml  flexbox-align-self-vert-1-ref.xhtml
-== flexbox-align-self-vert-2.xhtml  flexbox-align-self-vert-2-ref.xhtml
-== flexbox-align-self-vert-3.xhtml  flexbox-align-self-vert-3-ref.xhtml
-== flexbox-align-self-vert-4.xhtml  flexbox-align-self-vert-4-ref.xhtml
-fuzzy-if(Android,158,32) == flexbox-align-self-vert-rtl-1.xhtml  flexbox-align-self-vert-rtl-1-ref.xhtml
-== flexbox-align-self-vert-rtl-2.xhtml  flexbox-align-self-vert-rtl-2-ref.xhtml
-== flexbox-align-self-vert-rtl-3.xhtml  flexbox-align-self-vert-rtl-3-ref.xhtml
-== flexbox-align-self-vert-rtl-4.xhtml  flexbox-align-self-vert-rtl-4-ref.xhtml
+# Tests for basic handling of <canvas>/<img>/etc as a flex item
+# NOTE: The "-1" versions of these tests have moved to the w3c-css directory;
+# the -2 variants remain behind, because they explicitly intend to test
+# how e.g. "min-width: -moz-min-content" affects the rendering, and we don't
+# want to upload tests with prefixed keywords to the W3C testsuite.
 
-# Tests for computing the baseline of a flex container
-== flexbox-baseline-align-self-baseline-horiz-1.html flexbox-baseline-align-self-baseline-horiz-1-ref.html
-== flexbox-baseline-align-self-baseline-vert-1.html flexbox-baseline-align-self-baseline-vert-1-ref.html
-== flexbox-baseline-empty-1a.html flexbox-baseline-empty-1-ref.html
-== flexbox-baseline-empty-1b.html flexbox-baseline-empty-1-ref.html
-== flexbox-baseline-multi-item-horiz-1.html flexbox-baseline-multi-item-horiz-1-ref.html
-== flexbox-baseline-multi-item-vert-1.html flexbox-baseline-multi-item-vert-1-ref.html
-== flexbox-baseline-single-item-1a.html flexbox-baseline-single-item-1-ref.html
-== flexbox-baseline-single-item-1b.html flexbox-baseline-single-item-1-ref.html
-
-# Basic tests with with blocks as flex items
-== flexbox-basic-block-horiz-1.xhtml flexbox-basic-block-horiz-1-ref.xhtml
-== flexbox-basic-block-vert-1.xhtml flexbox-basic-block-vert-1-ref.xhtml
-
-# Tests for basic handling of <canvas>/<img>/etc as a flex item
-== flexbox-basic-canvas-horiz-1.xhtml   flexbox-basic-canvas-horiz-1-ref.xhtml
 == flexbox-basic-canvas-horiz-2.xhtml   flexbox-basic-canvas-horiz-2-ref.xhtml
-== flexbox-basic-canvas-vert-1.xhtml    flexbox-basic-canvas-vert-1-ref.xhtml
 # NOTE: This test will only test something useful once we add support for
 # "min-height: -moz-min-content", bug 852367. At that point, it will probably
 # fail until bug 794660 is fixed:
 == flexbox-basic-canvas-vert-2.xhtml flexbox-basic-canvas-vert-2-ref.xhtml
-== flexbox-basic-fieldset-horiz-1.xhtml flexbox-basic-fieldset-horiz-1-ref.xhtml
 == flexbox-basic-fieldset-horiz-2.xhtml flexbox-basic-fieldset-horiz-2-ref.xhtml
-== flexbox-basic-fieldset-vert-1.xhtml  flexbox-basic-fieldset-vert-1-ref.xhtml
 == flexbox-basic-fieldset-vert-2.xhtml  flexbox-basic-fieldset-vert-2-ref.xhtml
-== flexbox-basic-iframe-horiz-1.xhtml   flexbox-basic-iframe-horiz-1-ref.xhtml
 == flexbox-basic-iframe-horiz-2.xhtml   flexbox-basic-iframe-horiz-2-ref.xhtml
-== flexbox-basic-iframe-vert-1.xhtml    flexbox-basic-iframe-vert-1-ref.xhtml
 == flexbox-basic-iframe-vert-2.xhtml    flexbox-basic-iframe-vert-2-ref.xhtml
-== flexbox-basic-img-horiz-1.xhtml      flexbox-basic-img-horiz-1-ref.xhtml
 == flexbox-basic-img-horiz-2.xhtml      flexbox-basic-img-horiz-2-ref.xhtml
-== flexbox-basic-img-vert-1.xhtml       flexbox-basic-img-vert-1-ref.xhtml
 # NOTE: This test will only test something useful once we add support for
 # "min-height: -moz-min-content", bug 852367. At that point, it will probably
 # fail until bug 794660 is fixed:
 == flexbox-basic-img-vert-2.xhtml flexbox-basic-img-vert-2-ref.xhtml
-== flexbox-basic-textarea-horiz-1.xhtml flexbox-basic-textarea-horiz-1-ref.xhtml
 == flexbox-basic-textarea-horiz-2.xhtml flexbox-basic-textarea-horiz-2-ref.xhtml
-== flexbox-basic-textarea-vert-1.xhtml  flexbox-basic-textarea-vert-1-ref.xhtml
 == flexbox-basic-textarea-vert-2.xhtml  flexbox-basic-textarea-vert-2-ref.xhtml
-== flexbox-basic-video-horiz-1.xhtml    flexbox-basic-video-horiz-1-ref.xhtml
 == flexbox-basic-video-horiz-2.xhtml    flexbox-basic-video-horiz-2-ref.xhtml
-== flexbox-basic-video-vert-1.xhtml     flexbox-basic-video-vert-1-ref.xhtml
 # NOTE: This test will only test something useful once we add support for
 # "min-height: -moz-min-content", bug 852367. At that point, it will probably
 # fail until bug 794660 is fixed:
 == flexbox-basic-video-vert-2.xhtml flexbox-basic-video-vert-2-ref.xhtml
 
 # Tests for dynamic modifications of content inside/around a flex container
 == flexbox-dyn-changeFrameWidth-1.xhtml flexbox-dyn-changeFrameWidth-1-ref.xhtml
 == flexbox-dyn-changeFrameWidth-2.xhtml flexbox-dyn-changeFrameWidth-2-ref.xhtml
@@ -115,53 +89,34 @@ fuzzy-if(d2d&&layersGPUAccelerated,24,14
 # Tests for handling of floated elements inside a flexbox
 == flexbox-float-1a.xhtml  flexbox-float-1-ref.xhtml
 == flexbox-float-1b.xhtml  flexbox-float-1-ref.xhtml
 == flexbox-float-1c.xhtml  flexbox-float-1-ref.xhtml
 == flexbox-float-1d.xhtml  flexbox-float-1-ref.xhtml
 == flexbox-float-2a.xhtml  flexbox-float-2-ref.xhtml
 == flexbox-float-2b.xhtml  flexbox-float-2-ref.xhtml
 
-# Tests for flex items as (pseudo) stacking contexts
-== flexbox-items-as-stacking-contexts-1.xhtml flexbox-items-as-stacking-contexts-1-ref.xhtml
-== flexbox-items-as-stacking-contexts-2.html flexbox-items-as-stacking-contexts-2-ref.html
-== flexbox-items-as-stacking-contexts-3.html flexbox-items-as-stacking-contexts-3-ref.html
-
 # Tests for "min-width" and "min-height" on flex items.
 == flexbox-minSize-horiz-1.xhtml flexbox-minSize-horiz-1-ref.xhtml
 fails == flexbox-minSize-vert-1.xhtml  flexbox-minSize-vert-1-ref.xhtml # bug 852367
 
 # Tests for the order in which we paint flex items
-== flexbox-paint-ordering-1.xhtml flexbox-paint-ordering-1-ref.xhtml
-== flexbox-paint-ordering-2.xhtml flexbox-paint-ordering-2-ref.xhtml
 fails == flexbox-paint-ordering-3.html  flexbox-paint-ordering-3-ref.html # bug 874718
 
 # Tests for handling of absolutely/fixed/relatively-positioned flex items.
 == flexbox-position-absolute-1.xhtml  flexbox-position-absolute-1-ref.xhtml
 == flexbox-position-absolute-2.xhtml  flexbox-position-absolute-2-ref.xhtml
 == flexbox-position-absolute-3.xhtml  flexbox-position-absolute-3-ref.xhtml
 == flexbox-position-absolute-4.xhtml  flexbox-position-absolute-4-ref.xhtml
 == flexbox-position-fixed-3.xhtml     flexbox-position-fixed-3-ref.xhtml
 == flexbox-position-fixed-1.xhtml     flexbox-position-fixed-1-ref.xhtml
 == flexbox-position-fixed-2.xhtml     flexbox-position-fixed-2-ref.xhtml
 == flexbox-position-fixed-3.xhtml     flexbox-position-fixed-3-ref.xhtml
 == flexbox-position-fixed-4.xhtml     flexbox-position-fixed-4-ref.xhtml
 
-# Tests for main-axis alignment (jusify-content property)
-== flexbox-justify-content-horiz-1.xhtml flexbox-justify-content-horiz-1-ref.xhtml
-== flexbox-justify-content-horiz-2.xhtml flexbox-justify-content-horiz-2-ref.xhtml
-== flexbox-justify-content-horiz-3.xhtml flexbox-justify-content-horiz-3-ref.xhtml
-== flexbox-justify-content-horiz-4.xhtml flexbox-justify-content-horiz-4-ref.xhtml
-== flexbox-justify-content-horiz-5.xhtml flexbox-justify-content-horiz-5-ref.xhtml
-== flexbox-justify-content-vert-1.xhtml flexbox-justify-content-vert-1-ref.xhtml
-== flexbox-justify-content-vert-2.xhtml flexbox-justify-content-vert-2-ref.xhtml
-== flexbox-justify-content-vert-3.xhtml flexbox-justify-content-vert-3-ref.xhtml
-== flexbox-justify-content-vert-4.xhtml flexbox-justify-content-vert-4-ref.xhtml
-== flexbox-justify-content-vert-5.xhtml flexbox-justify-content-vert-5-ref.xhtml
-
 # Tests for inline content in a flexbox that gets wrapped in an anonymous block
 fails == flexbox-inlinecontent-horiz-1a.xhtml flexbox-inlinecontent-horiz-1-ref.xhtml # reference case rendering is incorrect; bug 858333
 fails == flexbox-inlinecontent-horiz-1b.xhtml flexbox-inlinecontent-horiz-1-ref.xhtml # reference case rendering is incorrect; bug 858333
 == flexbox-inlinecontent-horiz-2.xhtml  flexbox-inlinecontent-horiz-2-ref.xhtml
 == flexbox-inlinecontent-horiz-3a.xhtml flexbox-inlinecontent-horiz-3-ref.xhtml
 == flexbox-inlinecontent-horiz-3b.xhtml flexbox-inlinecontent-horiz-3-ref.xhtml
 == flexbox-inlinecontent-horiz-3c.xhtml flexbox-inlinecontent-horiz-3-ref.xhtml
 == flexbox-inlinecontent-horiz-4.xhtml  flexbox-inlinecontent-horiz-4-ref.xhtml
@@ -171,56 +126,16 @@ fails == flexbox-inlinecontent-horiz-1b.
 == flexbox-intrinsic-sizing-horiz-1a.xhtml flexbox-intrinsic-sizing-horiz-1-ref.xhtml
 == flexbox-intrinsic-sizing-horiz-1b.xhtml flexbox-intrinsic-sizing-horiz-1-ref.xhtml
 == flexbox-intrinsic-sizing-horiz-2a.xhtml flexbox-intrinsic-sizing-horiz-2-ref.xhtml
 == flexbox-intrinsic-sizing-horiz-2b.xhtml flexbox-intrinsic-sizing-horiz-2-ref.xhtml
 
 # Tests for invalidation after dynamic modifications
 == flexbox-invalidation-1.html flexbox-invalidation-1-ref.html
 
-# Tests for flexbox with margin, border, and/or padding on flex items
-== flexbox-margin-auto-horiz-1.xhtml     flexbox-margin-auto-horiz-1-ref.xhtml
-== flexbox-margin-auto-horiz-2.xhtml     flexbox-margin-auto-horiz-2-ref.xhtml
-== flexbox-mbp-horiz-1.xhtml             flexbox-mbp-horiz-1-ref.xhtml
-== flexbox-mbp-horiz-1-reverse.xhtml     flexbox-mbp-horiz-1-reverse-ref.xhtml
-== flexbox-mbp-horiz-1-rtl.xhtml         flexbox-mbp-horiz-1-reverse-ref.xhtml
-== flexbox-mbp-horiz-1-rtl-reverse.xhtml flexbox-mbp-horiz-1-ref.xhtml
-== flexbox-mbp-horiz-2a.xhtml            flexbox-mbp-horiz-2-ref.xhtml
-== flexbox-mbp-horiz-2b.xhtml            flexbox-mbp-horiz-2-ref.xhtml
-== flexbox-mbp-horiz-3.xhtml             flexbox-mbp-horiz-3-ref.xhtml
-== flexbox-mbp-horiz-3-reverse.xhtml     flexbox-mbp-horiz-3-reverse-ref.xhtml
-== flexbox-mbp-horiz-4.xhtml             flexbox-mbp-horiz-4-ref.xhtml
-
-# Tests for flex containers with the "overflow" property set
-== flexbox-overflow-horiz-1.html flexbox-overflow-horiz-1-ref.html
-== flexbox-overflow-horiz-2.html flexbox-overflow-horiz-2-ref.html
-== flexbox-overflow-horiz-3.html flexbox-overflow-horiz-3-ref.html
-== flexbox-overflow-vert-1.html flexbox-overflow-vert-1-ref.html
-== flexbox-overflow-vert-2.html flexbox-overflow-vert-2-ref.html
-== flexbox-overflow-vert-3.html flexbox-overflow-vert-3-ref.html
-
 # Tests for flexbox in an iframe that gets resized.
 skip-if(B2G) == flexbox-resizeviewport-1.xhtml flexbox-resizeviewport-1-ref.xhtml
 
-# Tests for sizing of flex containers, e.g. under min/max size constraints
-== flexbox-sizing-horiz-1.xhtml flexbox-sizing-horiz-1-ref.xhtml
-== flexbox-sizing-horiz-2.xhtml flexbox-sizing-horiz-2-ref.xhtml
-== flexbox-sizing-vert-1.xhtml  flexbox-sizing-vert-1-ref.xhtml
-== flexbox-sizing-vert-2.xhtml  flexbox-sizing-vert-2-ref.xhtml
-
-== flexbox-table-fixup-1a.xhtml flexbox-table-fixup-1-ref.xhtml
-== flexbox-table-fixup-1b.xhtml flexbox-table-fixup-1-ref.xhtml
-
-# Tests for handling of whitespace within anonymous flex items.
-== flexbox-whitespace-handling-1a.xhtml flexbox-whitespace-handling-1-ref.xhtml
-== flexbox-whitespace-handling-1b.xhtml flexbox-whitespace-handling-1-ref.xhtml
-== flexbox-whitespace-handling-2.xhtml  flexbox-whitespace-handling-2-ref.xhtml
-
 # Tests with widgets as flex items
 fuzzy-if(gtk2Widget,1,66) == flexbox-widget-flex-items-1.html flexbox-widget-flex-items-1-ref.html
 fuzzy-if(gtk2Widget,1,74) == flexbox-widget-flex-items-2.html flexbox-widget-flex-items-2-ref.html
 fuzzy-if(gtk2Widget,1,58) == flexbox-widget-flex-items-3.html flexbox-widget-flex-items-3-ref.html
 fuzzy-if(gtk2Widget,1,31) == flexbox-widget-flex-items-4.html flexbox-widget-flex-items-4-ref.html
-
-# Tests for flex containers with pseudo-elements
-== flexbox-with-pseudo-elements-1.html flexbox-with-pseudo-elements-1-ref.html
-== flexbox-with-pseudo-elements-2.html flexbox-with-pseudo-elements-2-ref.html
-== flexbox-with-pseudo-elements-3.html flexbox-with-pseudo-elements-3-ref.html
rename from layout/reftests/flexbox/flexbox-align-self-baseline-horiz-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-baseline-horiz-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-1.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-horiz-1-block.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-1-block.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-horiz-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-horiz-1-table.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-1-table.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-horiz-2-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-2-ref.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-horiz-2.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-2.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-horiz-3-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-3-ref.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-horiz-3.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-3.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-horiz-4-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-4-ref.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-horiz-4.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-4.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-horiz-5-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-5-ref.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-horiz-5.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-horiz-5.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-vert-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-vert-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-1.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-vert-2-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-2-ref.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-vert-2.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-2.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-vert-3-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-3-ref.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-vert-3.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-3.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-vert-4-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-4-ref.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-vert-4.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-4.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-vert-rtl-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-vert-rtl-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-1.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-vert-rtl-2-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-2-ref.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-vert-rtl-2.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-2.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-vert-rtl-3-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-3-ref.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-vert-rtl-3.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-3.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-vert-rtl-4-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-4-ref.xhtml
rename from layout/reftests/flexbox/flexbox-align-self-vert-rtl-4.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-vert-rtl-4.xhtml
rename from layout/reftests/flexbox/flexbox-baseline-align-self-baseline-horiz-1-ref.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-align-self-baseline-horiz-1-ref.html
rename from layout/reftests/flexbox/flexbox-baseline-align-self-baseline-horiz-1.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-align-self-baseline-horiz-1.html
rename from layout/reftests/flexbox/flexbox-baseline-align-self-baseline-vert-1-ref.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-align-self-baseline-vert-1-ref.html
--- a/layout/reftests/flexbox/flexbox-baseline-align-self-baseline-vert-1-ref.html
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-align-self-baseline-vert-1-ref.html
@@ -5,17 +5,17 @@
 -->
 <!-- Reference case, using inline-block instead of inline-flex, and with the
      unaligned children taken out of baseline-alignment with
      "vertical-align:top".
 -->
 <html>
 <head>
   <meta charset="utf-8">
-  <link rel="stylesheet" type="text/css" href="ahem.css" />
+  <link rel="stylesheet" type="text/css" href="support/ahem.css" />
   <style>
     body {
       margin: 0;
       font: 20px Ahem;
       line-height: 20px;
       /* Baseline is 0.8em = 16px from top */
     }
     .flexContainer {
rename from layout/reftests/flexbox/flexbox-baseline-align-self-baseline-vert-1.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-align-self-baseline-vert-1.html
--- a/layout/reftests/flexbox/flexbox-baseline-align-self-baseline-vert-1.html
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-align-self-baseline-vert-1.html
@@ -8,17 +8,17 @@
      vertical and the items' baselines are horizontal, they do not end up
      participating in baseline alignment, so their "align-self:baseline"
      computed style doesn't have any special effect on the container's
      baseline.
 -->
 <html>
 <head>
   <meta charset="utf-8">
-  <link rel="stylesheet" type="text/css" href="ahem.css" />
+  <link rel="stylesheet" type="text/css" href="support/ahem.css" />
   <style>
     body {
       margin: 0;
       font: 20px Ahem;
       line-height: 20px;
       /* Baseline is 0.8em = 16px from top */
     }
     .flexContainer {
rename from layout/reftests/flexbox/flexbox-baseline-empty-1-ref.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-empty-1-ref.html
--- a/layout/reftests/flexbox/flexbox-baseline-empty-1-ref.html
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-empty-1-ref.html
@@ -5,17 +5,17 @@
 -->
 <!-- In this reference case, we have inline-blocks instead of inline
      flex containers. We stick an Ahem whitespace character in each
      inline-block, with a customized line-height to make the baseline
      end up at the bottom of the inline-block's content-box. -->
 <html>
 <head>
   <meta charset="utf-8">
-  <link rel="stylesheet" type="text/css" href="ahem.css" />
+  <link rel="stylesheet" type="text/css" href="support/ahem.css" />
   <style>
     body {
       font: 20px Ahem;
     }
     .flexContainer {
       display: inline-block;
       height: 16px;
       width: 16px;
rename from layout/reftests/flexbox/flexbox-baseline-empty-1a.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-empty-1a.html
--- a/layout/reftests/flexbox/flexbox-baseline-empty-1a.html
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-empty-1a.html
@@ -10,17 +10,17 @@
        The flex container's main-axis baseline is synthesized
        from ... the flex container's content box.
 
      I'm taking that to mean the baseline is the bottom of the content box.
 -->
 <html>
 <head>
   <meta charset="utf-8">
-  <link rel="stylesheet" type="text/css" href="ahem.css" />
+  <link rel="stylesheet" type="text/css" href="support/ahem.css" />
   <style>
     body {
       font: 20px Ahem;
     }
     .flexContainer {
       display: inline-flex;
       height: 16px;
       width: 16px;
rename from layout/reftests/flexbox/flexbox-baseline-empty-1b.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-empty-1b.html
--- a/layout/reftests/flexbox/flexbox-baseline-empty-1b.html
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-empty-1b.html
@@ -10,17 +10,17 @@
        ...the flex container's cross-axis baseline is synthesized
        from ... the flex container's content box.
 
      I'm taking that to mean the baseline is the bottom of the content box.
 -->
 <html>
 <head>
   <meta charset="utf-8">
-  <link rel="stylesheet" type="text/css" href="ahem.css" />
+  <link rel="stylesheet" type="text/css" href="support/ahem.css" />
   <style>
     body {
       font: 20px Ahem;
     }
     .flexContainer {
       display: inline-flex;
       flex-direction: column;
       height: 16px;
rename from layout/reftests/flexbox/flexbox-baseline-multi-item-horiz-1-ref.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-horiz-1-ref.html
rename from layout/reftests/flexbox/flexbox-baseline-multi-item-horiz-1.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-horiz-1.html
rename from layout/reftests/flexbox/flexbox-baseline-multi-item-vert-1-ref.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-vert-1-ref.html
--- a/layout/reftests/flexbox/flexbox-baseline-multi-item-vert-1-ref.html
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-vert-1-ref.html
@@ -5,17 +5,17 @@
 -->
 <!-- Reference case, using inline-block instead of inline-flex, and with the
      inline-blocks manually positioned with "vertical-align:top" and
      margin-top.
 -->
 <html>
 <head>
   <meta charset="utf-8">
-  <link rel="stylesheet" type="text/css" href="ahem.css" />
+  <link rel="stylesheet" type="text/css" href="support/ahem.css" />
   <style>
     body {
       margin: 0;
       font: 20px Ahem;
       line-height: 20px;
       /* Baseline is 0.8em = 16px from top */
     }
     .flexContainer {
rename from layout/reftests/flexbox/flexbox-baseline-multi-item-vert-1.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-vert-1.html
--- a/layout/reftests/flexbox/flexbox-baseline-multi-item-vert-1.html
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-vert-1.html
@@ -9,17 +9,17 @@
        ...if the flex container has at least one flex item, and its
        first flex item has a baseline parallel to the flex
        container's main axis, the flex container's main-axis
        baseline is that baseline.
 -->
 <html>
 <head>
   <meta charset="utf-8">
-  <link rel="stylesheet" type="text/css" href="ahem.css" />
+  <link rel="stylesheet" type="text/css" href="support/ahem.css" />
   <style>
     body {
       margin: 0;
       font: 20px Ahem;
       line-height: 20px;
       /* Baseline is 0.8em = 16px from top */
     }
     .flexContainer {
rename from layout/reftests/flexbox/flexbox-baseline-single-item-1-ref.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-single-item-1-ref.html
rename from layout/reftests/flexbox/flexbox-baseline-single-item-1a.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-single-item-1a.html
rename from layout/reftests/flexbox/flexbox-baseline-single-item-1b.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-single-item-1b.html
rename from layout/reftests/flexbox/flexbox-basic-block-horiz-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-block-horiz-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-basic-block-horiz-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-block-horiz-1.xhtml
rename from layout/reftests/flexbox/flexbox-basic-block-vert-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-block-vert-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-basic-block-vert-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-block-vert-1.xhtml
rename from layout/reftests/flexbox/flexbox-basic-canvas-horiz-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-canvas-horiz-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-basic-canvas-horiz-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-canvas-horiz-1.xhtml
rename from layout/reftests/flexbox/flexbox-basic-canvas-vert-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-canvas-vert-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-basic-canvas-vert-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-canvas-vert-1.xhtml
rename from layout/reftests/flexbox/flexbox-basic-fieldset-horiz-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-fieldset-horiz-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-basic-fieldset-horiz-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-fieldset-horiz-1.xhtml
rename from layout/reftests/flexbox/flexbox-basic-fieldset-vert-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-fieldset-vert-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-basic-fieldset-vert-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-fieldset-vert-1.xhtml
rename from layout/reftests/flexbox/flexbox-basic-iframe-horiz-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-iframe-horiz-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-basic-iframe-horiz-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-iframe-horiz-1.xhtml
rename from layout/reftests/flexbox/flexbox-basic-iframe-vert-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-iframe-vert-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-basic-iframe-vert-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-iframe-vert-1.xhtml
rename from layout/reftests/flexbox/flexbox-basic-img-horiz-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-img-horiz-1-ref.xhtml
--- a/layout/reftests/flexbox/flexbox-basic-img-horiz-1-ref.xhtml
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-img-horiz-1-ref.xhtml
@@ -16,43 +16,43 @@
         width: 10px;
         height: 20px;
         border: 1px dotted green;
       }
     </style>
   </head>
   <body>
     <div class="flexbox">
-      <img src="solidblue.png"/>
+      <img src="support/solidblue.png"/>
     </div>
 
     <div class="flexbox" style="height: 22px">
       some words
-      <img src="solidblue.png" style="float:right"/>
+      <img src="support/solidblue.png" style="float:right"/>
     </div>
 
     <div class="flexbox">
-      <img src="solidblue.png" style="width: 122.5px"
-    /><img src="solidblue.png" style="width: 73.5px"/>
+      <img src="support/solidblue.png" style="width: 122.5px"
+    /><img src="support/solidblue.png" style="width: 73.5px"/>
     </div>
 
     <div class="flexbox">
-      <img src="solidblue.png" style="width: 93px"
-    /><img src="solidblue.png" style="width: 103px"/>
+      <img src="support/solidblue.png" style="width: 93px"
+    /><img src="support/solidblue.png" style="width: 103px"/>
     </div>
 
     <div class="flexbox">
-      <img src="solidblue.png" style="width: 114px"
-    /><img src="solidblue.png" style="width: 82px"/>
+      <img src="support/solidblue.png" style="width: 114px"
+    /><img src="support/solidblue.png" style="width: 82px"/>
     </div>
 
     <div class="flexbox">
-      <img src="solidblue.png" style="width: 106px"
-    /><img src="solidblue.png" style="width: 90px"/>
+      <img src="support/solidblue.png" style="width: 106px"
+    /><img src="support/solidblue.png" style="width: 90px"/>
     </div>
 
     <div class="flexbox">
-      <img src="solidblue.png" style="width: 46px"
-    /><img src="solidblue.png" style="width: 150px"/>
+      <img src="support/solidblue.png" style="width: 46px"
+    /><img src="support/solidblue.png" style="width: 150px"/>
     </div>
 
   </body>
 </html>
rename from layout/reftests/flexbox/flexbox-basic-img-horiz-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-img-horiz-1.xhtml
--- a/layout/reftests/flexbox/flexbox-basic-img-horiz-1.xhtml
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-img-horiz-1.xhtml
@@ -24,76 +24,76 @@
         border: 1px dotted green;
       }
     </style>
   </head>
   <body>
 
     <!-- A) One flex item -->
     <div class="flexbox">
-      <img src="solidblue.png"/>
+      <img src="support/solidblue.png"/>
     </div>
 
     <!-- B) Text and an img (ensure they aren't merged into one flex item) -->
     <div class="flexbox">
-      some words <img src="solidblue.png"/>
+      some words <img src="support/solidblue.png"/>
     </div>
 
     <!-- C) Two img elements, getting stretched by different ratios, from 0.
 
          Space-to-be-distributed = 200px - borders = 200 - (1 + 1) - (1 + 1)
                                  = 196px
 
          1st element gets 5/8 of space: 5/8 * 196px = 122.5px
          1st element gets 3/8 of space: 3/8 * 196px = 73.5px
       -->
     <div class="flexbox">
-      <img src="solidblue.png" style="flex: 5"/>
-      <img src="solidblue.png" style="flex: 3"/>
+      <img src="support/solidblue.png" style="flex: 5"/>
+      <img src="support/solidblue.png" style="flex: 3"/>
     </div>
 
     <!-- D) Two img elements, getting stretched by different ratios, from
          different flex bases.
 
          Space-to-be-distributed = 200px - (33 + 1 + 1) - (13 + 1 + 1) = 150px
          1st element gets 2/5 of space: 33px + 2/5 * 150px = 93px
          1st element gets 3/5 of space: 13px + 3/5 * 150px = 103px
       -->
     <div class="flexbox">
-      <img src="solidblue.png" style="width: 33px; flex: 2 auto"/>
-      <img src="solidblue.png" style="width: 13px; flex: 3 auto"/>
+      <img src="support/solidblue.png" style="width: 33px; flex: 2 auto"/>
+      <img src="support/solidblue.png" style="width: 13px; flex: 3 auto"/>
     </div>
 
     <!-- E) Two flex items, getting shrunk by different amounts.
 
          Space-to-be-distributed = 200px - (150 + 1 + 1) - (100 + 1 + 1) = -54px
          First element scaled flex ratio = 4 * 150 = 600
          Second element scaled flex ratio = 3 * 100 = 300
            * So, total flexibility is 600 + 300 = 900
 
          1st element gets 600/900 of space: 150 + 600/900 * -54 = 114px
          2nd element gets 300/900 of space: 100 + 300/900 * -54 = 82px
       -->
     <div class="flexbox">
-      <img src="solidblue.png" style="width: 150px; flex: 1 4 auto"/>
-      <img src="solidblue.png" style="width: 100px; flex: 1 3 auto"/>
+      <img src="support/solidblue.png" style="width: 150px; flex: 1 4 auto"/>
+      <img src="support/solidblue.png" style="width: 100px; flex: 1 3 auto"/>
     </div>
 
     <!-- F) Making sure we don't grow past max-width -->
     <!-- Same as (D), except we've added a max-width on the second element.
       -->
     <div class="flexbox">
-      <img src="solidblue.png" style="width: 33px; flex: 2 auto"/>
-      <img src="solidblue.png"
+      <img src="support/solidblue.png" style="width: 33px; flex: 2 auto"/>
+      <img src="support/solidblue.png"
            style="width: 13px; max-width: 90px; flex: 3 auto"/>
     </div>
 
     <!-- G) Making sure we grow at least as large as min-width -->
     <!-- Same as (C), except we've added a min-width on the second element.
       -->
     <div class="flexbox">
-      <img src="solidblue.png" style="width: 33px; flex: 2 auto"/>
-      <img src="solidblue.png"
+      <img src="support/solidblue.png" style="width: 33px; flex: 2 auto"/>
+      <img src="support/solidblue.png"
            style="width: 13px; min-width: 150px; flex: 3 auto"/>
     </div>
 
   </body>
 </html>
rename from layout/reftests/flexbox/flexbox-basic-img-vert-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-img-vert-1-ref.xhtml
--- a/layout/reftests/flexbox/flexbox-basic-img-vert-1-ref.xhtml
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-img-vert-1-ref.xhtml
@@ -18,45 +18,45 @@
         width: 20px;
         height: 10px;
         border: 1px dotted green;
       }
     </style>
   </head>
   <body>
     <div class="flexbox">
-      <img src="solidblue.png"/>
+      <img src="support/solidblue.png"/>
     </div>
 
     <div class="flexbox">
       <div style="font: 8px monospace; height: 188px">
         a b
       </div>
-      <img src="solidblue.png"/>
+      <img src="support/solidblue.png"/>
     </div>
 
     <div class="flexbox">
-      <img src="solidblue.png" style="height: 122.5px"
-    /><img src="solidblue.png" style="height: 73.5px"/>
+      <img src="support/solidblue.png" style="height: 122.5px"
+    /><img src="support/solidblue.png" style="height: 73.5px"/>
     </div>
 
     <div class="flexbox">
-      <img src="solidblue.png" style="height: 93px"
-    /><img src="solidblue.png" style="height: 103px"/>
+      <img src="support/solidblue.png" style="height: 93px"
+    /><img src="support/solidblue.png" style="height: 103px"/>
     </div>
 
     <div class="flexbox">
-      <img src="solidblue.png" style="height: 114px"
-    /><img src="solidblue.png" style="height: 82px"/>
+      <img src="support/solidblue.png" style="height: 114px"
+    /><img src="support/solidblue.png" style="height: 82px"/>
     </div>
 
     <div class="flexbox">
-      <img src="solidblue.png" style="height: 106px"
-    /><img src="solidblue.png" style="height: 90px"/>
+      <img src="support/solidblue.png" style="height: 106px"
+    /><img src="support/solidblue.png" style="height: 90px"/>
     </div>
 
     <div class="flexbox">
-      <img src="solidblue.png" style="height: 46px"
-    /><img src="solidblue.png" style="height: 150px"/>
+      <img src="support/solidblue.png" style="height: 46px"
+    /><img src="support/solidblue.png" style="height: 150px"/>
     </div>
 
   </body>
 </html>
rename from layout/reftests/flexbox/flexbox-basic-img-vert-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-img-vert-1.xhtml
--- a/layout/reftests/flexbox/flexbox-basic-img-vert-1.xhtml
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-img-vert-1.xhtml
@@ -26,76 +26,76 @@
         border: 1px dotted green;
       }
     </style>
   </head>
   <body>
 
     <!-- A) One flex item -->
     <div class="flexbox">
-      <img src="solidblue.png"/>
+      <img src="support/solidblue.png"/>
     </div>
 
     <!-- B) Text and an img (ensure they aren't merged into one flex item) -->
     <div class="flexbox">
-      a b <img src="solidblue.png"/>
+      a b <img src="support/solidblue.png"/>
     </div>
 
     <!-- C) Two img elements, getting stretched by different ratios, from 0.
 
          Space-to-be-distributed = 200px - borders = 200 - (1 + 1) - (1 + 1)
                                  = 196px
 
          1st element gets 5/8 of space: 5/8 * 196px = 122.5px
          1st element gets 3/8 of space: 3/8 * 196px = 73.5px
       -->
     <div class="flexbox">
-      <img src="solidblue.png" style="flex: 5"/>
-      <img src="solidblue.png" style="flex: 3"/>
+      <img src="support/solidblue.png" style="flex: 5"/>
+      <img src="support/solidblue.png" style="flex: 3"/>
     </div>
 
     <!-- D) Two img elements, getting stretched by different ratios, from
          different flex bases.
 
          Space-to-be-distributed = 200px - (33 + 1 + 1) - (13 + 1 + 1) = 150px
          1st element gets 2/5 of space: 33px + 2/5 * 150px = 93px
          1st element gets 3/5 of space: 13px + 3/5 * 150px = 103px
       -->
     <div class="flexbox">
-      <img src="solidblue.png" style="height: 33px; flex: 2 auto"/>
-      <img src="solidblue.png" style="height: 13px; flex: 3 auto"/>
+      <img src="support/solidblue.png" style="height: 33px; flex: 2 auto"/>
+      <img src="support/solidblue.png" style="height: 13px; flex: 3 auto"/>
     </div>
 
     <!-- E) Two flex items, getting shrunk by different amounts.
 
          Space-to-be-distributed = 200px - (150 + 1 + 1) - (100 + 1 + 1) = -54px
          First element scaled flex ratio = 4 * 150 = 600
          Second element scaled flex ratio = 3 * 100 = 300
            * So, total flexibility is 600 + 300 = 900
 
          1st element gets 600/900 of space: 150 + 600/900 * -54 = 114px
          2nd element gets 300/900 of space: 100 + 300/900 * -54 = 82px
       -->
     <div class="flexbox">
-      <img src="solidblue.png" style="height: 150px; flex: 1 4 auto"/>
-      <img src="solidblue.png" style="height: 100px; flex: 1 3 auto"/>
+      <img src="support/solidblue.png" style="height: 150px; flex: 1 4 auto"/>
+      <img src="support/solidblue.png" style="height: 100px; flex: 1 3 auto"/>
     </div>
 
     <!-- F) Making sure we don't grow past max-height -->
     <!-- Same as (D), except we've added a max-height on the second element.
       -->
     <div class="flexbox">
-      <img src="solidblue.png" style="height: 33px; flex: 2 auto"/>
-      <img src="solidblue.png"
+      <img src="support/solidblue.png" style="height: 33px; flex: 2 auto"/>
+      <img src="support/solidblue.png"
            style="height: 13px; max-height: 90px; flex: 3 auto"/>
     </div>
 
     <!-- G) Making sure we grow at least as large as min-height -->
     <!-- Same as (C), except we've added a min-height on the second element.
       -->
     <div class="flexbox">
-      <img src="solidblue.png" style="height: 33px; flex: 2 auto"/>
-      <img src="solidblue.png"
+      <img src="support/solidblue.png" style="height: 33px; flex: 2 auto"/>
+      <img src="support/solidblue.png"
            style="height: 13px; min-height: 150px; flex: 3 auto"/>
     </div>
 
   </body>
 </html>
rename from layout/reftests/flexbox/flexbox-basic-textarea-horiz-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-textarea-horiz-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-basic-textarea-horiz-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-textarea-horiz-1.xhtml
rename from layout/reftests/flexbox/flexbox-basic-textarea-vert-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-textarea-vert-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-basic-textarea-vert-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-textarea-vert-1.xhtml
rename from layout/reftests/flexbox/flexbox-basic-video-horiz-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-video-horiz-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-basic-video-horiz-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-video-horiz-1.xhtml
rename from layout/reftests/flexbox/flexbox-basic-video-vert-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-video-vert-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-basic-video-vert-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-basic-video-vert-1.xhtml
rename from layout/reftests/flexbox/flexbox-items-as-stacking-contexts-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-items-as-stacking-contexts-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-1.xhtml
rename from layout/reftests/flexbox/flexbox-items-as-stacking-contexts-2-ref.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-2-ref.html
rename from layout/reftests/flexbox/flexbox-items-as-stacking-contexts-2.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-2.html
rename from layout/reftests/flexbox/flexbox-items-as-stacking-contexts-3-ref.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-3-ref.html
rename from layout/reftests/flexbox/flexbox-items-as-stacking-contexts-3.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-3.html
rename from layout/reftests/flexbox/flexbox-justify-content-horiz-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-horiz-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-1.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-horiz-2-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-2-ref.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-horiz-2.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-2.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-horiz-3-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-3-ref.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-horiz-3.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-3.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-horiz-4-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-4-ref.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-horiz-4.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-4.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-horiz-5-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-5-ref.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-horiz-5.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-horiz-5.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-vert-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-vert-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-1.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-vert-2-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-2-ref.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-vert-2.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-2.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-vert-3-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-3-ref.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-vert-3.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-3.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-vert-4-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-4-ref.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-vert-4.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-4.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-vert-5-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-5-ref.xhtml
rename from layout/reftests/flexbox/flexbox-justify-content-vert-5.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-justify-content-vert-5.xhtml
rename from layout/reftests/flexbox/flexbox-margin-auto-horiz-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-margin-auto-horiz-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-margin-auto-horiz-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-margin-auto-horiz-1.xhtml
rename from layout/reftests/flexbox/flexbox-margin-auto-horiz-2-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-margin-auto-horiz-2-ref.xhtml
rename from layout/reftests/flexbox/flexbox-margin-auto-horiz-2.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-margin-auto-horiz-2.xhtml
rename from layout/reftests/flexbox/flexbox-mbp-horiz-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-mbp-horiz-1-reverse-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-1-reverse-ref.xhtml
rename from layout/reftests/flexbox/flexbox-mbp-horiz-1-reverse.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-1-reverse.xhtml
rename from layout/reftests/flexbox/flexbox-mbp-horiz-1-rtl-reverse.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-1-rtl-reverse.xhtml
rename from layout/reftests/flexbox/flexbox-mbp-horiz-1-rtl.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-1-rtl.xhtml
rename from layout/reftests/flexbox/flexbox-mbp-horiz-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-1.xhtml
rename from layout/reftests/flexbox/flexbox-mbp-horiz-2-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-2-ref.xhtml
rename from layout/reftests/flexbox/flexbox-mbp-horiz-2a.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-2a.xhtml
rename from layout/reftests/flexbox/flexbox-mbp-horiz-2b.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-2b.xhtml
rename from layout/reftests/flexbox/flexbox-mbp-horiz-3-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-3-ref.xhtml
rename from layout/reftests/flexbox/flexbox-mbp-horiz-3-reverse-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-3-reverse-ref.xhtml
rename from layout/reftests/flexbox/flexbox-mbp-horiz-3-reverse.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-3-reverse.xhtml
rename from layout/reftests/flexbox/flexbox-mbp-horiz-3.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-3.xhtml
rename from layout/reftests/flexbox/flexbox-mbp-horiz-4-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-4-ref.xhtml
rename from layout/reftests/flexbox/flexbox-mbp-horiz-4.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-mbp-horiz-4.xhtml
rename from layout/reftests/flexbox/flexbox-overflow-horiz-1-ref.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-1-ref.html
rename from layout/reftests/flexbox/flexbox-overflow-horiz-1.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-1.html
rename from layout/reftests/flexbox/flexbox-overflow-horiz-2-ref.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-2-ref.html
rename from layout/reftests/flexbox/flexbox-overflow-horiz-2.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-2.html
rename from layout/reftests/flexbox/flexbox-overflow-horiz-3-ref.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-3-ref.html
rename from layout/reftests/flexbox/flexbox-overflow-horiz-3.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-horiz-3.html
rename from layout/reftests/flexbox/flexbox-overflow-vert-1-ref.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-1-ref.html
rename from layout/reftests/flexbox/flexbox-overflow-vert-1.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-1.html
rename from layout/reftests/flexbox/flexbox-overflow-vert-2-ref.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-2-ref.html
rename from layout/reftests/flexbox/flexbox-overflow-vert-2.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-2.html
rename from layout/reftests/flexbox/flexbox-overflow-vert-3-ref.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-3-ref.html
rename from layout/reftests/flexbox/flexbox-overflow-vert-3.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-overflow-vert-3.html
rename from layout/reftests/flexbox/flexbox-paint-ordering-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-paint-ordering-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-paint-ordering-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-paint-ordering-1.xhtml
rename from layout/reftests/flexbox/flexbox-paint-ordering-2-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-paint-ordering-2-ref.xhtml
rename from layout/reftests/flexbox/flexbox-paint-ordering-2.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-paint-ordering-2.xhtml
rename from layout/reftests/flexbox/flexbox-sizing-horiz-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-sizing-horiz-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-sizing-horiz-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-sizing-horiz-1.xhtml
rename from layout/reftests/flexbox/flexbox-sizing-horiz-2-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-sizing-horiz-2-ref.xhtml
rename from layout/reftests/flexbox/flexbox-sizing-horiz-2.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-sizing-horiz-2.xhtml
rename from layout/reftests/flexbox/flexbox-sizing-vert-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-sizing-vert-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-sizing-vert-1.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-sizing-vert-1.xhtml
rename from layout/reftests/flexbox/flexbox-sizing-vert-2-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-sizing-vert-2-ref.xhtml
rename from layout/reftests/flexbox/flexbox-sizing-vert-2.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-sizing-vert-2.xhtml
rename from layout/reftests/flexbox/flexbox-table-fixup-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-table-fixup-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-table-fixup-1a.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-table-fixup-1a.xhtml
rename from layout/reftests/flexbox/flexbox-table-fixup-1b.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-table-fixup-1b.xhtml
rename from layout/reftests/flexbox/flexbox-whitespace-handling-1-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-1-ref.xhtml
rename from layout/reftests/flexbox/flexbox-whitespace-handling-1a.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-1a.xhtml
rename from layout/reftests/flexbox/flexbox-whitespace-handling-1b.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-1b.xhtml
rename from layout/reftests/flexbox/flexbox-whitespace-handling-2-ref.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-2-ref.xhtml
--- a/layout/reftests/flexbox/flexbox-whitespace-handling-2-ref.xhtml
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-2-ref.xhtml
@@ -5,17 +5,17 @@
 -->
 <!--
      This reference case is the same as the testcase, but with an explicit <div>
      around each run of content that we expect to turn into an anonymous
      flex item (to ensure that the whitespace is included).
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
-    <link rel="stylesheet" type="text/css" href="ahem.css" />
+    <link rel="stylesheet" type="text/css" href="support/ahem.css" />
     <style>
       div { height: 100px; }
       div.flexbox {
         white-space: pre;
         border: 1px dashed blue;
         width: 200px;
         display: flex;
         justify-content: space-around;
rename from layout/reftests/flexbox/flexbox-whitespace-handling-2.xhtml
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-2.xhtml
--- a/layout/reftests/flexbox/flexbox-whitespace-handling-2.xhtml
+++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-2.xhtml
@@ -5,17 +5,17 @@
 -->
 <!--
      This test verifies that we preserve whitespace at the beginning & end of
      anonymous flex items (using "white-space: pre" so that it actually
      occupies space and affects the rendering).
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
-    <link rel="stylesheet" type="text/css" href="ahem.css" />
+    <link rel="stylesheet" type="text/css" href="support/ahem.css" />
     <style>
       div { height: 100px; }
       div.flexbox {
         white-space: pre;
         border: 1px dashed blue;
         width: 200px;
         display: flex;
         justify-content: space-around;
rename from layout/reftests/flexbox/flexbox-with-pseudo-elements-1-ref.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-with-pseudo-elements-1-ref.html
rename from layout/reftests/flexbox/flexbox-with-pseudo-elements-1.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-with-pseudo-elements-1.html
rename from layout/reftests/flexbox/flexbox-with-pseudo-elements-2-ref.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-with-pseudo-elements-2-ref.html
rename from layout/reftests/flexbox/flexbox-with-pseudo-elements-2.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-with-pseudo-elements-2.html
rename from layout/reftests/flexbox/flexbox-with-pseudo-elements-3-ref.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-with-pseudo-elements-3-ref.html
rename from layout/reftests/flexbox/flexbox-with-pseudo-elements-3.html
rename to layout/reftests/w3c-css/submitted/flexbox/flexbox-with-pseudo-elements-3.html
--- a/layout/reftests/w3c-css/submitted/flexbox/reftest.list
+++ b/layout/reftests/w3c-css/submitted/flexbox/reftest.list
@@ -0,0 +1,107 @@
+# Tests for cross-axis alignment (align-self / align-items properties)
+== flexbox-align-self-baseline-horiz-1.xhtml  flexbox-align-self-baseline-horiz-1-ref.xhtml
+
+== flexbox-align-self-horiz-1-block.xhtml  flexbox-align-self-horiz-1-ref.xhtml
+== flexbox-align-self-horiz-1-table.xhtml  flexbox-align-self-horiz-1-ref.xhtml
+== flexbox-align-self-horiz-2.xhtml  flexbox-align-self-horiz-2-ref.xhtml
+== flexbox-align-self-horiz-3.xhtml  flexbox-align-self-horiz-3-ref.xhtml
+== flexbox-align-self-horiz-4.xhtml  flexbox-align-self-horiz-4-ref.xhtml
+== flexbox-align-self-horiz-5.xhtml  flexbox-align-self-horiz-5-ref.xhtml
+== flexbox-align-self-vert-1.xhtml  flexbox-align-self-vert-1-ref.xhtml
+== flexbox-align-self-vert-2.xhtml  flexbox-align-self-vert-2-ref.xhtml
+== flexbox-align-self-vert-3.xhtml  flexbox-align-self-vert-3-ref.xhtml
+== flexbox-align-self-vert-4.xhtml  flexbox-align-self-vert-4-ref.xhtml
+fuzzy-if(Android,158,32) == flexbox-align-self-vert-rtl-1.xhtml  flexbox-align-self-vert-rtl-1-ref.xhtml
+== flexbox-align-self-vert-rtl-2.xhtml  flexbox-align-self-vert-rtl-2-ref.xhtml
+== flexbox-align-self-vert-rtl-3.xhtml  flexbox-align-self-vert-rtl-3-ref.xhtml
+== flexbox-align-self-vert-rtl-4.xhtml  flexbox-align-self-vert-rtl-4-ref.xhtml
+
+# Tests for computing the baseline of a flex container
+== flexbox-baseline-align-self-baseline-horiz-1.html flexbox-baseline-align-self-baseline-horiz-1-ref.html
+== flexbox-baseline-align-self-baseline-vert-1.html flexbox-baseline-align-self-baseline-vert-1-ref.html
+== flexbox-baseline-empty-1a.html flexbox-baseline-empty-1-ref.html
+== flexbox-baseline-empty-1b.html flexbox-baseline-empty-1-ref.html
+== flexbox-baseline-multi-item-horiz-1.html flexbox-baseline-multi-item-horiz-1-ref.html
+== flexbox-baseline-multi-item-vert-1.html flexbox-baseline-multi-item-vert-1-ref.html
+== flexbox-baseline-single-item-1a.html flexbox-baseline-single-item-1-ref.html
+== flexbox-baseline-single-item-1b.html flexbox-baseline-single-item-1-ref.html
+
+# Basic tests with with blocks as flex items
+== flexbox-basic-block-horiz-1.xhtml flexbox-basic-block-horiz-1-ref.xhtml
+== flexbox-basic-block-vert-1.xhtml flexbox-basic-block-vert-1-ref.xhtml
+
+# Tests for basic handling of <canvas>/<img>/etc as a flex item
+== flexbox-basic-canvas-horiz-1.xhtml   flexbox-basic-canvas-horiz-1-ref.xhtml
+== flexbox-basic-canvas-vert-1.xhtml    flexbox-basic-canvas-vert-1-ref.xhtml
+== flexbox-basic-fieldset-horiz-1.xhtml flexbox-basic-fieldset-horiz-1-ref.xhtml
+== flexbox-basic-fieldset-vert-1.xhtml  flexbox-basic-fieldset-vert-1-ref.xhtml
+== flexbox-basic-iframe-horiz-1.xhtml   flexbox-basic-iframe-horiz-1-ref.xhtml
+== flexbox-basic-iframe-vert-1.xhtml    flexbox-basic-iframe-vert-1-ref.xhtml
+== flexbox-basic-img-horiz-1.xhtml      flexbox-basic-img-horiz-1-ref.xhtml
+== flexbox-basic-img-vert-1.xhtml       flexbox-basic-img-vert-1-ref.xhtml
+== flexbox-basic-textarea-horiz-1.xhtml flexbox-basic-textarea-horiz-1-ref.xhtml
+== flexbox-basic-textarea-vert-1.xhtml  flexbox-basic-textarea-vert-1-ref.xhtml
+== flexbox-basic-video-horiz-1.xhtml    flexbox-basic-video-horiz-1-ref.xhtml
+== flexbox-basic-video-vert-1.xhtml     flexbox-basic-video-vert-1-ref.xhtml
+
+# Tests for flex items as (pseudo) stacking contexts
+== flexbox-items-as-stacking-contexts-1.xhtml flexbox-items-as-stacking-contexts-1-ref.xhtml
+== flexbox-items-as-stacking-contexts-2.html flexbox-items-as-stacking-contexts-2-ref.html
+== flexbox-items-as-stacking-contexts-3.html flexbox-items-as-stacking-contexts-3-ref.html
+
+# Tests for main-axis alignment (jusify-content property)
+== flexbox-justify-content-horiz-1.xhtml flexbox-justify-content-horiz-1-ref.xhtml
+== flexbox-justify-content-horiz-2.xhtml flexbox-justify-content-horiz-2-ref.xhtml
+== flexbox-justify-content-horiz-3.xhtml flexbox-justify-content-horiz-3-ref.xhtml
+== flexbox-justify-content-horiz-4.xhtml flexbox-justify-content-horiz-4-ref.xhtml
+== flexbox-justify-content-horiz-5.xhtml flexbox-justify-content-horiz-5-ref.xhtml
+== flexbox-justify-content-vert-1.xhtml flexbox-justify-content-vert-1-ref.xhtml
+== flexbox-justify-content-vert-2.xhtml flexbox-justify-content-vert-2-ref.xhtml
+== flexbox-justify-content-vert-3.xhtml flexbox-justify-content-vert-3-ref.xhtml
+== flexbox-justify-content-vert-4.xhtml flexbox-justify-content-vert-4-ref.xhtml
+== flexbox-justify-content-vert-5.xhtml flexbox-justify-content-vert-5-ref.xhtml
+
+# Tests for flexbox with margin, border, and/or padding on flex items
+== flexbox-margin-auto-horiz-1.xhtml     flexbox-margin-auto-horiz-1-ref.xhtml
+== flexbox-margin-auto-horiz-2.xhtml     flexbox-margin-auto-horiz-2-ref.xhtml
+== flexbox-mbp-horiz-1.xhtml             flexbox-mbp-horiz-1-ref.xhtml
+== flexbox-mbp-horiz-1-reverse.xhtml     flexbox-mbp-horiz-1-reverse-ref.xhtml
+== flexbox-mbp-horiz-1-rtl.xhtml         flexbox-mbp-horiz-1-reverse-ref.xhtml
+== flexbox-mbp-horiz-1-rtl-reverse.xhtml flexbox-mbp-horiz-1-ref.xhtml
+== flexbox-mbp-horiz-2a.xhtml            flexbox-mbp-horiz-2-ref.xhtml
+== flexbox-mbp-horiz-2b.xhtml            flexbox-mbp-horiz-2-ref.xhtml
+== flexbox-mbp-horiz-3.xhtml             flexbox-mbp-horiz-3-ref.xhtml
+== flexbox-mbp-horiz-3-reverse.xhtml     flexbox-mbp-horiz-3-reverse-ref.xhtml
+== flexbox-mbp-horiz-4.xhtml             flexbox-mbp-horiz-4-ref.xhtml
+
+# Tests for flex containers with the "overflow" property set
+== flexbox-overflow-horiz-1.html flexbox-overflow-horiz-1-ref.html
+== flexbox-overflow-horiz-2.html flexbox-overflow-horiz-2-ref.html
+== flexbox-overflow-horiz-3.html flexbox-overflow-horiz-3-ref.html
+== flexbox-overflow-vert-1.html flexbox-overflow-vert-1-ref.html
+== flexbox-overflow-vert-2.html flexbox-overflow-vert-2-ref.html
+== flexbox-overflow-vert-3.html flexbox-overflow-vert-3-ref.html
+
+# Tests for the order in which we paint flex items
+== flexbox-paint-ordering-1.xhtml flexbox-paint-ordering-1-ref.xhtml
+== flexbox-paint-ordering-2.xhtml flexbox-paint-ordering-2-ref.xhtml
+
+# Tests for sizing of flex containers, e.g. under min/max size constraints
+== flexbox-sizing-horiz-1.xhtml flexbox-sizing-horiz-1-ref.xhtml
+== flexbox-sizing-horiz-2.xhtml flexbox-sizing-horiz-2-ref.xhtml
+== flexbox-sizing-vert-1.xhtml  flexbox-sizing-vert-1-ref.xhtml
+== flexbox-sizing-vert-2.xhtml  flexbox-sizing-vert-2-ref.xhtml
+
+# Tests for table-fixup on flex items
+== flexbox-table-fixup-1a.xhtml flexbox-table-fixup-1-ref.xhtml
+== flexbox-table-fixup-1b.xhtml flexbox-table-fixup-1-ref.xhtml
+
+# Tests for handling of whitespace within anonymous flex items.
+== flexbox-whitespace-handling-1a.xhtml flexbox-whitespace-handling-1-ref.xhtml
+== flexbox-whitespace-handling-1b.xhtml flexbox-whitespace-handling-1-ref.xhtml
+== flexbox-whitespace-handling-2.xhtml  flexbox-whitespace-handling-2-ref.xhtml
+
+# Tests for flex containers with pseudo-elements
+== flexbox-with-pseudo-elements-1.html flexbox-with-pseudo-elements-1-ref.html
+== flexbox-with-pseudo-elements-2.html flexbox-with-pseudo-elements-2-ref.html
+== flexbox-with-pseudo-elements-3.html flexbox-with-pseudo-elements-3-ref.html
copy from layout/reftests/flexbox/ahem.css
copy to layout/reftests/w3c-css/submitted/flexbox/support/ahem.css
--- a/layout/reftests/flexbox/ahem.css
+++ b/layout/reftests/w3c-css/submitted/flexbox/support/ahem.css
@@ -1,4 +1,4 @@
 @font-face {
   font-family: "Ahem";
-  src: url(../fonts/Ahem.ttf);
+  src: url(../../../../fonts/Ahem.ttf);
 }
copy from layout/reftests/flexbox/solidblue.png
copy to layout/reftests/w3c-css/submitted/flexbox/support/solidblue.png