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

Dean Edwards dean at edwards.name
Fri Jun 25 17:12:36 PDT 2004


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






More information about the whatwg mailing list