From f6582e7f21ff1d46b09dc712cb92c4513863d6ae Mon Sep 17 00:00:00 2001 From: Paul Rouget Date: Mon, 7 Sep 2015 09:02:53 +0200 Subject: [PATCH] Test for flexbox crasher --- tests/wpt/mozilla/meta/MANIFEST.json | 24 +++++++++++++++++++ tests/wpt/mozilla/meta/css/__dir__.ini | 2 ++ .../mozilla/tests/css/flex_nochild-ref.html | 23 ++++++++++++++++++ tests/wpt/mozilla/tests/css/flex_nochild.html | 24 +++++++++++++++++++ 4 files changed, 73 insertions(+) create mode 100644 tests/wpt/mozilla/meta/css/__dir__.ini create mode 100644 tests/wpt/mozilla/tests/css/flex_nochild-ref.html create mode 100644 tests/wpt/mozilla/tests/css/flex_nochild.html diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json index 8ecca588469..9f187275bd7 100644 --- a/tests/wpt/mozilla/meta/MANIFEST.json +++ b/tests/wpt/mozilla/meta/MANIFEST.json @@ -87,6 +87,18 @@ "url": "/_mozilla/css/class-namespaces.html" } ], + "css/flex_nochild.html": [ + { + "path": "css/flex_nochild.html", + "references": [ + [ + "/_mozilla/css/flex_nochild-ref.html", + "==" + ] + ], + "url": "/_mozilla/css/flex_nochild.html" + } + ], "css/setpropertypriority.html": [ { "path": "css/setpropertypriority.html", @@ -884,6 +896,18 @@ "url": "/_mozilla/css/class-namespaces.html" } ], + "css/flex_nochild.html": [ + { + "path": "css/flex_nochild.html", + "references": [ + [ + "/_mozilla/css/flex_nochild-ref.html", + "==" + ] + ], + "url": "/_mozilla/css/flex_nochild.html" + } + ], "css/setpropertypriority.html": [ { "path": "css/setpropertypriority.html", diff --git a/tests/wpt/mozilla/meta/css/__dir__.ini b/tests/wpt/mozilla/meta/css/__dir__.ini new file mode 100644 index 00000000000..dfd23294ccc --- /dev/null +++ b/tests/wpt/mozilla/meta/css/__dir__.ini @@ -0,0 +1,2 @@ +prefs: ["layout.flex.enabled:true", + "layout.flex-direction.enabled:true"] diff --git a/tests/wpt/mozilla/tests/css/flex_nochild-ref.html b/tests/wpt/mozilla/tests/css/flex_nochild-ref.html new file mode 100644 index 00000000000..590bf19772d --- /dev/null +++ b/tests/wpt/mozilla/tests/css/flex_nochild-ref.html @@ -0,0 +1,23 @@ + + + + flex_nochild + + + +
+
+ + + diff --git a/tests/wpt/mozilla/tests/css/flex_nochild.html b/tests/wpt/mozilla/tests/css/flex_nochild.html new file mode 100644 index 00000000000..7bab5719de5 --- /dev/null +++ b/tests/wpt/mozilla/tests/css/flex_nochild.html @@ -0,0 +1,24 @@ + + + + flex_nochild + + + + +
+
+ +