[whatwg] pattern attribute

On Mon, 23 Aug 2004, Ave Wrigley wrote:
>
> If an invalid regex throws an exception, this should never be seen by an 
> end user, as it should always be picked up by a developer. It is not 
> dissimilar to the behaviour for invalid javascript in <script> tags.

What the spec says for pattern attributes is exactly the same as what the 
spec says for invalid script tags. In both cases, the error is ignored as 
far as rendering goes, and UAs can take it upon themselves to report the 
error if they wish.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Saturday, 28 August 2004 07:35:24 UTC