From 1f0b9ab3b7a6f0c8949fa9a78138a72e66393014 Mon Sep 17 00:00:00 2001 From: Alexandrov Sergey Date: Thu, 6 Oct 2016 00:02:46 +0300 Subject: [PATCH] add empty svg element with sizes test --- tests/wpt/mozilla/meta/MANIFEST.json | 24 +++++++++++++++++++ .../wpt/mozilla/meta/mozilla/svg/svg.html.ini | 3 +++ tests/wpt/mozilla/tests/mozilla/svg/svg.html | 15 ++++++++++++ .../mozilla/tests/mozilla/svg/svg_ref.html | 19 +++++++++++++++ 4 files changed, 61 insertions(+) create mode 100644 tests/wpt/mozilla/meta/mozilla/svg/svg.html.ini create mode 100644 tests/wpt/mozilla/tests/mozilla/svg/svg.html create mode 100644 tests/wpt/mozilla/tests/mozilla/svg/svg_ref.html diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json index c6a8ecb43e8..d13dd1cd25c 100644 --- a/tests/wpt/mozilla/meta/MANIFEST.json +++ b/tests/wpt/mozilla/meta/MANIFEST.json @@ -6270,6 +6270,18 @@ "url": "/_mozilla/mozilla/sslfail.html" } ], + "mozilla/svg/svg.html": [ + { + "path": "mozilla/svg/svg.html", + "references": [ + [ + "/_mozilla/mozilla/svg/svg_ref.html", + "==" + ] + ], + "url": "/_mozilla/mozilla/svg/svg.html" + } + ], "mozilla/table_valign_bottom.html": [ { "path": "mozilla/table_valign_bottom.html", @@ -19992,6 +20004,18 @@ "url": "/_mozilla/mozilla/sslfail.html" } ], + "mozilla/svg/svg.html": [ + { + "path": "mozilla/svg/svg.html", + "references": [ + [ + "/_mozilla/mozilla/svg/svg_ref.html", + "==" + ] + ], + "url": "/_mozilla/mozilla/svg/svg.html" + } + ], "mozilla/table_valign_bottom.html": [ { "path": "mozilla/table_valign_bottom.html", diff --git a/tests/wpt/mozilla/meta/mozilla/svg/svg.html.ini b/tests/wpt/mozilla/meta/mozilla/svg/svg.html.ini new file mode 100644 index 00000000000..baf8742fd8f --- /dev/null +++ b/tests/wpt/mozilla/meta/mozilla/svg/svg.html.ini @@ -0,0 +1,3 @@ +[svg.html] + type: reftest + prefs: [dom.svg.enabled:true] diff --git a/tests/wpt/mozilla/tests/mozilla/svg/svg.html b/tests/wpt/mozilla/tests/mozilla/svg/svg.html new file mode 100644 index 00000000000..d32cd8d6d95 --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/svg/svg.html @@ -0,0 +1,15 @@ + + + + SVG embedded inline + + + + top
+ a + + + b
+ bottom + + diff --git a/tests/wpt/mozilla/tests/mozilla/svg/svg_ref.html b/tests/wpt/mozilla/tests/mozilla/svg/svg_ref.html new file mode 100644 index 00000000000..5ea92e454f1 --- /dev/null +++ b/tests/wpt/mozilla/tests/mozilla/svg/svg_ref.html @@ -0,0 +1,19 @@ + + + + SVG embedded inline + + + + top
+ a + + b
+ bottom + +