diff options
-rw-r--r-- | tests/wpt/mozilla/meta/MANIFEST.json | 24 | ||||
-rw-r--r-- | tests/wpt/mozilla/tests/css/background.html | 17 | ||||
-rw-r--r-- | tests/wpt/mozilla/tests/css/background_ref.html | 12 | ||||
-rw-r--r-- | tests/wpt/mozilla/tests/css/green.png | bin | 0 -> 1053 bytes |
4 files changed, 53 insertions, 0 deletions
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 @@ +<!DOCTYPE html> +<html> +<head> +<link rel=match href="background_ref.html"> +<title>body with background attribute</title> +<style> +body { + background-image: url("green.png"); +} + +</style> +</head> +<body> +<div>Background: test</div> +</body> +</html> + 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 @@ +<!DOCTYPE html> +<html> +<head> +<title>body with background attribute</title> +<style> +</style> +</head> +<body background="green.png"> +<div>Background: test</div> +</body> +</html> + diff --git a/tests/wpt/mozilla/tests/css/green.png b/tests/wpt/mozilla/tests/css/green.png Binary files differnew file mode 100644 index 00000000000..484469eb140 --- /dev/null +++ b/tests/wpt/mozilla/tests/css/green.png |