Closed Bug 176632 Opened 22 years ago Closed 22 years ago

CSS 'border' attribute with fixed border width renders erratically

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 176237

People

(Reporter: ojacobson, Assigned: dbaron)

References

()

Details

Style rule is:

.sidebar {
...
  border: 1px solid black;
...
}

When resizing the browser, borders on one (apparently random) edge of the
affected blocks will intermittently vanish and reappear; careful resizing will
sometimes hide a border completely until browser is resized again.  This is
clearly incorrect, as the border width is specified in screen units.
Owen, what build are you using?  Please always include that in bug reports.

For what it's worth, I cannot reproduce this in Linux build 2002-10-22-04.
Windows "Everything and the kitchen sink" build of Mozilla 1.1
(
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826
).  Want a screenshot?
No, I believe you that you see it... it would be great if you could possibly
test with 1.2b....
What?  Test with a test version?  Why would I do that?

Suitably chagrined,
No need to be chagrined. Just wanting to make sure the bug is still present and
all.  ;)
Yep, still present in 1.2b (Mac OS X), although this is a dupe of a dupe of a
dupe that never got much attention anyway. It's a roundoff error not taking px
sizes for what they are when calculating total width and rounding. I have the
same problem at http://www.student.lu.se/~kin02ndo/, although I "solved" it by
using 2px instead.
I think this is a duplicate of bug 176237, which is not specific to relative
positioning.  I do see the bug on my trunk Linux build from yesterday on the
sidebars on the right side of the page (alternately the right or bottom borders).

It would be helpful if someone could figure out exactly what the two testcases
have in common and how to construct a simplified testcase...

*** This bug has been marked as a duplicate of 176237 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.