Closed
Bug 253437
Opened 21 years ago
Closed 20 years ago
textarea overlaps existing elements after resizing with JS
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: robzilla, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
1.97 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707
When I resize a textarea which is in a table by clicking on an image in the
adjacent cell, and my resize function changes the "alt" attribute of the image;
the enlarged textarea will overlap any existing elements below it.
This seems to depend on whether I change the rows attribute of the textarea
before or after changing the alt attribute of the image. Attachment to follow.
Note: this may be related to bug 158296, but I'm not sure
Reproducible: Always
Steps to Reproduce:
1. Load the attachment
2 [review]. Click on the image next to "Bad" - the textarea will enlarge, but will
overlap the text input below it. Click again to restore.
3. CLick on the image next to "Good" - everything works fine.
Actual Results:
The difference is in my resize function - if I change the rows attribute of the
textarea before I the "alt" attribute of the image, it breaks. However, if I do
it in the reverse order, it works fine. See the contents of the first if
statement in the "toggleDescSize_bad" and "toggleDescSize_good" functions.
Expected Results:
either case should work.
Reporter | ||
Comment 1•21 years ago
|
||
Rob the rendering is identical for me whether I press the good or bad button.
Could you test it with a recent nightly?
Reporter | ||
Comment 3•20 years ago
|
||
Ok, the problem doesn't appear in Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US; rv:1.8b) Gecko/20050118 Firefox/1.0+
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•