Re: Presentation attributes

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 UTC