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

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