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

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