background-position maximum and minimum value

Opera 8.02 does have a maximum (2048) and minimum (-2048) values for "background-position" property.

If the given value exceeds this numbers, it will be treated as the corresponding extremum. So the declaration:

background-position: 4000px 10px;

will result the same as

background-position: 2048px 10px;

No straight-forward workaround seems to be possible. Consider not using such a large numbers at all.

Limit for IE6 is 100 millions of pixels, literaly.

Test page Workaround is not included
Reported by: Constantine Vesna.

Opera | Reported on 22 September 2005.

This site heavily relies on bug reports created by its readers. Anyone can report a bug and be published.




Search reports by browser:

Atom RSS

Comments

(Add your own)

1 Posted by Frenzie on 22 September 2005 | Permalink

The bug is not fixed in Opera 8.5.

2 Posted by Jens Finke on 12 June 2006 | Permalink

Still not fixed in 9 Beta 2 (build 8414). Drove me nuts isolating the problem; thanks to the original poster for the heads up.

3 Posted by Constantine Vesna on 3 August 2006 | Permalink

Fixed in Opera 9.01

Post a comment

Commenting guidelines:

  1. When quoting specs, articles or your own research, please include a URL of the document.
  2. Test your stuff. When reporting browser behaviour, make sure that your report is correct.

Yes