Transition from Legacy to Native rendering - (was Re: [whatwg] repetition model)

Jim Ley jim.ley at gmail.com
Fri Jun 25 16:26:54 PDT 2004


On Fri, 25 Jun 2004 23:08:47 +0000 (UTC), Ian Hickson <ian at hixie.ch> wrote:
> > Do you mean
> >
> > <input id=chicken pattern=A type=text>
> >
> > and
> >
> > document.getElementById('chicken').pattern
> 
> Yes. The latter will only be present if the former is supported.

Right, maybe you should've tested this, since IE6 already returns the
above, example:

javascript:'<body%20onload="alert(document.body.firstChild.pattern)"><input%20id=chicken%20pattern=A></body>';

So, what method do we use?

Jim.



More information about the whatwg mailing list