| <html lang="en"> | |
| <head> | |
| <script> | |
| if (window.internals) | |
| internals.settings.setSimpleLineLayoutEnabled(false); | |
| </script> | |
| <style type="text/css"> | |
| .p { | |
| border: dotted silver 1px; | |
| font-style:italic; | |
| font-family: Verdana, Arial, Helvetica; | |
| font-size: 10pt; | |
| line-height:-400%; | |
| width:400px; height:200px; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| The textarea below should have standard line-height because textareas should ignore negative line-heights<br/> | |
| <p> TEXTAREA<br/> | |
| <textarea id="myTA" class="p">Demo text here that wraps a bit and should demonstrate the goodness of line-height</textarea> | |
| <br/><br/> | |
| </p> | |
| </body> | |
| </html> |