On Thursday 10 March 2005 09:07 am, Andras Mantia wrote: > > > But I would consider the alt attribute as a special case. Or am I > > > wrong? > > I don't see it to be special. I think there are other attributes in HTML > and not only which are required, but many do not put there or put with > an empty value as "it is not needed in most cases". I don't think > Quanta should support bad programming habits. ;-) It follows the > following paradigm, which is quite logical IMO: an attribute with an > empty value is just the same as the tag without that attribute. > Exception are those "boolean" attributes. That's what I love about Andras. Before we began working together we discussed our philosophy of approach to design for months and we were not only quite compatible, but he also understood clearly where I would come down on something. In a nutshell, when someone wants to rationalize or justify what amounts to bad practice they set about looking for exceptions for which they can assert invalidate the rules. They never just say they want to use a bad practice. Our policy is that we don't want to prevent any methodology you choose to use in your design. Andras even explained how to do it, while advising against it. We will however go out of our way to design applications to encourage good practices and won't go out of our way to facilitate less than ideal practices. The comment about empty attributes is particularly entertaining as in PHP if (!$alt) echo "there is no value set" would evaluate to true if $alt="". ;-) -- Eric Laffoon - Quanta+ Team Leader http://quanta.sourceforge.net sequitur@kde.org Mailing list - http://mail.kde.org/mailman/listinfo/quanta GPG Fingerprint: 48FB 218D 747F A54A 319D EE98 4A25 794E A453 004B http://quanta.sourceforge.net/developer/keys/Eric_Laffoon_pubkey.asc _______________________________________________ Quanta mailing list Quanta@mail.kde.org https://mail.kde.org/mailman/listinfo/quanta