Quote:
Originally Posted by JSWolf
What happens if this ePub is read initially with an ePub3 reader and the Javascript is executed. Then the ePub is read on an ePub2 reader. How does CSS2 get used since the CSS is now CSS3 from the previous view? Does the Javascript run when either the ePub is closed and/or the program is exited to put the CSS2 back in place?
|
Turtle91 answered you very well; nothing happens! Because the linking of the css3 stylesheet is temporal; once the epub is closed, the linking is broken and again you only have an epub with the css2 sheet "physically" linked. Do the try and you'll see how the things work.