Closed Bug 29940 Opened 26 years ago Closed 26 years ago

word wrap error with html anchor at end of line

Categories

(Core :: Layout, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 34291

People

(Reporter: vorlon, Assigned: buster)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; N; Linux 2.2.13 i686; en-US) Mozilla/m13 BuildID: 2000022916 There seems to be an error in the way word wrap is handled in a simple html document when an html anchor (<A HREF>) appears at the end of a line. The contents of the anchor tag are *not* wrapped if the text of the anchor does not contain whitespace; instead, this text is appended to the end of the line, causing the horizontal scrollbar to appear. Reproducible: Always Steps to Reproduce: 1. load a simple html document which contains at least one hyperlink. (the simpler the better, apparently.) 2. resize the browser window so that the hyperlink is at the right margin. 3. resize the browser window again so that the hyperlink (but only the hyperlink) should wordwrap to the next line. <BODY><HTML> This is a simple test case which shows the problem with proper word-wrapping. (<A HREF="http://www.stacken.kth.se/projekt/arla/" TARGET="_top">http://www.stacken.kth.se/projekt/arla/</A>) is an example URL, but it seems that any anchor will do. </HTML></BODY>
Line layout issue so reassigning to Buster
Assignee: troy → buster
Status: UNCONFIRMED → NEW
Ever confirmed: true
I guess that the dup really should go the other way around, but there are a lot more comments and testcases in bug 34291 *** This bug has been marked as a duplicate of 34291 ***
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
Verified duplicate.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.