|
|
|
|
|
by josephg
3369 days ago
|
|
The scientific notation one is a bug. Scientific notation isn't part of the CSS spec[1], and its not supported in all browsers. I learned this one the hard way a few months ago. We ran into a flexbox bug in one browser which we worked around by adding some-rule: 0.0000001px instead of 0px. However, our minifier collapsed that using scientific notation, which triggered a rendering issue in a different browser due to the out-of-spec CSS. The whole adventure left me feeling like I'd travelled back in time. [1] https://www.w3.org/TR/CSS21/syndata.html#numbers |
|
https://www.w3.org/TR/css3-values/#numbers
Which browser had problems with it?