W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2004

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

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 25 Jun 2004 23:57:04 +0000 (UTC)
Message-ID: <Pine.LNX.4.58.0406252355290.14689@dhalsim.dreamhost.com>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:34 UTC