View Single Post
Old 12-19-2012, 02:45 PM   #14
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
Posts: 309
Karma: 1028382
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by Jellby View Post
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.
The <div> element should have an explicit sizeóheight: 100%; width: 100%; in the CSS. This should result in a <div> that fills the screen.

The SVG scaling rules are then applied within that container, which means that if you tell it to scale proportionally, it should grow to the maximum size that will fit entirely within that div, which is the size of your screen.

If a reader doesn't do that, it's a bug.
dgatwood is offline   Reply With Quote