View Single Post
Old 02-13-2013, 09:41 AM   #14
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
Quote:
Originally Posted by Toxaris View Post
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.

Last edited by mzmm; 02-13-2013 at 12:56 PM.
mzmm is offline   Reply With Quote