W3C home > Mailing lists > Public > public-fx@w3.org > April to June 2013

Re: Styling of SVG elements in CSS and SVG specs

From: Dirk Schulze <dschulze@adobe.com>
Date: Fri, 5 Apr 2013 08:15:47 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: "public-fx@w3.org" <public-fx@w3.org>, "www-svg@w3.org list" <www-svg@w3.org>
Message-ID: <4183A2FB-93DB-4460-917C-B7BDBC880717@adobe.com>
I did an experimental change of the element name styling for CSS Masking. See:

https://dvcs.w3.org/hg/FXTF/raw-file/default/masking/index.html#MaskElement

Please comment what you think about the change.

Greetings,
Dirk

On Apr 2, 2013, at 7:16 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> On Tue, Apr 2, 2013 at 7:13 PM, Dirk Schulze <dschulze@adobe.com> wrote:
>> Hi,
>> 
>> During the review of CSS Masking I got the request to better distinguish between CSS properties and SVG elements.
>> 
>> Usually both types have the same characters to identify that a term is a property or element. This does not seem to be very accessible. E.g 'mask' or 'mask' - it is not possible to say if the spec is talking about the property or element without any further clarification. SVG has a different font weight, font size and color for elements to better distinguish between the two types. However, in the absence of CSS styling, this does not really help. The same for screen readers which may not take CSS into account.
>> 
>> fantasia suggest that we specify elements with the tag characters '<' and '>'. Now it is easy and obvious to distinguish between element and property: <mask>, 'mask'.
>> 
>> What do others think?
> 
> +1, that's how everyone in the world talks about elements.
> 
> ~TJ
Received on Friday, 5 April 2013 15:16:20 UTC

This archive was generated by hypermail 2.3.1 : Friday, 5 April 2013 15:16:21 UTC