W3C home > Mailing lists > Public > www-svg@w3.org > August 2012

Re: How to parse SVG Fragment Identifiers

From: Daniel Holbert <dholbert@mozilla.com>
Date: Wed, 22 Aug 2012 08:43:30 -0700
Message-ID: <5034FE22.7070600@mozilla.com>
To: www-svg@w3.org
CC: "Dr. Olaf Hoffmann" <Dr.O.Hoffmann@gmx.de>
On 08/22/2012 07:48 AM, Dr. Olaf Hoffmann wrote:
>> Observation 1. If you have an SVG document that already has a viewBox
>> on the outer svg element, you don't seem to be able to use an SVG
>> fragment identifier to remove it altogether.
> 
> Sound like a bug - if you set a new viewBox, it should not matter what
> is in the file, this is the purpose of the feature...

Just to be clear -- what Robert means is that there doesn't seem to be a
way to use svgView() to ask for a view with _no_ viewbox.  Intuitively, it
seems like one should be able to use:
     #svgView(viewBox())
 (intentionally empty^^)
...but the spec doesn't seem to allow for that at the moment.  Or if it
does allow that, it's not particularly obvious.
Received on Wednesday, 22 August 2012 15:44:03 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:52 GMT