Re: id's in the SVG2 spec

On Fri, Jul 27, 2012 at 2:24 PM, Robin Berjon <robin@berjon.com> wrote:
> On Jul 27, 2012, at 19:54 , Tab Atkins Jr. wrote:
>> On Fri, Jul 27, 2012 at 6:05 AM, Erik Dahlstrom <ed@opera.com> wrote:
>>> A thing about the SVG2 draft, I'd be happy if we could make it possible to
>>> reference all sections and paragraphs. For example in some elements that
>>> have several paragraphs of requirements most often there's only a single id
>>> on the heading, which isn't good for referencing.
>>>
>>> So, if you're editing and spot places where we could use some more id's
>>> please add them.
>>
>> Couldn't we just put this into the build process and add generated ids
>> to every <p>/etc?
>
> That would be great, but do you have a way of guaranteeing that they remain stable (enough)?

There are methods that would help increase stability.  For example,
generate ids prefixed with the ids of all ancestor sections, so that
fiddling in one part of the document will only affect things in the
given subsection.

~TJ

Received on Friday, 27 July 2012 21:35:30 UTC