logo       

Re: SVG12: shorthand presentation attributes: msg#00091

web.svg

Subject: Re: SVG12: shorthand presentation attributes


* Robin Berjon wrote:
>> In http://www.w3.org/TR/2004/WD-SVG12-20041027/ it does not seem to be
>> defined how shorthand properties are to be processed with respect to its
>> longhands when used as presentation attributes. It is thus unclear what
>> e.g.
>>
>> <text font="12px sans-serif" font-family="serif" ...>...</text>
>>
>> might yield in. Please change the specification such that this yields in
>> well-defined behavior, e.g. by adding that shorthand properties are con-
>> ceptually inserted after their longhands into the author style sheet.
>
>None of the shorthand properties are allowed as attributes, they can
>only occur in a style sheet.

http://www.w3.org/TR/2003/REC-SVG11-20030114/styling.html states:

[...]
For each styling property defined in this specification (see Property
Index), there is a corresponding XML attribute (the presentation
attribute) with the same name that is available on all relevant SVG
elements.
[...]

Changing that in SVG 1.2 to what you suggest might be a reasonable
solution though, I am looking forward to an official proposal.
--
Björn Höhrmann · mailto:bjoern@xxxxxxxxxxxx · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise