On 11/1/06, Fred <[EMAIL PROTECTED]> wrote:

> I didn't say it did - please quote properly.

I am just saying that if one wants to go by the specs (and one
should), it should be done properly. Thous the elements collection. I
had no intention to imply anything else.

> > >  When using forms, both $() and hence $F() have problems if id and name
> > > attributes share the same value.
> >
> > Only in Internet Explorer and only there is more than one element
> > involved in this "sharing", no?
>
> Yes.  "More than one" in that one element has a name that is the same
> as the id of some other element.  "Sharing" implies (rather strongly)
> more than one.

<input name="bar" id="bar"> looks to me like "id and name attributes
share the same value", so I had to ask. English is not my native
language. Cool down, mate.

> According to the W3C specification, the name attribute is *required*
> for map and param elements only.
>   <URL: http://www.w3.org/TR/html4/index/attributes.html>

The DTD seems to disagree. http://www.w3.org/TR/html401/sgml/dtd.html

<!-- attribute name required for all but submit and reset -->
<!ELEMENT INPUT - O EMPTY              -- form control -->

I believe you cannot model the implication of the comment in the DTD,
so they did not make the field #REQUIRED. The attributes page might be
auto-generated from the DTD.

Bye,
  Martin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---

Reply via email to