The browser is not the problem because it behaves the same way in all the browsers
HTML5 is not the problem because it's very recent and not even compatible for most browsers

It takes the coordinates and the height/width to determine what to display.

I'm not sure if I was correct about Image Slicing