Closed Bug 740670 Opened 12 years ago Closed 12 years ago

textarea element does not have proper scrollHeight

Categories

(Core :: Layout: Form Controls, defect)

All
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 576976

People

(Reporter: stechz, Unassigned)

Details

Attachments

(1 file)

Attached file Test case
See example. According to MDN, elements' scroll heights should include their padding, but the textarea element does not.

https://developer.mozilla.org/en/DOM/element.scrollHeight

For the test result.
Expected: attachment should report 35 scroll height.
Actual: attachment reports 25.

Chrome does report the expected answer.
Bug 576976 looks related.
Indeed, that seems to be a duplicate of bug 576976.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: