UNPKG

accessibility-developer-tools

Version:

This is a library of accessibility-related testing and utility code.

46 lines (44 loc) 1.2 kB
<!DOCTYPE html> <html> <!-- Copyright 2010 The Closure Library Authors. All Rights Reserved. Use of this source code is governed by the Apache License, Version 2.0. See the COPYING file for details. --> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta charset="UTF-8" /> <title> Closure Unit Tests - goog.ui.Textarea </title> <script src="../base.js"> </script> <script> goog.require('goog.ui.TextareaTest'); </script> <style> textarea { /* Some of the height tests are based on font size px values. */ font-size: 1em; height: 25px; /* Need to force an initial height < our minHeight. */ width: 150px; padding: 2px; margin: 0; border: 1px solid #000; } .drop-shadowed { filter:progid:DXImageTransform.Microsoft.DropShadow(color='#e7e7e7', offX='5',offY='5'); box-shadow: 5px 5px 0 #e7e7e7; -moz-box-shadow: 5px 5px 0 #e7e7e7; -webkit-box-shadow: 5px 5px 0 #e7e7e7; } </style> </head> <body> <h1>goog.ui.Textarea tests</h1> <p>Here's a textarea defined in markup:</p> <textarea id="demo-textarea">Foo</textarea> <div id="sandbox"></div> </body> </html>