Bugs must be squashed!

You said so yourself a bug is not to be backwards compatible.

This isn't really a bug but a design oversight, since it was
figured two forms with the same field would never reside on the same
page.

I too have use for multiple same named fields, but since it doesn't
break browsers and the app is internal I have not bothered with w3c
validation.

Then again, I have lots of CSS that is based around the ID field, so
for me it requires making lots of little changes, so I am not
supporting this change lightly, but being a bug and in the spirit of
making web2py force w3c validity as much as possible I support it.

-Thadeus





On Wed, Jan 27, 2010 at 1:45 PM, mdipierro <mdipie...@cs.depaul.edu> wrote:
> I agree it is a bug that ids may not be unique. Yet fixing this will
> break backward compatibility.
> Perhaps we can add the same strings to the class attribute without
> breaking backward compatibility but we should not remove them from id.
> What do people think?
>
> On Jan 27, 1:36 pm, Jeremy Dillworth <jdillwo...@gmail.com> wrote:
>> Thanks. But I wasn't too concerned about ambiguity in the CSS. I was
>> more concerned about there being duplicate IDs in the DOM. The w3c
>> HTML validator flags this kind of thing as a problem. As far as I know
>> it doesn't create a problem in any current browser (other than making
>> document.getElementById useless), but since these IDs are only used
>> for CSS, wouldn't it be safer to move these labels into the class
>> attributes and modify the default stylesheets as needed?
>>
>> Thanks
>>
>> Jeremy
>
> --
> You received this message because you are subscribed to the Google Groups 
> "web2py-users" group.
> To post to this group, send email to web...@googlegroups.com.
> To unsubscribe from this group, send email to 
> web2py+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/web2py?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to