[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Support for accessing an <IMG> element inside a form, by name
From:       Martijn Klingens <mklingens () yahoo ! com>
Date:       2001-09-21 21:33:45
[Download RAW message or body]

On Friday 21 September 2001 20:25, David Faure wrote:
> I wondered if this means it's always possible to access a child element
> by name, but no, with e.g. table and td, it doesn't work.
> What's more, it also works if the <img> is further nested inside the <form>
> tag, e.g. <form><table><td><img name="imgchild"></td></table></form>,
> so this isn't about direct children (not surprising for <form> though).

I am not completely sure here, but I thought 'name' was deprecated in favour 
od 'id' and 'id' is allowed everywhere. If that is true, then I'd say that we 
should add this for compatibility reasons to forms and nowhere else. And not 
support it at all if we are in strict parsing mode. But my recollection of 
this is a bit too fuzzy to make exact statements - I don't know it exactly 
myself anymore...

Martijn

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic