Re: [css3-images] Image Fragments and SVG URIs

On 07/05/2012 04:07 AM, Dr. Olaf Hoffmann wrote:
> Tab Atkins Jr.:
>> Media Fragments were designed for arbitrary media. It wouldn't make
>> much sense to use something named "svgView()" on a PNG, after all.
>> ^_^  Even if it duplicates existing specced functionality in SVG, it
>> would be nice if MF syntax worked on SVG as well as raster images.
>
> I did no test here, if we assume, that available viewers indicate problems
> with fragment identifiers like id="xywh=" or id="t=..." anyway,
> no author will have used such structures, allowed or not.
> And even if some viewers might accept 'wrong' values for id (I think, some
> do), the probability that someone used such values will be low, is my
> guess. Therefore indeed, it might not cause any/relevant backwards
> incompatibility problems, if such an addition to indicate another view
> of the document in SVG2 is defined respectively referenced.
> Obviously for SVG 1.0, 1.1 and tiny 1.2 this is still wrong and
> authors nevertheless have to use for example
> sprites.svg#svgView(viewBox(40,0,20,20))
> to get the intended effect.

This is a spec for implementers, not a tutorial for authors.
The examples show what is intended to work if the spec were implemented,
which is not necessarily what is implemented and ready for production use.

~fantasai

Received on Thursday, 5 July 2012 16:00:29 UTC