summaryrefslogtreecommitdiff
path: root/testsuite/reftests/background-size.css
blob: 5a6d70e24ef70e35008a1a35044d30f6049d9505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
@import "reset-to-defaults.css";

button {
  background-image: url("border-image-balls.png");
  color: black;
  text-shadow: 1px 1px white;
}

#a {
  background-size: cover;
}

#b {
  background-size: contain;
}

#c {
  background-size: auto 100%;
}

#d {
  background-size: 100% auto;
}

#e {
  background-size: 100%;
}

#f {
  background-size: auto 40px;
}

#g {
  background-size: 40px auto;
}

#h {
  background-size: 40px;
}

#i {
  background-size: 40px 100%;
}

#j {
  background-size: 100% 40px;
}

#k {
  background-size: 40px 40px;
}

#l {
  /* Uh, I'm out of ideas... */
  background-size: cover;
}

#reference * {
  background-size: auto;
  background-repeat: round;
}