Re: CSS WG comments on SVG 1.2

On 29 Nov 2004, at 21:18, Ian Hickson wrote:

>
> On Mon, 29 Nov 2004, Antoine Quint wrote:
>>>
>>> Several properties in SVG 1.2 (including 'enable-background',
>>> 'overlay', 'cache', 'static', 'snap', 'focusable', 'tooltip') have
>>> names that are likely to clash with future CSS extensions. Since the
>>> SVG-introduced properties apply only to specific SVG cases, whereas 
>>> the
>>> CSS properties are generic, we request that the SVG property names be
>>> made more specific to avoid future clashes.
>>
>> Although you are probably aware, the reason for this type of issue is
>> that CSS doesn't offer any way to "package" property names and ensure
>> avoiding clashes with other vocabularies.
>
> Prefixing every property with "svg-" would do that.

So would prefixing the majority of the CSS properties with "html-".
Half :)

>
>> One way to solve the CSS WG issue is that these new attributes could
>> remain XML attributes and not be made available too via CSS 
>> mechanisms.
>
> Personally, for many of the above properties I think that would be much
> better. For example, the 'focusable' property doesn't seem like 
> something
> you'd want to change from a stylesheet.

Yeah, it seems like something we should consider. We'd still have to 
resolve
how to style such content.

Dean

Received on Monday, 29 November 2004 15:38:58 UTC