RESOLVED INVALID 18291
vertical dotted line not seen. due to less pixel value of border:left
https://bugs.webkit.org/show_bug.cgi?id=18291
Summary vertical dotted line not seen. due to less pixel value of border:left
jasneet
Reported 2008-04-02 16:22:29 PDT
I Steps: Go to http://recipe.aol.com/recipe/cajun-chicken-pasta/2071 Scroll to the middle of the page. Click on tab "Save to my Cookbook" in the center column II Issue: Vertical dotted line is not seen which divides columns AOL users and New Users. III Conclusion: .atunauthlo{border-left:0.0714em dotted #d8c9bc;} if i change border-left:0.0714em to border-left:0.0914em then dotted line appears. IV Other browsers: IE7: ok FF3: ok Opera9.24: ok V Nightly tested: 31446
Attachments
screenshot (196.94 KB, image/jpeg)
2008-04-02 16:22 PDT, jasneet
no flags
reduction (335 bytes, text/html)
2008-04-02 16:23 PDT, jasneet
no flags
jasneet
Comment 1 2008-04-02 16:22:53 PDT
Created attachment 20302 [details] screenshot
jasneet
Comment 2 2008-04-02 16:23:21 PDT
Created attachment 20303 [details] reduction
Tab Atkins
Comment 3 2011-10-20 04:44:44 PDT
Not a bug. Precise rounding behavior is undefined in CSS. The referenced page no longer has a relevant example, but if we assume that the testcase is exercising the same code, then the "problem" is that, with a font-size of 13px, a border of 0.0714em is rounding to zero. It computes to .93px, which is allowed to be rounded down to 0. (It's clear that the referenced page actually *wanted* a border of 1px, but dogmatically used the em unit out of some misguided attempt to be "scalable". Unfortunately, they set the value to 1/14, which was either a mistake or a leftover from a time when the font-size was 14px.)
Note You need to log in before you can comment on or make changes to this bug.