HTML and CSS Reference
If a user agent cannot compile the regular expression, it is ignored and no validation
will happen on that input. If a user agent does not recognize the pattern attribute, it,
too, is ignored.
For a browser reference chart for pattern attribute support, see Table 3-12 .
Table 3-12. Browser support for the pattern attribute
10 Platform Preview 2
For tips on delivering a more consistent cross-browser experience, see
Recipe 3.14 .
As with the required attribute, to keep up with browser support for pattern , check
3.13 Making HTML5 Work in Older Browsers
You want to make HTML5 input types and attributes work in browsers that do not
for specific HTML5 attributes, then develop or use alternate solutions, such as jQuery
implementations of HTML5 and CSS3 features in browsers. Instead of
performing browser detection in order to determine support, Modernizr
performs individual feature detection. Modernizr is a very reliable way
to detect support for HTML5 form features.
jQuery UI is a library of user interface design pattern implementations.
by many of the top sites on the Web, including Google, Amazon,
Twitter, and Microsoft. jQuery makes manipulating the DOM easy, and
jQuery UI gives you easy-to-implement, themeable widgets.