From 29c4643a4ab9d3573ff52952d6d914b3a51e23a4 Mon Sep 17 00:00:00 2001 From: s142857 Date: Wed, 5 Aug 2015 17:53:35 +0530 Subject: [PATCH] Add a reftest for . Fixes #6838 --- tests/wpt/mozilla/meta/MANIFEST.json | 24 ++++++++++++++++++ tests/wpt/mozilla/tests/css/background.html | 17 +++++++++++++ .../wpt/mozilla/tests/css/background_ref.html | 12 +++++++++ tests/wpt/mozilla/tests/css/green.png | Bin 0 -> 1053 bytes 4 files changed, 53 insertions(+) create mode 100644 tests/wpt/mozilla/tests/css/background.html create mode 100644 tests/wpt/mozilla/tests/css/background_ref.html create mode 100644 tests/wpt/mozilla/tests/css/green.png diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json index 8dda0aba215..20cbfefdf8b 100644 --- a/tests/wpt/mozilla/meta/MANIFEST.json +++ b/tests/wpt/mozilla/meta/MANIFEST.json @@ -63,6 +63,18 @@ "url": "/_mozilla/css/absolute_hypothetical_float.html" } ], + "css/background.html": [ + { + "path": "css/background.html", + "references": [ + [ + "/_mozilla/css/background_ref.html", + "==" + ] + ], + "url": "/_mozilla/css/background.html" + } + ], "css/class-namespaces.html": [ { "path": "css/class-namespaces.html", @@ -806,6 +818,18 @@ "url": "/_mozilla/css/absolute_hypothetical_float.html" } ], + "css/background.html": [ + { + "path": "css/background.html", + "references": [ + [ + "/_mozilla/css/background_ref.html", + "==" + ] + ], + "url": "/_mozilla/css/background.html" + } + ], "css/class-namespaces.html": [ { "path": "css/class-namespaces.html", diff --git a/tests/wpt/mozilla/tests/css/background.html b/tests/wpt/mozilla/tests/css/background.html new file mode 100644 index 00000000000..7153c7e192b --- /dev/null +++ b/tests/wpt/mozilla/tests/css/background.html @@ -0,0 +1,17 @@ + + + + +body with background attribute + + + +
Background: test
+ + + diff --git a/tests/wpt/mozilla/tests/css/background_ref.html b/tests/wpt/mozilla/tests/css/background_ref.html new file mode 100644 index 00000000000..765b479cf57 --- /dev/null +++ b/tests/wpt/mozilla/tests/css/background_ref.html @@ -0,0 +1,12 @@ + + + +body with background attribute + + + +
Background: test
+ + + diff --git a/tests/wpt/mozilla/tests/css/green.png b/tests/wpt/mozilla/tests/css/green.png new file mode 100644 index 0000000000000000000000000000000000000000..484469eb140b190b8cf7ed507212c60d5e6e663b GIT binary patch literal 1053 zcmeAS@N?(olHy`uVBq!ia0y~yV4MKL985qF{<{ljGcYhe@pN$vskrs_iXkrp0|(1S z_W$!7S(!bxAGWRbVTjA%WH`)ZpmSgY0}nTl0I`7tn9aitW)mYxv_iaAjGBTy=!a3b s@OU$UlNyCyA~k(tPjzopr00;*iy8r+H literal 0 HcmV?d00001