Closed Bug 289905 Opened 20 years ago Closed 20 years ago

<hr> tag with color attribute and large size displays as a circle

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 226037

People

(Reporter: inrig, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

Some sites (mis)use the <hr> tag to create a vertical separator line, e.g.

   <hr size="70" width="1">

This works in all the browsers I have tried, including Firefox.  However, if a
"color" attribute is added to the tag, the vertical line becomes a colored
circle instead, e.g.

   <hr color="#006699" size="70" width="1">

displays as a bluish circle with diameter 70.

Reproducible: Always

Steps to Reproduce:
1.Create a minimal HTML page with a body containing only the second <hr> tag
described in "Details" above.
2.Open the page in Firefox.
3.Edit the HTML file, removing the "color" attribute from the tag, then re-open
the file.

Actual Results:  
Step 2: the displayed page shows a large bluish circle.
Step 3: the displayed page shows a narrow gray vertical line.

Expected Results:  
Step 2 should have shown a narrow bluish vertical line; step 3 was correct.

Using default theme.

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