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

On Sat, 26 Jun 2004, Jim Ley 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>';

(Yay for compliant UAs.)


> So, what method do we use?

If IE has JS enabled, then you can just use the IE extensions that
implement Web Forms 2 in IE, instead of treating it like a legacy UA. So
this isn't a problem.

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

Received on Friday, 25 June 2004 16:57:04 UTC