W3C home > Mailing lists > Public > public-svg-wg@w3.org > April to June 2009

Re: Presentation attributes

From: Chris Lilley <chris@w3.org>
Date: Wed, 13 May 2009 00:05:26 +0200
Message-ID: <3710138752.20090513000526@w3.org>
To: Erik Dahlström <ed@opera.com>
CC: "Cameron McCormack" <cam@mcc.id.au>, public-svg-wg@w3.org
On Monday, May 11, 2009, 11:19:39 AM, Erik wrote:

ED> On Mon, 11 May 2009 04:01:40 +0200, Cameron McCormack <cam@mcc.id.au> wrote:

>> Discussing the CSS ‘content’ property recently, and how a corresponding
>> presentation attribute may conflict with the RDFa-ish content=""
>> attribute introduced in SVG Tiny 1.2, made me wonder what our strategy
>> is for presentation attributes.

>> Is it our intention to introduce a presentation attribute for every CSS
>> property that SVG specifications define?

ED> We don't have presentation attributes for CSS shorthand
ED> properties, e.g 'marker' and 'font'.

Right, that was a deliberate decision.

For one thing, attributes are unordered in XML. So if the shorthand and the component properties are both present on the same element, and document order' is undefined for attributes, which wins?

This mainly bites when people try to use 'marker'.





-- 
 Chris Lilley                    mailto:chris@w3.org
 Technical Director, Interaction Domain
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Tuesday, 12 May 2009 22:06:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 12 May 2009 22:06:19 GMT