Add a reftest for <body background>. Fixes #6838

This commit is contained in:
s142857 2015-08-05 17:53:35 +05:30 committed by Josh Matthews
parent cc70e2f91f
commit 29c4643a4a
4 changed files with 53 additions and 0 deletions

View file

@ -63,6 +63,18 @@
"url": "/_mozilla/css/absolute_hypothetical_float.html" "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": [ "css/class-namespaces.html": [
{ {
"path": "css/class-namespaces.html", "path": "css/class-namespaces.html",
@ -806,6 +818,18 @@
"url": "/_mozilla/css/absolute_hypothetical_float.html" "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": [ "css/class-namespaces.html": [
{ {
"path": "css/class-namespaces.html", "path": "css/class-namespaces.html",

View file

@ -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>

View file

@ -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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB