| <title>This tests that bitmap background images sized and positioned properly on subpixels when background-origin is present.</title> |
| var container = document.getElementById("container"); |
| for (i = 0; i < 10; ++i) { |
| var e = document.createElement("div"); |
| e.style.left = ((50 + w) * i) + "px"; |
| e.style.height = (150 + w) + "px"; |
| container.appendChild(e); |
| for (i = 0; i < 10; ++i) { |
| var e = document.createElement("div"); |
| e.style.left = 25 + ((50 + w ) * i) + "px"; |
| container.appendChild(e); |
| for (i = 0; i < 10; ++i) { |
| var e = document.createElement("div"); |
| e.style.left = 25 + ((50 + w + 0.1) * i) + "px"; |
| container.appendChild(e); |