Closed
Bug 82768
Opened 23 years ago
Closed 21 years ago
HR with style border: 2px #FFFFFF groove; becomes dots
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
WORKSFORME
mozilla1.1alpha
People
(Reporter: tpowellmoz, Assigned: attinasi)
Details
(Keywords: css1, regression, testcase, Whiteboard: [CSS1-5.5.22])
Attachments
(3 files)
With Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9+) Gecko/20010525, specifying a 2px groove in the style for the HR causes 2 dots to appear at each end of the expected groove and nothing in between. It should draw a groove. This is a regression that occurred sometime right before 0.9. 0.8.1 did not exhibit this problem.
Reporter | ||
Comment 1•23 years ago
|
||
Reporter | ||
Updated•23 years ago
|
Keywords: css2,
regression
Reporter | ||
Comment 2•23 years ago
|
||
This code works with Netscape 4.x, Netscape 6.0, IE4, and IE5.
Reporter | ||
Comment 4•23 years ago
|
||
They certainly look like similar bugs. One difference I see is that bug 81776 is seeing this behavior in table cells. In this one it's caused by a div and styles.
Comment 5•23 years ago
|
||
Seeing this on Mac OS 9.1 / Build 2001053005 as well. Platform / OS -> All?
Reporter | ||
Updated•23 years ago
|
OS: Windows NT → All
Hardware: PC → All
The problem appears to be a failure to draw the top and bottom borders of the HR. The space is provided in the layout in my testcase, but the borders are either not drawn or only drawn one pixel thick. I'm seeing these results in my testcase using 2001070604 Win98: 1. Expected behavior. 2. 2px small dots on left and right edges of HR. 3. HR takes up correct amount of space, but top and bottom borders are not displayed. 4. HR takes up correct amount of space, but top and bottom borders are only 1px thick, instead of the expected 50px.5. Same as #4. 6. HR takes up correct amount of space, but top and borders are not shown, and left and right borders take up too much vertical space, overlapping text.
Updated•23 years ago
|
Target Milestone: --- → mozilla1.0
Assignee | ||
Comment 10•23 years ago
|
||
Our style rule for HR could be changed to force the -moz-bg-inset border. That would mean that we ignore author-defined styling of HR, which is probably better than what we do now! hr { display: block; border: 1px -moz-bg-inset !important; margin: 0 auto 0 auto; } NOTE: HR is a true pain - I recommend that we take this easy approach because HR is like a house of cards...
Status: NEW → ASSIGNED
Updated•23 years ago
|
Whiteboard: [CSS1-5.5.22]
Comment 12•21 years ago
|
||
<hr width="50%" size="2" style="color:orange; border:dotted orange 2px"/> the previous code is not rendered properly under Mozilla 1.4 (appears as two dots in sizes 3 and below). this bug IS fixed in 1.5 beta, BUT a different bug arised. Now sizes of 4 and below look exactly the same.
Comment 13•21 years ago
|
||
This bug got fixed by the hrframe removal.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•