W3C home > Mailing lists > Public > public-svg-wg@w3.org > July to September 2012

Re: id's in the SVG2 spec

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 27 Jul 2012 14:34:42 -0700
Message-ID: <CAAWBYDCZwmbSJg7jjyLe5xaqA9YqgR4kxtLsXpLgOhZNNo1PcA@mail.gmail.com>
To: Robin Berjon <robin@berjon.com>
Cc: Erik Dahlstrom <ed@opera.com>, public-svg-wg@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 July 2012 21:35:31 GMT