Closed
Bug 319183
Opened 19 years ago
Closed 19 years ago
A Div with it's innerHTML being replaced by javascript does not wrap text
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 319181
People
(Reporter: steve, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.12) Gecko/20050919 Firefox/1.0.7 (ax)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.12) Gecko/20050919 Firefox/1.0.7 (ax)
When using javascript to edit the contents of a div (Through it's innerHTML) the resulting text does not wrap. Instead, the text disregards the end of the div and carries on across the page, expanding the page horizontaly.
Reproducible: Always
Steps to Reproduce:
1. Make a script to change the innerHTML of a div so that the contents is longer than the div itself
2.Run it
Actual Results:
the text disregards the end of the div and carries on across the page, expanding the page horizontaly
Expected Results:
the text wraps inside the div as normal text would
Comment 1•19 years ago
|
||
*** This bug has been marked as a duplicate of 319181 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•