| 1 |
<!-- |
| 2 |
Copyright 2017 The Closure Library Authors. All Rights Reserved. |
| 3 |
|
| 4 |
Use of this source code is governed by the Apache License, Version 2.0. |
| 5 |
See the COPYING file for details. |
| 6 |
--> |
| 7 |
<style> |
| 8 |
textarea { |
| 9 |
/* Some of the height tests are based on font size px values. */ |
| 10 |
font-size: 1em; |
| 11 |
height: 25px; /* Need to force an initial height < our minHeight. */ |
| 12 |
width: 150px; |
| 13 |
padding: 2px; |
| 14 |
margin: 0; |
| 15 |
border: 1px solid #000; |
| 16 |
} |
| 17 |
.drop-shadowed { |
| 18 |
filter:progid:DXImageTransform.Microsoft.DropShadow(color='#e7e7e7', |
| 19 |
offX='5',offY='5'); |
| 20 |
box-shadow: 5px 5px 0 #e7e7e7; |
| 21 |
-moz-box-shadow: 5px 5px 0 #e7e7e7; |
| 22 |
-webkit-box-shadow: 5px 5px 0 #e7e7e7; |
| 23 |
} |
| 24 |
</style> |
| 25 |
<h1> |
| 26 |
goog.ui.Textarea tests |
| 27 |
</h1> |
| 28 |
<p> |
| 29 |
Here's a textarea defined in markup: |
| 30 |
</p> |
| 31 |
<textarea id="demo-textarea">Foo</textarea> |
| 32 |
<div id="sandbox"> |
| 33 |
</div> |