mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Rollup merge of #7039 - jdm:squashed-6992, r=jdm
Add a reftest for <body background>. Fixes #6838 Rebased from #6992. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7039) <!-- Reviewable:end -->
This commit is contained in:
commit
2114ffd0b9
4 changed files with 53 additions and 0 deletions
|
@ -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",
|
||||
|
|
17
tests/wpt/mozilla/tests/css/background.html
Normal file
17
tests/wpt/mozilla/tests/css/background.html
Normal 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>
|
||||
|
12
tests/wpt/mozilla/tests/css/background_ref.html
Normal file
12
tests/wpt/mozilla/tests/css/background_ref.html
Normal 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>
|
||||
|
BIN
tests/wpt/mozilla/tests/css/green.png
Normal file
BIN
tests/wpt/mozilla/tests/css/green.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1 KiB |
Loading…
Add table
Add a link
Reference in a new issue