📜 ⬆️ ⬇️

Is 32766 enough for you in Opera?

It turns out that Opera does not know how to work with elements larger than 32766.

For reference, 32766 is the largest signed 16-bit number (32767) minus one. I remembered the video memory addressing in the zx-spectrume, these poke and peek ....

Opera stores the values ​​of these values ​​(height, width, etc ...) as 16-bit numbers. And, apparently, values ​​greater than 32767 are treated as negative. And the CSS1 specification says that the values ​​of widths and heights should not be less than 0. By the way, later versions of the specifications do not say anything about this.
')
But be that as it may, the fact that Opera does not support elitements with values ​​greater than 32766px is not good and they should be fixed.

I saw and translated (free translation) from here .
There, by the way, it also says that this limitation in the Opera affects anything Slider .

Source: https://habr.com/ru/post/88826/


All Articles