| <title>This tests that border images sized and positioned properly on subpixels.</title> |
| border-width:0px 0px 0px 0.5px; |
| -webkit-border-image: -webkit-linear-gradient(black, black) 1 100%; |
| var container = document.getElementById("container"); |
| for (i = 0; i < 15; ++i) { |
| for (j = 0; j < 15; ++j) { |
| var e = document.createElement("div"); |
| e.style.top = ((w + 1) * i) + "px"; |
| e.style.left = ((w + 1) * j) + "px"; |
| e.style.width = w + "px"; |
| e.style.height = h + "px"; |
| e.style.borderLeftWidth = b + "px"; |
| container.appendChild(e); |