W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2001

onfocus not recognized (was: Re: Tidy BUG: <input onfocus="" />)

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 08 Feb 2001 14:00:59 +0100
To: "Rick Roth" <therick@therick.net>
Cc: <html-tidy@w3.org>
Message-ID: <uv558tksr4nefpr2f3jhe1ku5rsme4o02j@4ax.com>
* Rick Roth wrote:
>BlankWithin the <input> element, Tidy appears to be erroneously flagging the
>onfocus attribute as an unknown attribute.

E:\>tidy

Tidy (vers 4th August 2000) Parsing console input (stdin)
<input onfocus"x()">
line 1 column 1 - Warning: <input> unknown attribute value "(null)"
line 1 column 1 - Warning: inserting missing 'title' element

The attribute value isn't "(null)".

>  line 34 column 9 - Warning: unknown attribute "onfocus"

That's a reproducable bug, onfocus is defined here:
http://www.w3.org/TR/html4/interact/scripts.html#adef-onfocus
-- 
Björn Höhrmann ^ mailto:bjoern@hoehrmann.de ^ http://www.bjoernsworld.de
am Badedeich 7 ° Telefon: +49(0)4667/981028 ° http://bjoern.hoehrmann.de
25899 Dagebüll # PGP Pub. KeyID: 0xA4357E78 # http://learn.to/quote [!]e
                        ~~ will code for food. ~~                       
Received on Thursday, 8 February 2001 08:00:08 GMT

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