View Single Post
Old 07-23-2014, 11:18 AM   #20
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,550
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by kovidgoyal View Post
Nothing in life (and particularly in ebook rendering) is ever guaranteed. [...] As for compliance, my views on compliance are well known.
Of course, with "guaranteed" I mean "guaranteed in (hypothetical) spec-compliant readers". The point with compliance is that if you make sure the code is compliant and it fails, you can blame the others. In practice it gives little more than personal satisfaction.

Quote:
I know of no reader that supports svg where height:100% does not work provided you use a single html file with only the one svg image in it, as is shown in the demo I linked to.
Not a reader per se, but the HTML-to-PDF renderer Prince does not work nicely with "height: 100%" in any situation I could find.

Anyway, any of the suggested solutions are probably good enough in most situations, I just expect the original poster (and anyone else reading this) to understand why and how it may fail.
Jellby is offline   Reply With Quote