Apache::Wyrd::Interfaces::SmartInput - Interface for estimating pixel widths of Input Wyrds
Provides estimated pixel width and height attributes for text and textarea inputs. If an Input type is not explicitly 'text' or 'textarea' (such as a derived type that still uses a text input as it's HTML input), it should set it's _smart_type attribute to specify one or the other of 'text' or 'textarea'.
Provides an estimate at best. Assumes that browser defaults will not rapidly change. Supports only the major mac and windows browsers at the time of writing. Use CSS. It's been around long enough.
Barry King <email@example.com>
General-purpose HTML-embeddable perl object
Copyright 2002-2007 Wyrdwright, Inc. and licensed under the GNU GPL.
See LICENSE under the documentation for