mirror of
https://github.com/servo/servo.git
synced 2025-08-18 11:55:39 +01:00
Move background_size_shorthand_a.html to wpt reftests.
This commit is contained in:
parent
a0726af56b
commit
ecf6f77ef9
4 changed files with 25 additions and 1 deletions
|
@ -387,6 +387,18 @@
|
|||
"url": "/_mozilla/css/background_size_a.html"
|
||||
}
|
||||
],
|
||||
"css/background_size_shorthand_a.html": [
|
||||
{
|
||||
"path": "css/background_size_shorthand_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/background_size_shorthand_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/background_size_shorthand_a.html"
|
||||
}
|
||||
],
|
||||
"css/class-namespaces.html": [
|
||||
{
|
||||
"path": "css/class-namespaces.html",
|
||||
|
@ -1556,6 +1568,18 @@
|
|||
"url": "/_mozilla/css/background_size_a.html"
|
||||
}
|
||||
],
|
||||
"css/background_size_shorthand_a.html": [
|
||||
{
|
||||
"path": "css/background_size_shorthand_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/background_size_shorthand_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/background_size_shorthand_a.html"
|
||||
}
|
||||
],
|
||||
"css/class-namespaces.html": [
|
||||
{
|
||||
"path": "css/class-namespaces.html",
|
||||
|
|
29
tests/wpt/mozilla/tests/css/background_size_shorthand_a.html
Normal file
29
tests/wpt/mozilla/tests/css/background_size_shorthand_a.html
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel=match href=background_size_shorthand_ref.html>
|
||||
<!-- Tests that the `background-size` shorthand works. -->
|
||||
<style>
|
||||
section {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border: solid black 1px;
|
||||
}
|
||||
#a {
|
||||
background: 10px 10px / 80px 80px url(rust_logo.png) no-repeat;
|
||||
}
|
||||
#b {
|
||||
background: url(rust_logo.png) 10px 10px / 80px 80px no-repeat;
|
||||
}
|
||||
#c {
|
||||
background: no-repeat url(rust_logo.png) 10px 10px / 80px 80px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section id=a> </section>
|
||||
<section id=b> </section>
|
||||
<section id=c> </section>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!-- Tests that the `background-size` shorthand works. -->
|
||||
<style>
|
||||
section {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border: solid black 1px;
|
||||
background-image: url(rust_logo.png);
|
||||
background-position: 10px 10px;
|
||||
background-size: 80px 80px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section> </section>
|
||||
<section> </section>
|
||||
<section> </section>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue