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

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

From: Dean Edwards <dean@edwards.name>
Date: Sat, 26 Jun 2004 01:12:36 +0100
Message-ID: <40DCBF74.2010509@edwards.name>
Jim Ley wrote:
> 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.
> 
IE does indeed return custom attributes through DOM properties (it makes 
no distinction). but this is clearly errant behavior.
as has already been discussed, there will be particular effort catering 
to IE anyway.

this is kind of silly but it makes the point: if i wrote a buggy 
browser, should WF2 try to be compatible with it?
-dean
Received on Friday, 25 June 2004 17:12:36 UTC

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