
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.
Modified
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.