W3C home > Mailing lists > Public > www-validator@w3.org > February 2011

Re: [VE][html5] Form onsubmit Error: Invalid Return

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Wed, 16 Feb 2011 08:31:32 +0200
Message-ID: <27A5F403CFD64EC483ADA62A86388787@JukanPC>
To: "Steven C. Gallafent" <steve@compguy.com>, <www-validator@w3.org>
Jukka K. Korpela wrote:

> It seems that [in HTML5 mode] the
> validator reports any return statement inside an event attribute as an
> error. Yet another example is that the following document is reported
> to be in error:
>
> <!doctype html>
> <title></title>
> <p onmouseover="return true">foo</p>

The document now passes. I did some other tests too, and apparently the bug 
has now been fixed.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/ 
Received on Wednesday, 16 February 2011 06:42:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:45 GMT