Closed Bug 71905 Opened 24 years ago Closed 13 years ago

Layout edge of a div with border are not consistent.

Categories

(Core :: Layout: Block and Inline, defect)

All
Other
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: hyvu, Unassigned)

Details

(Keywords: css1, testcase, Whiteboard: [CSS1-5.5.15])

Attachments

(1 file)

The DHTML layouts all edges of a DIV with border are not consistent. Sometimes the right and bottom edges are darker. Sometimes the left and top edges are darker. If the user has many DIVs aligned in row and column, the cells edges are thicker in some places and thinner in some places. <HEAD> </HEAD> <BODY BGCOLOR="#ffffff"> <DIV ID="I368" STYLE="position:absolute; left:26.00pt; top:30.00pt; height:21.00pt; width:201.00pt; background-color:transparent; border-color:#000000; border-style:solid; border-width:1.00pt; font-size:12.00pt; "> </DIV> </BODY>
Confirming on Win98 Seems to be something with the pt units - if you change the border-width to 1.00px the discrepancy disappears.
This bug appears to be very similar to bug 69156
This sounds related to bug 1781. Perhaps we need a way of making sure that every border of a given width (at least when below a certain threshhold) has the same pixel width? Changing to Compositor.
Assignee: karnaze → kmcclusk
Component: Layout → Compositor
Keywords: css1
In some cases, the edge is not drawn at all if it is inside a DIV container. I notice that the pattern is repeated every 9pt. e.g. width= 141pt, 150pt, 159pt for DIV B, the right edge is not drawn. <HEAD></HEAD> <BODY BGCOLOR="#ffffff"> <DIV ID="A" STYLE="position:absolute; left:0.00pt; top:0.00pt; height:600.00pt; width:600.00pt; background-color:transparent; clip:rect(0.00pt 600.00pt 600.00pt 0.00pt); font-size:1.00pt; "> <DIV ID="B" STYLE="position:absolute; left:10.00pt; top:10.00pt; height:9pt; width:159pt; background-color:transparent; border-color:#0000FF; border-style:solid; border-width:0.5pt; font-size:1.00pt; "> </DIV> <DIV ID="C" STYLE="position:absolute; left:10.00pt; top:50.00pt; height:9pt; width:159pt; background-color:transparent; border-color:#0000FF; border-style:solid; border-width:1.0pt; font-size:1.00pt; "> </DIV> </DIV> </DIV> </BODY>
Confirming
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → Future
Attached file Test case
Whiteboard: [CSS1-5.5.15]
Assignee: kmcclusk → general
Keywords: testcase
QA Contact: chrispetersen → ian
Product: Core → Core Graveyard
WFM with Firefox 8. In any case this is a layout issue, not a gfx issue.
Assignee: general → nobody
Status: NEW → RESOLVED
Closed: 13 years ago
Component: GFX → Layout: Block and Inline
Product: Core Graveyard → Core
QA Contact: ian → layout.block-and-inline
Resolution: --- → WORKSFORME
Target Milestone: Future → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: