Join us to show up for other Firefox users 🦊. Earn fun badges and Mozilla swag vouchers! Find out more: https://mzl.la/askafox150

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

This thread was closed and archived. Please ask a new question if you need help.

Does firefox have any restriction on height?

I am trying to give height more than 8 digits and and i hover over element using inspect its showing widthx0, upto 8 digit is working fine. Please help me in this issue, or a explanation why its happening like that

I am trying to give height more than 8 digits and and i hover over element using inspect its showing widthx0, upto 8 digit is working fine. Please help me in this issue, or a explanation why its happening like that

All Replies (2)

According to a March 2010 comment on a bug*:

CSS lengths in Gecko are limited to at most (1<<30)-1 app units, with 1<<30 treated as an infinite value. App units are 1/60 of a CSS pixel. Lengths larger than that effectively overflow the integer datatype used to store lengths. ((1<<30)-1)/60 == 17895697 which is the maximum CSS length, in CSS px, that we support, effectively.

So height reverts to auto.

* https://bugzilla.mozilla.org/show_bug.cgi?id=552412#c3

Modified by jscher2000 - Support Volunteer

This question has been locked because the original author has deleted their account. While you can no longer post new replies, the existing content remains available for reference.