Last Comment Bug 71905 - Layout edge of a div with border are not consistent.
: Layout edge of a div with border are not consistent.
Status: RESOLVED WORKSFORME
[CSS1-5.5.15]
: css1, testcase
Product: Core
Classification: Components
Component: Layout: Block and Inline (show other bugs)
: Trunk
: All Other
: -- normal with 2 votes (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2001-03-13 19:05 PST by hyvu
Modified: 2011-11-16 08:39 PST (History)
4 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Test case (715 bytes, text/html)
2001-04-13 13:31 PDT, Kevin McCluskey (gone)
no flags Details

Description hyvu 2001-03-13 19:05:46 PST
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 Jason Johnston 2001-03-13 19:50:35 PST
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 Jason Johnston 2001-03-14 08:56:03 PST
This bug appears to be very similar to bug 69156
Comment 3 David Baron :dbaron: ⌚️UTC+1 (mostly busy through August 4; review requests must explain patch) 2001-03-17 16:00:52 PST
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.
Comment 4 hyvu 2001-03-19 14:27:21 PST
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 Chris Petersen 2001-03-20 14:44:50 PST
Confirming
Comment 6 Kevin McCluskey (gone) 2001-04-13 13:31:39 PDT
Created attachment 30807 [details]
Test case
Comment 7 Zack Weinberg (:zwol) 2011-11-16 08:39:06 PST
WFM with Firefox 8.  In any case this is a layout issue, not a gfx issue.

Note You need to log in before you can comment on or make changes to this bug.