From 0038724369434044c15fa3538437a6e11d18ff9e Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Wed, 7 Nov 2012 11:29:00 -0800 Subject: [PATCH] Bug 783415 part 2: Add mochitest to check the computed value of various specified "display" values on flex-container-children. r=dbaron --- layout/style/test/Makefile.in | 2 + .../file_flexbox_child_display_values.xhtml | 188 ++++++++++++++++++ .../test_flexbox_child_display_values.html | 47 +++++ 3 files changed, 237 insertions(+) create mode 100644 layout/style/test/file_flexbox_child_display_values.xhtml create mode 100644 layout/style/test/test_flexbox_child_display_values.html diff --git a/layout/style/test/Makefile.in b/layout/style/test/Makefile.in index 40f3170169e3..a1772cca1cba 100644 --- a/layout/style/test/Makefile.in +++ b/layout/style/test/Makefile.in @@ -198,6 +198,8 @@ ifdef MOZ_FLEXBOX MOCHITEST_FILES += \ file_flexbox_align_self_auto.html \ test_flexbox_align_self_auto.html \ + file_flexbox_child_display_values.xhtml \ + test_flexbox_child_display_values.html \ file_flexbox_flex_grow_and_shrink.html \ test_flexbox_flex_grow_and_shrink.html \ file_flexbox_flex_shorthand.html \ diff --git a/layout/style/test/file_flexbox_child_display_values.xhtml b/layout/style/test/file_flexbox_child_display_values.xhtml new file mode 100644 index 000000000000..53d646c19287 --- /dev/null +++ b/layout/style/test/file_flexbox_child_display_values.xhtml @@ -0,0 +1,188 @@ + + +
+
+
+
+
+
+ + diff --git a/layout/style/test/test_flexbox_child_display_values.html b/layout/style/test/test_flexbox_child_display_values.html new file mode 100644 index 000000000000..d9f46962571c --- /dev/null +++ b/layout/style/test/test_flexbox_child_display_values.html @@ -0,0 +1,47 @@ + + + + + + Test "display" values of content in a flex container (Bug 783415) + + + + +Mozilla Bug 783415 +
+ +
+
+
+
+ +