W3C home > Mailing lists > Public > www-smil@w3.org > October to December 2005

accesskey timing specifier syntax

From: Cameron McCormack <cam-www-smil@aka.mcc.id.au>
Date: Sun, 6 Nov 2005 21:14:42 +1100
To: www-smil@w3.org
Message-ID: <20051106101442.GB22747@port.mcc.id.au>


I'd like to get some clarification on the syntax for accesskey timing
specifiers.  SMIL 2.0 says:

  An access key value has the following syntax:

    Accesskey-value  ::= "accesskey(" character ")"
                           ( S? ("+"|"-") S? Clock-value )? 

  The character is a single character from [ISO10646].

How do I specify a "tricky" access key, such as Tab?  With this

  <svg xmlns="http://www.w3.org/2000/svg">
    <rect width="100%" height="100%">
      <set attributeName="fill" to="red" begin="accesskey(&#x9;)"/>

the U+0009 character in the attribute will be normalised to U+0020
before the SVG UA ever gets to see it.

Is there a difference between specifying accesskey(A) and accesskey(a)?
What about accesskey(1) and accesskey(!)?  On my keyboard 1 and ! are
on the same key.

What does it mean to use a character that doesn't correspond to a key,
such as accesskey(&#x2622;)?

Which characters must be escaped?  For example, if I want to use the
minus key, would I have to use accesskey(\-), because of the parsing
rules?  Any other characters?

What about keys that don't corrsepond to a character in Unicode, such
as Home?

Maybe key identifiers like those in DOM 3 Events[1] should be used.



[1] http://www.w3.org/TR/DOM-Level-3-Events/keyset.html

  e-mail : cam (at) mcc.id.au    	icq : 26955922
     web : http://mcc.id.au/	        msn : cam-msn (at) aka.mcc.id.au
  office : +61399055779		     jabber : heycam (at) jabber.org
Received on Sunday, 6 November 2005 11:38:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:25 UTC