W3C home > Mailing lists > Public > www-style@w3.org > March 2013

Re: "image-resolution: snap" and scaling all lengths in tandem

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 26 Mar 2013 03:32:29 +0100
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style list <www-style@w3.org>, phoenix@google.com
Message-ID: <j602l8laemgrlqfb1csp2tb82cct2kj141@hive.bjoern.hoehrmann.de>
* Tab Atkins Jr. wrote:
>This solved his problem exactly.  However, this means the sizes of the
>images aren't quite predictable, which means that the sizing of
>related parts of the document won't quite match up anymore.  Text that
>was supposed to be the same size as the image now may be slightly
>smaller or larger, which is a problem if you're using it as a
>background-image on a button, for example, or if it's just placed next
>to the image and meant to preserve a certain visual rhythm.

Could you outline example code that would exhibit this problem, while
accounting for the usual problems in this area, like user style sheets
that set a minimum acceptable font size that is larger than the font
size specified in author style sheets, or downloadable fonts being un-
available due to network problems? It seems odd to me that whatever is
used to address those problems would fail when image sizes become un-
predictable in the manner you describe.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Tuesday, 26 March 2013 02:32:59 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:07 GMT