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 UTC

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