View Single Post
Old 12-15-2012, 08:34 AM   #12
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by DSpider View Post
Doesn't that depend entirely on the e-reader?

Some may interpret them one way, while some may stretch both height and width to 100% resulting in a stretched image to the aspect ratio of the screen.
If they obey the SVG code, they shouldn't alter the image's aspect ratio (as Toxaris said).

What is not clear at all is what "height: 100%" means in the <svg> tag. Try it in a browser, you'll probably see it ignored (i.e. the image doesn't fit the screen's height, or the window's height, or whatever). The CSS spec only says it's relative to the container's height, but there's no container, or rather the container's height is not defined, as it's a <div> inside <body>. It seems Adobe-based readers interpret this relative height with respect to the screen (minus margins, statusbar, etc., maybe), at least in some circumstances, but unfortunately that's not guaranteed.
Jellby is offline   Reply With Quote