#15105 closed defect (invalid)
dijit.form.Textarea min-height style broken in Firefox
Reported by: | Matt Lauer | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | Dijit - Form | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I included a demo page because it will display the problem nicely. Load this page in FF, IE, and Chrome or Safari:
Demo: http://137.22.27.32/dijit-textarea-demo.html
Problem: Firefox does not render the min-height of the textarea. Since there are no conflicting styles or scripts on this page I believe it is not Firefox's fault. This problem also exists in 1.6.1, where the empty/default line height is 1 line, even smaller.
It would be nice to have an empty/new textarea be taller than the 2 lines that Firefox defaults to (one line in dojo 1.6.1). This would make it more obvious to users what the textarea is for (typing a long reply). Chrome, IE7-9, and Safari all render the min-height fine. Firefox does not.
You invalidly specified min-height instead of the correct minHeight since it's part of a JavaScript? object (e.g. node.style.minHeight is correct but node.stylemin-height? is incorrect. Firefox was being more accurate.