jacshore / epubcheck

Automatically exported from code.google.com/p/epubcheck
MIT License
0 stars 0 forks source link

ontouchstart attribute yields validation error #297

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
PROBLEM:

ontouchstart attribute on element yields validation error.

METHOD:

What steps will reproduce the problem?

<div ontouchstart="alert('touched')"></div>

RESULT:

Validation error.

EXPECTED:

No validation error.

PLATFORM:

W8, 3.1.

ADDITIONAL INFO:

I'm aware of the discussion at http://idpf.org/forum/topic-735. I'm also aware 
of the ability to use addEventListener etc., however, in my particular case, 
for reasons too complex to go into here, I need to place this as an attribute 
in the XHTML. There should be at least an option to suppress this error.

Original issue reported on code.google.com by bobmy...@gmail.com on 17 Aug 2013 at 5:33

GoogleCodeExporter commented 8 years ago
Actually, an option to suppress the error is not good enough, because the book 
will fail Apple validation. The ideal solution would be a flag to indicate that 
touch-related event attributes SHOULD be treated as invalid; the default would 
be that they are not.

Original comment by bobmy...@gmail.com on 17 Aug 2013 at 6:05

GoogleCodeExporter commented 8 years ago
THIS ISSUE MOVED TO GITHUB:
https://github.com/IDPF/epubcheck/issues/

Original comment by rdeltour@gmail.com on 7 Nov 2013 at 10:49