[whatwg] pattern attribute
jim.ley at gmail.com
Fri Aug 27 13:05:12 PDT 2004
On Mon, 23 Aug 2004 11:07:53 +0100, Super-User <root at www3.itn.co.uk> wrote:
> > Ian Hickson wrote:
> > > No, if the regexp is invalid, it is just ignored.
> > This is both a good thing and a bad thing. Ignoring the regexp makes
> > sense, but also makes debugging complex regexps a nightmare. Maybe
> > WHATWG should provide a reference implementation regexp checker and/or
> > debugger for these purposes?
> > Thoughts?
> I am inclined to agree. I can't see any benefit in silently failing an invalid
It's a guiding principle of the entire WHAT-WG work - graceful
degradation, throwing an error is not graceful degradation.
More information about the whatwg