Closed
Bug 242101
Opened 21 years ago
Closed 21 years ago
textarea contents not drawn in textarea when it is inside a floated div
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 233094
People
(Reporter: aaltepet, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040211 Firefox/0.8
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421
On the page: http://www.bethel.edu/~aaltepet/moz-example1.html, the textarea is
inside a div with style="float: left". This div is inside another div with
style="display: table;margin-left: auto;margin-right: auto". When you type in
the textarea, the contents are drawn on the page where the textarea would be
drawn were it not centered (on the left of screen).
I was trying to have a 2-column variable width (only as much space as it needs)
form + receipt on the right.
Reproducible: Always
Steps to Reproduce:
1. create a blank html file.
2. In the body, add the following code:
<div style="display: table;margin-left: auto;margin-right: auto">
<div style="float: left;padding-right: 20px;padding-left: 10px;">
<textarea name="publisher_format" id="publisher_format"
cols="30" rows="15"></textarea><br />
</div>
</div>
3. View the page, and type something in the textarea
Actual Results:
the contents of the text area were drawn in the upper-left hand of the screen.
Expected Results:
the text should have been drawn inside the textarea.
Comment 1•21 years ago
|
||
WFM: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a) Gecko/20040429
Firefox/0.8.0+
Please retest with a nightly build and a fresh profile.
![]() |
||
Comment 2•21 years ago
|
||
Fixed by patch in bug 233094
*** This bug has been marked as a duplicate of 233094 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•