W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

Fwd: Re: Duplicate attribute names

From: Jeff Hennick <JHennick@Mindspring.Com>
Date: Wed, 08 Nov 2000 10:34:57 -0500
Message-Id: <4.3.2.7.0.20001108102750.00af0a80@mail.mindspring.com>
To: html-tidy@w3.org

>On 8 Nov 2000 "Richard A. O'Keefe"  wrote:
>...
>In other cases, it would make sense to keep the copy that browsers use.
>I've just done a test with <p align=X align=Y> for each combination of
>left/center/right, and it appears that
>
>     Netscape uses the first value
>     Amaya uses the second value
>     ICab uses the first value
>     WebTk uses the second value
>     Emacs/W3 uses the second value

Netscape 4.72: uses first
MSIE 5.5: uses first
Opera 4.02 & 3.62: uses first


>Maybe someone else can say what IE5 or Opera or Lynx do.
>
>It's a pity there isn't a common convention, but it is precisely that
>which tells us there is a real problem that Tidy can help with.  Add
>
>     drop-duplicate-attributes: (never|keep-first|keep-last|if-equal)

I like this.



Jeff Hennick
JHennick@Mindspring.Com
Received on Wednesday, 8 November 2000 10:35:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT