tests: Add parsing test for background-size

This commit is contained in:
Benjamin Otte 2012-01-17 15:15:34 +01:00
parent 1979d048d3
commit 82b739c490
3 changed files with 104 additions and 0 deletions

View File

@ -153,6 +153,8 @@ EXTRA_DIST += \
background-repeat.ref.css \
background-shorthand.css \
background-shorthand.ref.css \
background-size.css \
background-size.ref.css \
boolean.css \
boolean.errors \
boolean.ref.css \

View File

@ -0,0 +1,51 @@
a {
background-size: cover;
}
b {
background-size: contain;
}
c {
background-size: auto;
}
d {
background-size: auto auto;
}
e {
background-size: auto 100%;
}
f {
background-size: 100% auto;
}
g {
background-size: 100%;
}
h {
background-size: auto 10px;
}
i {
background-size: 10px auto;
}
j {
background-size: 10px;
}
k {
background-size: 10px 100%;
}
l {
background-size: 100% 10px;
}
m {
background-size: 10px 10px;
}

View File

@ -0,0 +1,51 @@
a {
background-size: cover;
}
b {
background-size: contain;
}
c {
background-size: auto;
}
d {
background-size: auto;
}
e {
background-size: auto 100%;
}
f {
background-size: 100%;
}
g {
background-size: 100%;
}
h {
background-size: auto 10px;
}
i {
background-size: 10px;
}
j {
background-size: 10px;
}
k {
background-size: 10px 100%;
}
l {
background-size: 100% 10px;
}
m {
background-size: 10px 10px;
}