W3C home > Mailing lists > Public > www-validator@w3.org > April 2013

Re: HTML5 Conformance Checker: onforminput not allowed where it should be

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Fri, 19 Apr 2013 15:54:16 +0300
Message-ID: <51713E78.6090009@cs.tut.fi>
To: Volker Ladewig <volker.ladewig@acando.de>
CC: "www-validator@w3.org" <www-validator@w3.org>
2013-04-19 12:41, Volker Ladewig wrote:

> On page   http://www.w3.org/wiki/HTML/Elements/output
>
> it is indirectly stated (by the given example) that the onforminput
> event handler is allowed within <output>.

The page is seriously outdated.

> However, trying to use this example the validator returns an error.

The onforminput attribute was dropped from HTML5 drafts in 2011; here's 
a description of what happened:
http://www.useragentman.com/blog/2011/05/10/is-onforminput-deprecated-in-html5-forms-and-why-should-i-care-anyways/

As that page says, the recommended way is to have an oninput attribute 
on a <form> element instead.

Yucca
Received on Friday, 19 April 2013 12:54:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:08 UTC