2012-12-07 10:58:34 -08:00
|
|
|
# Check that flexbox pref is default-enabled:
|
|
|
|
== flexbox-pref-1.xhtml flexbox-pref-1-enabled-ref.xhtml
|
|
|
|
|
|
|
|
# Check that manually setting the pref on/off w/ test-pref() works correctly:
|
2012-10-03 18:45:06 -07:00
|
|
|
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
|
|
|
|
|
2012-09-29 23:42:29 -07:00
|
|
|
# Tests for cross-axis alignment (align-self / align-items properties)
|
2012-11-28 23:12:32 -08:00
|
|
|
== 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
|
2012-09-29 23:42:29 -07:00
|
|
|
# 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
|
2013-01-15 07:19:28 -08:00
|
|
|
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
|
2012-12-07 10:58:34 -08:00
|
|
|
== flexbox-align-self-baseline-horiz-4.xhtml flexbox-align-self-baseline-horiz-4-ref.xhtml
|
2012-10-11 18:41:05 -07:00
|
|
|
|
2012-11-28 23:12:32 -08:00
|
|
|
== flexbox-align-self-horiz-1-block.xhtml flexbox-align-self-horiz-1-ref.xhtml
|
2012-12-07 10:58:34 -08:00
|
|
|
== flexbox-align-self-horiz-1-table.xhtml flexbox-align-self-horiz-1-ref.xhtml
|
2012-11-28 23:12:32 -08:00
|
|
|
== 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
|
|
|
|
== 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
|
2012-09-29 23:42:29 -07:00
|
|
|
|
|
|
|
# Basic tests with with blocks as flex items
|
2012-11-28 23:12:32 -08:00
|
|
|
== 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
|
2012-09-29 23:42:29 -07:00
|
|
|
|
|
|
|
# Tests for basic handling of <canvas>/<img>/etc as a flex item
|
2012-11-28 23:12:32 -08:00
|
|
|
== 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
|
|
|
|
fails == flexbox-basic-canvas-vert-2.xhtml flexbox-basic-canvas-vert-2-ref.xhtml # bug 794660
|
|
|
|
== 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
|
|
|
|
fails == flexbox-basic-img-vert-2.xhtml flexbox-basic-img-vert-2-ref.xhtml # bug 794660
|
|
|
|
== 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
|
|
|
|
fails == flexbox-basic-video-vert-2.xhtml flexbox-basic-video-vert-2-ref.xhtml # bug 794660
|
2012-09-29 23:42:29 -07:00
|
|
|
|
2013-02-15 14:01:48 -08:00
|
|
|
# Tests for dynamic modifications of content inside/around a flex container
|
|
|
|
== flexbox-dyn-changeFrameWidth-1.xhtml flexbox-dyn-changeFrameWidth-1-ref.xhtml
|
2012-12-26 12:29:27 -08:00
|
|
|
== flexbox-dyn-changePadding-1a.xhtml flexbox-dyn-changePadding-1-ref.xhtml
|
2012-12-26 12:31:23 -08:00
|
|
|
== flexbox-dyn-changePadding-1b.xhtml flexbox-dyn-changePadding-1-ref.xhtml
|
2012-12-26 12:29:27 -08:00
|
|
|
|
|
|
|
# Tests for dynamic insertions of content into a flex container
|
2012-09-29 23:42:29 -07:00
|
|
|
# (with existing [div | span | text] inside the flexbox, and new content
|
|
|
|
# inserted adjacent to that existing content.)
|
2012-11-28 23:12:32 -08:00
|
|
|
== flexbox-dyn-insertAroundDiv-1.xhtml flexbox-dyn-insertAroundDiv-1-ref.xhtml
|
|
|
|
== flexbox-dyn-insertAroundDiv-2.xhtml flexbox-dyn-insertAroundDiv-2-ref.xhtml
|
|
|
|
== flexbox-dyn-insertAroundDiv-3.xhtml flexbox-dyn-insertAroundDiv-3-ref.xhtml
|
2012-09-29 23:42:29 -07:00
|
|
|
|
2012-11-28 23:12:32 -08:00
|
|
|
== flexbox-dyn-insertAroundSpan-1.xhtml flexbox-dyn-insertAroundDiv-1-ref.xhtml
|
|
|
|
== flexbox-dyn-insertAroundSpan-2.xhtml flexbox-dyn-insertAroundDiv-2-ref.xhtml
|
|
|
|
== flexbox-dyn-insertAroundSpan-3.xhtml flexbox-dyn-insertAroundDiv-3-ref.xhtml
|
2012-09-29 23:42:29 -07:00
|
|
|
|
2012-11-28 23:12:32 -08:00
|
|
|
== flexbox-dyn-insertAroundText-1.xhtml flexbox-dyn-insertAroundText-1-ref.xhtml
|
|
|
|
== flexbox-dyn-insertAroundText-2.xhtml flexbox-dyn-insertAroundText-2-ref.xhtml
|
|
|
|
== flexbox-dyn-insertAroundText-3.xhtml flexbox-dyn-insertAroundText-3-ref.xhtml
|
2012-09-29 23:42:29 -07:00
|
|
|
|
|
|
|
# Variant of one of the above tests, to regression-test an invalidation issue
|
2012-11-28 23:12:32 -08:00
|
|
|
== flexbox-dyn-insertEmptySpan-1.xhtml flexbox-dyn-insertEmptySpan-1-ref.xhtml
|
2012-09-29 23:42:29 -07:00
|
|
|
|
|
|
|
# Tests for empty flexboxes (with no flex items)
|
2012-11-28 23:12:32 -08:00
|
|
|
== flexbox-empty-1a.xhtml flexbox-empty-1-ref.xhtml
|
|
|
|
== flexbox-empty-1b.xhtml flexbox-empty-1-ref.xhtml
|
2012-09-29 23:42:29 -07:00
|
|
|
|
|
|
|
# Tests for handling of floated elements inside a flexbox
|
2012-11-28 23:12:32 -08:00
|
|
|
== 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
|
2012-09-29 23:42:29 -07:00
|
|
|
|
2012-11-20 17:24:59 -08:00
|
|
|
# Tests for flex items as stacking contexts
|
2012-11-28 23:12:32 -08:00
|
|
|
== flexbox-items-as-stacking-contexts-1.xhtml flexbox-items-as-stacking-contexts-1-ref.xhtml
|
2012-11-20 17:24:59 -08:00
|
|
|
|
2012-09-29 23:42:29 -07:00
|
|
|
# Tests for (default) "min-width: auto" / "min-height: auto" in flex containers
|
2012-11-28 23:12:32 -08:00
|
|
|
== flexbox-minSize-horiz-1.xhtml flexbox-minSize-horiz-1-ref.xhtml
|
|
|
|
== flexbox-minSize-vert-1.xhtml flexbox-minSize-vert-1-ref.xhtml
|
2012-09-29 23:42:29 -07:00
|
|
|
|
2012-11-30 00:13:23 -08:00
|
|
|
# Tests for the order in which we paint flex items
|
2012-11-28 23:12:32 -08:00
|
|
|
== flexbox-paint-ordering-1.xhtml flexbox-paint-ordering-1-ref.xhtml
|
2012-12-26 12:17:52 -08:00
|
|
|
== flexbox-paint-ordering-2.xhtml flexbox-paint-ordering-2-ref.xhtml
|
2012-11-30 00:13:23 -08:00
|
|
|
|
2012-09-29 23:42:29 -07:00
|
|
|
# Tests for handling of absolutely/fixed/relatively-positioned flex items.
|
2012-11-28 23:12:32 -08:00
|
|
|
== 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
|
2012-09-29 23:42:29 -07:00
|
|
|
|
|
|
|
# Tests for main-axis alignment (jusify-content property)
|
2012-11-28 23:12:32 -08:00
|
|
|
== 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
|
2012-09-29 23:42:29 -07:00
|
|
|
|
|
|
|
# Tests for inline content in a flexbox that gets wrapped in an anonymous block
|
2012-11-28 23:12:32 -08:00
|
|
|
HTTP(..) == flexbox-inlinecontent-horiz-1a.xhtml flexbox-inlinecontent-horiz-1-ref.xhtml
|
|
|
|
HTTP(..) == flexbox-inlinecontent-horiz-1b.xhtml flexbox-inlinecontent-horiz-1-ref.xhtml
|
|
|
|
== flexbox-inlinecontent-horiz-2.xhtml flexbox-inlinecontent-horiz-2-ref.xhtml
|
|
|
|
HTTP(..) == flexbox-inlinecontent-horiz-3a.xhtml flexbox-inlinecontent-horiz-3-ref.xhtml
|
|
|
|
HTTP(..) == flexbox-inlinecontent-horiz-3b.xhtml flexbox-inlinecontent-horiz-3-ref.xhtml
|
|
|
|
HTTP(..) == flexbox-inlinecontent-horiz-3c.xhtml flexbox-inlinecontent-horiz-3-ref.xhtml
|
|
|
|
== flexbox-inlinecontent-horiz-4.xhtml flexbox-inlinecontent-horiz-4-ref.xhtml
|
|
|
|
== flexbox-inlinecontent-horiz-5.xhtml flexbox-inlinecontent-horiz-5-ref.xhtml
|
2012-09-29 23:42:29 -07:00
|
|
|
|
|
|
|
# Tests for intrinsic sizing of flexboxes
|
2012-11-28 23:12:32 -08:00
|
|
|
HTTP(..) == flexbox-intrinsic-sizing-horiz-1a.xhtml flexbox-intrinsic-sizing-horiz-1-ref.xhtml
|
|
|
|
HTTP(..) == 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
|
2012-09-29 23:42:29 -07:00
|
|
|
|
|
|
|
# Tests for invalidation after dynamic modifications
|
2012-11-28 23:12:32 -08:00
|
|
|
== flexbox-invalidation-1.html flexbox-invalidation-1-ref.html
|
2012-09-29 23:42:29 -07:00
|
|
|
|
|
|
|
# Tests for flexbox with margin, border, and/or padding on flex items
|
2012-11-28 23:12:32 -08:00
|
|
|
== 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
|
2012-09-29 23:42:29 -07:00
|
|
|
|
|
|
|
# Tests for flexbox in an iframe that gets resized.
|
2013-01-03 12:35:01 -08:00
|
|
|
skip-if(B2G) == flexbox-resizeviewport-1.xhtml flexbox-resizeviewport-1-ref.xhtml
|
2012-09-29 23:42:29 -07:00
|
|
|
|
|
|
|
# Tests for sizing of flex containers, e.g. under min/max size constraints
|
2012-11-28 23:12:32 -08:00
|
|
|
== 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
|
2012-09-29 23:42:29 -07:00
|
|
|
|
2012-11-28 23:12:32 -08:00
|
|
|
== flexbox-table-fixup-1a.xhtml flexbox-table-fixup-1-ref.xhtml
|
|
|
|
== flexbox-table-fixup-1b.xhtml flexbox-table-fixup-1-ref.xhtml
|
2012-09-29 23:42:29 -07:00
|
|
|
|
|
|
|
# Tests for handling of whitespace within anonymous flex items.
|
2012-11-28 23:12:32 -08:00
|
|
|
== 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
|
2012-09-29 23:42:29 -07:00
|
|
|
|
|
|
|
# Tests with widgets as flex items
|
2012-11-28 23:12:32 -08:00
|
|
|
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
|