Re: dollar sign in CSS variable

FWIW, I have found that accessing # on the standard British (ie. 
'International') Mac keyboard is complicated too. You have to do Alt+3. 
  And I still haven't figured out how to access it at all when using my 
Windows VM software for DreamWeaver with the UK (Apple) keyboard set 
(though I suppose it's there somewhere).

As for $, since it is widely used in PHP, Perl and regular expressions, 
I think the cat is out of the bag and the horse has bolted the stable. 
If it is necessary to prepend variables with something, then this seems 
a reasonable choice, because it will be familiar.

RI

Richard Ishida
Internationalization Activity Lead
W3C (World Wide Web Consortium)

http://www.w3.org/International/
http://rishida.net/

On 13/02/2011 23:39, Kang-Hao (Kenny) Lu wrote:
> Hello internationalization folks,
>
> There is an ongoing hot discussion[1] about a new proposal for CSS,
> namely introducing variables into the CSS format. The proposal uses the
> dollar prefix, say, $var, to indicate variables. A concern about whether
> the dollar sign is *easily* available on keyboards around the worlds was
> raised[2].
>
> Taking a little look at a Wikipedia entry[3], in several keyboard
> layouts, including the Danish and Estonian, the dollar sign can't be
> reached with only the shift key. As far as I know, Perl and PHP use the
> dollar sign as certain variable indicator, but I googled and find no
> complaints about this. I wondering it is considered OK in the
> perspective of internationalization to introduce the dollar sign to CSS.
>
> I had an uncomfortable experience to find the hash on an Italian
> keyboard (because in the world of Semantic Web/Linked Data, the hash is
> widely used), and the Italian girl told me that it isn't that easy for
> her too. What about the dollar sign?
>
> [1] http://lists.w3.org/Archives/Public/www-style/2011Feb/thread#msg311
> [2] http://krijnhoetmer.nl/irc-logs/css/20110209#l-412
> [3] http://en.wikipedia.org/wiki/Keyboard_layout
>
> Cheers,
> Kenny
>
>
>
>

Received on Monday, 14 February 2011 10:17:23 UTC