3 <style type="text/css">
4 body { overflow:hidden; }
27 border: 1px dotted green;
28 background-image: url(resources/gradient.gif);
44 background-position: -13px -13px;
49 background-position: 13px 13px;
55 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=5399">http://bugs.webkit.org/show_bug.cgi?id=5399</a>
56 no-repeat on negatively positioned background images are ignored</i>.
58 <p>Element with background image starting at (-13, -13) with no-repeat set:</p>
59 <div class="negative s300" style="background-repeat: no-repeat;"></div>
60 <div class="negative s250" style="background-repeat: no-repeat;"></div>
61 <div class="negative s200" style="background-repeat: no-repeat;"></div>
63 <p>Element with background image starting at (-13, -13) with repeat-y set:</p>
64 <div class="negative s300" style="background-repeat: repeat-y"></div>
65 <div class="negative s250" style="background-repeat: repeat-y"></div>
66 <div class="negative s200" style="background-repeat: repeat-y"></div>
68 <p>Element with background image starting at (-13, -13) with repeat-x set:</p>
69 <div class="negative s300" style="background-repeat: repeat-x"></div>
70 <div class="negative s250" style="background-repeat: repeat-x"></div>
71 <div class="negative s200" style="background-repeat: repeat-x"></div>
73 <p>Element with background image starting at (13, 13) with no-repeat set:</p>
74 <div class="positive s300" style="background-repeat: no-repeat;"></div>
75 <div class="positive s250" style="background-repeat: no-repeat;"></div>
76 <div class="positive s200" style="background-repeat: no-repeat;"></div>
78 <p>Element with background image starting at (13, 13) with repeat-y set:</p>
79 <div class="positive s300" style="background-repeat: repeat-y"></div>
80 <div class="positive s250" style="background-repeat: repeat-y"></div>
81 <div class="positive s200" style="background-repeat: repeat-y"></div>
83 <p>Element with background image starting at (13, 13) with repeat-x set:</p>
84 <div class="positive s300" style="background-repeat: repeat-x"></div>
85 <div class="positive s250" style="background-repeat: repeat-x"></div>
86 <div class="positive s200" style="background-repeat: repeat-x"></div>
88 <p style="position:absolute;height:5000px"></p>
89 <table style="clear:both; transform: translate(650px, -150px) rotate(45deg); -webkit-transform-origin: 100% 0" border=5><tr><td>
90 <div class="negative s300" style="background-repeat: no-repeat;"></div>
91 <div class="negative s250" style="background-repeat: no-repeat;"></div>
92 <div class="negative s200" style="background-repeat: no-repeat;"></div>
94 <p>Element with background image starting at (-13, -13) with repeat-y set:</p>
95 <div class="negative s300" style="background-repeat: repeat-y"></div>
96 <div class="negative s250" style="background-repeat: repeat-y"></div>
97 <div class="negative s200" style="background-repeat: repeat-y"></div>
99 <p>Element with background image starting at (-13, -13) with repeat-x set:</p>
100 <div class="negative s300" style="background-repeat: repeat-x"></div>
101 <div class="negative s250" style="background-repeat: repeat-x"></div>
102 <div class="negative s200" style="background-repeat: repeat-x"></div>
104 <p>Element with background image starting at (13, 13) with no-repeat set:</p>
105 <div class="positive s300" style="background-repeat: no-repeat;"></div>
106 <div class="positive s250" style="background-repeat: no-repeat;"></div>
107 <div class="positive s200" style="background-repeat: no-repeat;"></div>
109 <p>Element with background image starting at (13, 13) with repeat-y set:</p>
110 <div class="positive s300" style="background-repeat: repeat-y"></div>
111 <div class="positive s250" style="background-repeat: repeat-y"></div>
112 <div class="positive s200" style="background-repeat: repeat-y"></div>
114 <p>Element with background image starting at (13, 13) with repeat-x set:</p>
115 <div class="positive s300" style="background-repeat: repeat-x"></div>
116 <div class="positive s250" style="background-repeat: repeat-x"></div>
117 <div class="positive s200" style="background-repeat: repeat-x"></div>