Closed Bug 646530 Opened 14 years ago Closed 14 years ago

Incorrect rendering of lonely textarea in div

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 157846

People

(Reporter: hackmyaccount, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:2.0) Gecko/20100101 Firefox/4.0 Build Identifier: Could not find it - Firefox 4.0 I'm developing a web page where there is a lonely textarea in a div. The textarea has the "padding" style set. The rendering of it looks incorrect to me : indeed it seems both the textarea text and vertical scrollbar are displayed the correct way, but the textarea control actual size is the div size (textarea dimensions + textarea padding). So that it looks as the actual textarea content is "lost" in a too big area. Reproducible: Always Steps to Reproduce: Nothing specific to do : rendering the page makes the problem occur Actual Results: The rendering of both textarea and div elements are incorrect Expected Results: I expected the textarea area not including the padding Since the Web page I'm working on is not public, I can't include its URI. But here is the code sample I'm using <div id="UIHistory" class="Invisible" style="float: right"> <textarea id="UIH_Data" cols="40" rows="8" readonly="readonly" style="padding: 40px">Test Test TestTesTest Test Test Test Test Test Test Test Test </textarea> </div> I'm working in XHTML 1.1. If the bug cannot be reproduced on your own, I should be able to create a static and public page displaying the problem, and make it available for you to debug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.