Closed Bug 36338 Opened 25 years ago Closed 24 years ago

text wrap problem if hr width larger than window

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 35681

People

(Reporter: tpowellmoz, Assigned: buster)

Details

Attachments

(2 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m15) BuildID: 2000041805 If an HR tag includes a width attribute set to larger than the window size, text is sized and wrapped to the width of the horizontal rule instead of to the window size as expected. Reproducible: Always Steps to Reproduce: 1. Create an HTML file that includes the HR tag with the width attribute. For example: <html> <body> <p>This is a really really long line of text to demonstrate that the text is wrapping to the width that the HR tag is setting instead of the width of the window. I don't believe this is proper behavior unless the hr is in a block element. </p> <hr width="740"> </body> </html> 2. Load the file and resize the window to be smaller than the width specified by the HR. Expected Results: Netscape 4.x, IE 4 and IE 5 all wrap the text to the window width, not the width of the HR. They do provide scrollbars for seeing all the HR, but wrap the text to be readable in the window.
*** This bug has been marked as a duplicate of 35681 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Marking verified dup of 35681.
Status: RESOLVED → VERIFIED
Reopening. This still exists. It seems like it could be something strange with HR.
Status: VERIFIED → UNCONFIRMED
Resolution: DUPLICATE → ---
And assigning to buster...
Assignee: troy → buster
Status: UNCONFIRMED → NEW
Ever confirmed: true
Never mind. I'm not paying much attention today. This was duplicate... *** This bug has been marked as a duplicate of 35681 ***
Status: NEW → RESOLVED
Closed: 25 years ago24 years ago
Resolution: --- → DUPLICATE
Setting back to verified, since that's how it was.
Status: RESOLVED → VERIFIED
This bug may be fixed as described (the text doesn't wrap to width of HR), however, the text still doesn't wrap to the size of the window (see attached screenshot). It appears that Mozilla will only allow a minimum page size of 500 pixels or so. Text will wrap to roughly 500 pixels no matter how much smaller you size the window. It's almost as if the size of the menubar is affecting the minimum size of the window.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: