Layout edge of a div with border are not consistent.

RESOLVED WORKSFORME

Status

()

Core
Layout: Block and Inline
RESOLVED WORKSFORME
17 years ago
6 years ago

People

(Reporter: hyvu, Unassigned)

Tracking

({css1, testcase})

Trunk
All
Other
css1, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [CSS1-5.5.15])

Attachments

(1 attachment)

(Reporter)

Description

17 years ago
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>

Comment 1

17 years ago
Confirming on Win98

Seems to be something with the pt units - if you change the border-width to
1.00px the discrepancy disappears.

Comment 2

17 years ago
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
(Reporter)

Comment 4

17 years ago
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>

Comment 5

17 years ago
Confirming

Updated

17 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true

Updated

17 years ago
Target Milestone: --- → Future
Created attachment 30807 [details]
Test case
Whiteboard: [CSS1-5.5.15]

Updated

13 years ago
Assignee: kmcclusk → general
Keywords: testcase
QA Contact: chrispetersen → ian
(Assignee)

Updated

9 years ago
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
Last Resolved: 6 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.