2013-06-06 20:37:11 -07:00
|
|
|
# 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.
|
|
|
|
|
2013-11-21 10:20:02 -08:00
|
|
|
# SUBDIRECTORY: Reftests for paginated flex containers
|
|
|
|
include pagination/reftest.list
|
|
|
|
|
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
|
|
|
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
|
2013-06-04 23:23:22 -07: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-09-29 23:42:29 -07:00
|
|
|
# Tests for basic handling of <canvas>/<img>/etc as a flex item
|
2013-06-06 20:37:11 -07:00
|
|
|
# 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.
|
|
|
|
|
2012-11-28 23:12:32 -08:00
|
|
|
== flexbox-basic-canvas-horiz-2.xhtml flexbox-basic-canvas-horiz-2-ref.xhtml
|
2013-03-27 23:33:20 -07:00
|
|
|
# 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
|
2012-11-28 23:12:32 -08:00
|
|
|
== flexbox-basic-fieldset-horiz-2.xhtml flexbox-basic-fieldset-horiz-2-ref.xhtml
|
|
|
|
== flexbox-basic-fieldset-vert-2.xhtml flexbox-basic-fieldset-vert-2-ref.xhtml
|
|
|
|
== flexbox-basic-iframe-horiz-2.xhtml flexbox-basic-iframe-horiz-2-ref.xhtml
|
|
|
|
== flexbox-basic-iframe-vert-2.xhtml flexbox-basic-iframe-vert-2-ref.xhtml
|
|
|
|
== flexbox-basic-img-horiz-2.xhtml flexbox-basic-img-horiz-2-ref.xhtml
|
2013-03-27 23:33:20 -07:00
|
|
|
# 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
|
2012-11-28 23:12:32 -08:00
|
|
|
== flexbox-basic-textarea-horiz-2.xhtml flexbox-basic-textarea-horiz-2-ref.xhtml
|
|
|
|
== flexbox-basic-textarea-vert-2.xhtml flexbox-basic-textarea-vert-2-ref.xhtml
|
|
|
|
== flexbox-basic-video-horiz-2.xhtml flexbox-basic-video-horiz-2-ref.xhtml
|
2013-03-27 23:33:20 -07:00
|
|
|
# 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
|
2012-09-29 23:42:29 -07:00
|
|
|
|
2013-12-19 15:37:11 -08:00
|
|
|
# Tests for box-sizing on flex containers and flex items.
|
|
|
|
== flexbox-box-sizing-on-container-horiz-1.html flexbox-box-sizing-on-container-horiz-1-ref.html
|
2013-12-19 15:37:14 -08:00
|
|
|
== flexbox-box-sizing-on-container-vert-1.html flexbox-box-sizing-on-container-vert-1-ref.html
|
2013-12-19 15:37:11 -08:00
|
|
|
== flexbox-box-sizing-on-items-horiz-1a.html flexbox-box-sizing-on-items-horiz-1-ref.html
|
2013-12-19 15:37:12 -08:00
|
|
|
== flexbox-box-sizing-on-items-horiz-1b.html flexbox-box-sizing-on-items-horiz-1-ref.html
|
2013-12-19 15:37:14 -08:00
|
|
|
== flexbox-box-sizing-on-items-vert-1a.html flexbox-box-sizing-on-items-vert-1-ref.html
|
|
|
|
== flexbox-box-sizing-on-items-vert-1b.html flexbox-box-sizing-on-items-vert-1-ref.html
|
2013-12-19 15:37:11 -08: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
|
2013-02-22 22:32:30 -08:00
|
|
|
== flexbox-dyn-changeFrameWidth-2.xhtml flexbox-dyn-changeFrameWidth-2-ref.xhtml
|
|
|
|
== flexbox-dyn-changeFrameWidth-3.xhtml flexbox-dyn-changeFrameWidth-3-ref.xhtml
|
2013-03-14 01:18:53 -07:00
|
|
|
== flexbox-dyn-changeFrameWidth-4.xhtml flexbox-dyn-changeFrameWidth-4-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
|
2014-02-03 08:45:36 -08:00
|
|
|
== flexbox-dyn-insertAroundDiv-2.xhtml flexbox-dyn-insertAroundDiv-2-ref.xhtml
|
2012-11-28 23:12:32 -08:00
|
|
|
== 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
|
2014-02-03 08:45:36 -08:00
|
|
|
== flexbox-dyn-insertAroundSpan-2.xhtml flexbox-dyn-insertAroundDiv-2-ref.xhtml
|
2012-11-28 23:12:32 -08:00
|
|
|
== 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
|
|
|
|
2013-03-27 23:33:20 -07:00
|
|
|
# Tests for "min-width" and "min-height" on flex items.
|
2012-11-28 23:12:32 -08:00
|
|
|
== flexbox-minSize-horiz-1.xhtml flexbox-minSize-horiz-1-ref.xhtml
|
2013-03-27 23:33:20 -07:00
|
|
|
fails == flexbox-minSize-vert-1.xhtml flexbox-minSize-vert-1-ref.xhtml # bug 852367
|
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
|
2013-05-31 22:14:03 -07:00
|
|
|
fails == flexbox-paint-ordering-3.html flexbox-paint-ordering-3-ref.html # bug 874718
|
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
|
2013-06-24 05:51:32 -07:00
|
|
|
fuzzy-if(Android&&AndroidVersion>=15,16,400) == flexbox-position-fixed-1.xhtml flexbox-position-fixed-1-ref.xhtml
|
|
|
|
fuzzy-if(Android&&AndroidVersion>=15,16,400) == flexbox-position-fixed-2.xhtml flexbox-position-fixed-2-ref.xhtml
|
2012-11-28 23:12:32 -08:00
|
|
|
== 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 inline content in a flexbox that gets wrapped in an anonymous block
|
2013-04-18 09:51:18 -07:00
|
|
|
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
|
2012-11-28 23:12:32 -08:00
|
|
|
== flexbox-inlinecontent-horiz-2.xhtml flexbox-inlinecontent-horiz-2-ref.xhtml
|
2013-04-05 12:52:30 -07:00
|
|
|
== 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
|
2012-11-28 23:12:32 -08:00
|
|
|
== 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
|
2013-04-05 12:52:30 -07:00
|
|
|
== 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
|
2012-11-28 23:12:32 -08:00
|
|
|
== 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 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
|
|
|
|
2014-02-15 10:43:11 -08:00
|
|
|
# Tests for flexbox styling on things that don't support it
|
|
|
|
== flexbox-styling-on-svg-1.svg flexbox-styling-on-svg-1-ref.svg
|
|
|
|
|
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
|