Re: transform as a presentation attribute

Juergen Roethig: 

>Shouldn't the precedence rule mentioned in CSS be changed, so that (real 
>and modern) presentation attributes (that refers to _all_ presentation 
>attributes in SVG, at least) should be treated in the same way as a CSS 
>rule added via style attribute to the object tag? "Real and modern" in 
>the sense that <body bgcolor=black> (does anybody remember such ugly 
>constructs from more than 15 years ago?) will not be affected, as we 
>should not break existing content ... ;-)
>
>Once again, any opinions?

No, effectively this means, one cannot add alternative presentations of the 
content with CSS anymore.
Typically for SVG files one has to use lots of presentation attributes
to get a meaningful visual presentation, that transports the information of 
the content, (to check this, you an remove all style, properties and
presentation attributes from a typical, non trivial file and you will see, 
that the visual presentation changes dramatically to something where you 
cannot identify the information of the original file anymore - often you will 
see only some black 'blob' without any meaning).
If one uses the style attribute or your suggestion, the specifity is so high,
that effectively information within external CSS files is useless, this means,
no chance to provide alternative presentations of the content with CSS.
Ok, one can argue, that most authors will provide anyway only one visual
presentation and use no external style sheets and no alternative presentations
anyway (different from (X)HTML with alternative presentations provided by CSS 
or javascript). Effectively those authors need no properties, style 
attribute, style element, external style sheets at all, they can completely 
forget about CSS - it is useless for them, in the worst case 
counterproductive.
But still there are a few authors (like me), using CSS for SVG and alternative
views to the content. CSS for SVG is of some use for a minority of authors and 
minor parts of the audience ...

Additionally such a change can have bad implications for animation.
Effectively a higher priority can implicate, that the presentation attribute
covers its own animation, resulting in no visual animation effect, as one
gets, if one applies a style sheet to an animated presentation attribute 
(pronounciation is here, that the attribute is animated, not the property).

Olaf

Received on Tuesday, 24 June 2014 10:32:04 UTC