2 <script src=
"resources/text-based-repaint.js" type=
"text/javascript"></script>
6 document
.getElementById('container').style
.width
= '550px';
8 window
.onload
= runRepaintTest
;
17 backface-visibility: hidden;
23 background-image: url(resources/small-apple.jpg);
27 background-image: linear-gradient(blue, green);
31 background-size: cover;
35 background-size: contain;
39 background-size:
30px auto;
43 background-size:
50% auto;
47 background-position: left
10px top
0px;
51 background-position: right
20px top
0px;
55 background-position: center;
59 background-repeat: no-repeat;
63 background-repeat: space;
67 background-repeat: round;
72 <div class=
"test image"></div>
73 <div class=
"test image size-cover"></div>
74 <div class=
"test image size-contain"></div>
75 <div class=
"test image fixed-width"></div>
76 <div class=
"test image percent-width"></div>
77 <div class=
"test image left"></div>
78 <div class=
"test image right"></div>
79 <div class=
"test image center"></div>
80 <div class=
"test image no-repeat"></div>
81 <div class=
"test image repeat-space"></div>
82 <div class=
"test image repeat-round"></div>
83 <div class=
"test generated"></div>
84 <div class=
"test generated cover"></div>
85 <div class=
"test generated contain"></div>
86 <div class=
"test generated fixed-width"></div>
87 <div class=
"test generated percent-width"></div>
88 <div class=
"test generated left"></div>
89 <div class=
"test generated right"></div>
90 <div class=
"test generated center"></div>
91 <div class=
"test generated no-repeat"></div>
92 <div class=
"test generated repeat-space"></div>
93 <div class=
"test generated repeat-round"></div>