Re: How to parse SVG Fragment Identifiers

I was only testing preserveAspectRatio at that point. Batik only
accepts commas for viewBox. Not sure about Opera.

Robert

On 28 August 2012 23:08, Daniel Holbert <dholbert@mozilla.com> wrote:
> On 08/27/2012 04:27 PM, Cameron McCormack wrote:
>>
>> Daniel Holbert:
>>>
>>> But the same logic would apply to viewBox -- you could easily use %20
>>> instead of spaces there, too, but the spec says you have to use commas.
>>>   Should we nix the special-case comma syntax there as well?
>>
>>
>> Hmm.  Have you tested other implementations to see if they accept commas
>> inside viewBox()?
>
>
> I haven't, but Robert Longson has at least somewhat.  He says:
>
>   b) In a triumph of interoperability Batik only accepts commas
>   and Opera only accepts spaces.
>
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=783915#c10
>
> (I believe he was talking about both viewBox and preserveAspectRatio, in
> svgView() -- correct me if I'm wrong, Robert)
>
> ~Daniel

Received on Tuesday, 28 August 2012 22:26:06 UTC