Quote:
Originally Posted by Toxaris
Ehh, what? If you look at the specifications, it is stated that 'Reading Systems must not render the textual content of the script element, and should not execute the script itself.' (emphasis not mine).
So what you state is not correct. The fact that some readers (or rather reading applications) do support it, is because they used a web renderer like webkit instead of developing a ePUB renderer.
|
i've read in an entry by Liza Daly on the
Threepress Blog and in the
epub3 specs that scripting in epub2 was not prohibited because both mention that "EPUB 3 Reading Systems may optionally support scripting, which was explicitly discouraged in EPUB 2" (3.0 specs) and that "The script element is specifically discouraged (though not disallowed) in EPUB 2.0.1" (Liza Daly)
but yes, looking again at the 2.0.1 specs does seem to make it pretty explicit. not sure how the idpf went from "must not" to "explicitly discouraged", though.