1 # NOTE: Most of our flexbox tests have moved to the w3c-css reftest directory.
2 # The tests that remain in *this* directory are still here because either:
3 # a) They (or one of their closely-related tests) use some moz-prefixed
4 # feature, e.g. MozReftestInvalidate.
6 # b) They test a feature that has known bugs (e.g. bug 874713)
8 # Where possible & practical, we should try to address these so we can migrate
9 # tests over to the w3c-css directory, so that they can become part of the
12 # SUBDIRECTORY: Reftests for paginated flex containers
13 include pagination/reftest.list
15 # Tests for cross-axis alignment (align-self / align-items properties)
16 fails == flexbox-align-self-baseline-horiz-2.xhtml flexbox-align-self-baseline-horiz-2-ref.xhtml # bug 793456, and possibly others
17 == flexbox-align-self-baseline-horiz-3.xhtml flexbox-align-self-baseline-horiz-3-ref.xhtml
18 == flexbox-align-self-baseline-horiz-4.xhtml flexbox-align-self-baseline-horiz-4-ref.xhtml
19 == flexbox-item-align-self-dynamic-pos-001.html flexbox-item-align-self-dynamic-pos-001-ref.html
20 == flexbox-item-align-self-dynamic-pos-002.html flexbox-item-align-self-dynamic-pos-002-ref.html
22 # Tests for box-sizing on flex containers and flex items.
23 == flexbox-box-sizing-on-container-horiz-1.html flexbox-box-sizing-on-container-horiz-1-ref.html
24 == flexbox-box-sizing-on-container-vert-1.html flexbox-box-sizing-on-container-vert-1-ref.html
25 == flexbox-box-sizing-on-items-horiz-1a.html flexbox-box-sizing-on-items-horiz-1-ref.html
26 == flexbox-box-sizing-on-items-horiz-1b.html flexbox-box-sizing-on-items-horiz-1-ref.html
27 == flexbox-box-sizing-on-items-vert-1a.html flexbox-box-sizing-on-items-vert-1-ref.html
28 == flexbox-box-sizing-on-items-vert-1b.html flexbox-box-sizing-on-items-vert-1-ref.html
30 # Tests for dynamic modifications of content inside/around a flex container
31 == flexbox-dyn-changeContent-1.html flexbox-dyn-changeContent-1-ref.html
32 == flexbox-dyn-changeContent-2.html flexbox-dyn-changeContent-2-ref.html
33 == flexbox-dyn-changeFrameWidth-1.xhtml flexbox-dyn-changeFrameWidth-1-ref.xhtml
34 == flexbox-dyn-changeFrameWidth-2.xhtml flexbox-dyn-changeFrameWidth-2-ref.xhtml
35 == flexbox-dyn-changeFrameWidth-3.xhtml flexbox-dyn-changeFrameWidth-3-ref.xhtml
36 == flexbox-dyn-changeFrameWidth-4.xhtml flexbox-dyn-changeFrameWidth-4-ref.xhtml
37 == flexbox-dyn-changeOrder-1a.html flexbox-dyn-changeOrder-1-ref.html
38 == flexbox-dyn-changeOrder-1b.html flexbox-dyn-changeOrder-1-ref.html
39 == flexbox-dyn-changePadding-1a.xhtml flexbox-dyn-changePadding-1-ref.xhtml
40 == flexbox-dyn-changePadding-1b.xhtml flexbox-dyn-changePadding-1-ref.xhtml
42 # Tests for dynamic insertions of content into a flex container
43 # (with existing [div | span | text] inside the flexbox, and new content
44 # inserted adjacent to that existing content.)
45 fuzzy-if(skiaContent,0-3,0-10) == flexbox-dyn-insertAroundDiv-1.xhtml flexbox-dyn-insertAroundDiv-1-ref.xhtml
46 == flexbox-dyn-insertAroundDiv-2.xhtml flexbox-dyn-insertAroundDiv-2-ref.xhtml
47 fuzzy-if(skiaContent,0-3,0-10) == flexbox-dyn-insertAroundDiv-3.xhtml flexbox-dyn-insertAroundDiv-3-ref.xhtml
49 fuzzy-if(skiaContent,0-3,0-10) == flexbox-dyn-insertAroundSpan-1.xhtml flexbox-dyn-insertAroundDiv-1-ref.xhtml
50 == flexbox-dyn-insertAroundSpan-2.xhtml flexbox-dyn-insertAroundDiv-2-ref.xhtml
51 fuzzy-if(skiaContent,0-3,0-10) == flexbox-dyn-insertAroundSpan-3.xhtml flexbox-dyn-insertAroundDiv-3-ref.xhtml
53 == flexbox-dyn-insertAroundText-1.xhtml flexbox-dyn-insertAroundText-1-ref.xhtml
54 == flexbox-dyn-insertAroundText-2.xhtml flexbox-dyn-insertAroundText-2-ref.xhtml
55 == flexbox-dyn-insertAroundText-3.xhtml flexbox-dyn-insertAroundText-3-ref.xhtml
57 # Variant of one of the above tests, to regression-test an invalidation issue
58 == flexbox-dyn-insertEmptySpan-1.xhtml flexbox-dyn-insertEmptySpan-1-ref.xhtml
60 # Tests for empty flexboxes (with no flex items)
61 == flexbox-empty-1a.xhtml flexbox-empty-1-ref.xhtml
62 == flexbox-empty-1b.xhtml flexbox-empty-1-ref.xhtml
63 == flexbox-empty-container-synthesized-baseline-001.html flexbox-empty-container-synthesized-baseline-001-ref.html
65 # Tests for handling of floated elements inside a flexbox
66 == flexbox-float-1a.xhtml flexbox-float-1-ref.xhtml
67 == flexbox-float-1b.xhtml flexbox-float-1-ref.xhtml
68 == flexbox-float-1c.xhtml flexbox-float-1-ref.xhtml
69 == flexbox-float-1d.xhtml flexbox-float-1-ref.xhtml
70 == flexbox-float-2a.xhtml flexbox-float-2-ref.xhtml
71 == flexbox-float-2b.xhtml flexbox-float-2-ref.xhtml
73 # Tests for handling of absolutely/fixed/relatively-positioned flex items.
74 == flexbox-position-absolute-1.xhtml flexbox-position-absolute-1-ref.xhtml
75 == flexbox-position-absolute-2.xhtml flexbox-position-absolute-2-ref.xhtml
76 == flexbox-position-absolute-3.xhtml flexbox-position-absolute-3-ref.xhtml
77 == flexbox-position-absolute-4.xhtml flexbox-position-absolute-4-ref.xhtml
78 == flexbox-position-fixed-3.xhtml flexbox-position-fixed-3-ref.xhtml
79 fuzzy-if(Android,0-16,0-400) == flexbox-position-fixed-1.xhtml flexbox-position-fixed-1-ref.xhtml
80 fuzzy-if(Android,0-16,0-400) == flexbox-position-fixed-2.xhtml flexbox-position-fixed-2-ref.xhtml
81 == flexbox-position-fixed-3.xhtml flexbox-position-fixed-3-ref.xhtml
82 == flexbox-position-fixed-4.xhtml flexbox-position-fixed-4-ref.xhtml
84 # Tests for inline content in a flexbox that gets wrapped in an anonymous block
85 fails == flexbox-inlinecontent-horiz-1a.xhtml flexbox-inlinecontent-horiz-1-ref.xhtml # reference case rendering is incorrect; bug 858333
86 fails == flexbox-inlinecontent-horiz-1b.xhtml flexbox-inlinecontent-horiz-1-ref.xhtml # reference case rendering is incorrect; bug 858333
87 == flexbox-inlinecontent-horiz-2.xhtml flexbox-inlinecontent-horiz-2-ref.xhtml
88 == flexbox-inlinecontent-horiz-3a.xhtml flexbox-inlinecontent-horiz-3-ref.xhtml
89 == flexbox-inlinecontent-horiz-3b.xhtml flexbox-inlinecontent-horiz-3-ref.xhtml
90 == flexbox-inlinecontent-horiz-3c.xhtml flexbox-inlinecontent-horiz-3-ref.xhtml
91 == flexbox-inlinecontent-horiz-4.xhtml flexbox-inlinecontent-horiz-4-ref.xhtml
92 == flexbox-inlinecontent-horiz-5.xhtml flexbox-inlinecontent-horiz-5-ref.xhtml
94 # Tests for intrinsic sizing of flexboxes
95 == flexbox-intrinsic-sizing-horiz-1a.xhtml flexbox-intrinsic-sizing-horiz-1-ref.xhtml
96 == flexbox-intrinsic-sizing-horiz-1b.xhtml flexbox-intrinsic-sizing-horiz-1-ref.xhtml
97 == flexbox-intrinsic-sizing-horiz-2a.xhtml flexbox-intrinsic-sizing-horiz-2-ref.xhtml
98 == flexbox-intrinsic-sizing-horiz-2b.xhtml flexbox-intrinsic-sizing-horiz-2-ref.xhtml
100 # Tests for invalidation after dynamic modifications
101 == flexbox-invalidation-1.html flexbox-invalidation-1-ref.html
103 # Tests for flexbox in an iframe that gets resized.
104 fuzzy-if(/^Windows\x20NT\x2010\.0/.test(http.oscpu),0-1,0-16) fuzzy-if(skiaContent,0-1,0-8) fuzzy-if(!nativeThemePref&&cocoaWidget,0-1,0-14) == flexbox-resizeviewport-1.xhtml flexbox-resizeviewport-1-ref.xhtml
105 fuzzy-if(skiaContent,0-1,0-5) == flexbox-resizeviewport-2.xhtml flexbox-resizeviewport-2-ref.xhtml
107 # Tests for flexbox styling on things that don't support it
108 == flexbox-styling-on-svg-1.svg flexbox-styling-on-svg-1-ref.svg
110 # Tests with widgets as flex items
111 fuzzy-if(gtkWidget,0-1,0-66) fuzzy-if(!nativeThemePref,0-1,0-1) == flexbox-widget-flex-items-1.html flexbox-widget-flex-items-1-ref.html
112 fuzzy-if(gtkWidget,0-1,0-74) fuzzy-if(webrender&&winWidget,0-1,0-5) fuzzy-if(!nativeThemePref,0-1,0-19) fuzzy-if(!nativeThemePref&&swgl,0-26,0-20) == flexbox-widget-flex-items-2.html flexbox-widget-flex-items-2-ref.html
113 skip-if(gtkWidget) fuzzy-if(!nativeThemePref,0-6,0-8) == flexbox-widget-flex-items-3.html flexbox-widget-flex-items-3-ref.html # bug 1260965 for gtk
114 fuzzy-if(gtkWidget,0-1,0-31) == flexbox-widget-flex-items-4.html flexbox-widget-flex-items-4-ref.html
116 # Tests for table flex items
117 == flexbox-table-flex-items-1.html flexbox-table-flex-items-1-ref.html
118 == flexbox-table-flex-items-2.html flexbox-table-flex-items-2-ref.html
119 == flexbox-table-flex-items-3.html flexbox-table-flex-items-3-ref.html
120 == flexbox-table-flex-items-4.html flexbox-table-flex-items-4-ref.html
121 == flexbox-table-flex-items-5.html flexbox-table-flex-items-5-ref.html
123 # Tests for Bug 1500627. Keywords on min-height (block size) should behave as
124 # the initial value. (i.e. auto)
125 == flexbox-min-bsize-keywords-vert-1.html flexbox-min-bsize-keywords-vert-1-ref.html
126 == flexbox-min-bsize-keywords-horiz-1.html flexbox-min-bsize-keywords-horiz-1-ref.html
127 == flexbox-bsize-keywords-no-stretch-1.html flexbox-bsize-keywords-no-stretch-1-ref.html