scottjehl / Device-Bugs

Just a collection of quirks and issues that occur on browser platforms (particularly those unlikely to update)
864 stars 19 forks source link

Blackberry OS5 doesn’t handle decimal places on units in media queries. #48

Open zachleat opened 10 years ago

zachleat commented 10 years ago

On a 320px device width Blackberry 9330 Curve OS5 device,

Works Doesn’t Work
@media (max-width: 767px) {} @media (max-width: 47.9375em) {}
@media (min-width: 1em) @media (min-width: 1.5em)
@media (min-width: 1.5em), (min-width: 24px)
@media (min-width: 24px), (min-width: 1.5em)
scunliffe commented 10 years ago

BBOS5?... I'm all for backwards compatibility but BBOS7 and maybe BBOS6 is the cutoff for me.

tedtate commented 10 years ago

According to the RIM it should support CSS3 media queries:

http://docs.blackberry.com/en/developers/deliverables/11844/BB_Browser_content_support_by_version_438586_11.jsp

That said, in 2008 I can imagine the media query support in the BBOS browser would be pretty spotty. This was also the last version of the browser before RIM switched over to webkit.

zachleat commented 10 years ago

@scunliffe BBOS5 doesn’t cut the mustard for us, but we still test in it to make sure things are functional.

zachleat commented 10 years ago

Updated with more accurate title.