W3C home > Mailing lists > Public > www-svg@w3.org > January 2014

Re: The (new, enhanced) viewbox property

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 8 Jan 2014 09:38:33 -0800
Message-ID: <CAAWBYDB5iESYX9UgMES53i+1Kq=wGGzNLxh+6Akcvoh_iF2Veg@mail.gmail.com>
To: Paul LeBeau <paul.lebeau@gmail.com>
Cc: www-svg <www-svg@w3.org>
On Tue, Jan 7, 2014 at 7:30 PM, Paul LeBeau <paul.lebeau@gmail.com> wrote:
> Tab wrote:
>>  It's completely allowed by the specs to do so.
>
> That's true, but it no-one does. Because:
>
> a) The SVG spec basically defers to CSS, and CSS strongly encourages you to
> use 96dpi.

Where does it do this?  Note that
<http://dev.w3.org/csswg/css-values/#absolute-lengths> specifically
calls out that you can assign it to anything; it provides as one of
the definitions the "96 dpi reference pixel" thing, but explicitly
calls out physical units.

(You may be remembering the 2.1 definition, which predates the
decisions I'm talking about in this thread.)

> b) It you don't default to 96, many SVG files break.  Including some
> examples in the spec.

Interesting.  Can you point out one of these?

~TJ
Received on Wednesday, 8 January 2014 17:39:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:50 UTC