Permalink
Browse files

[e] (0) RFC2119ify the "assigned access key" section

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11279

git-svn-id: http://svn.whatwg.org/webapps@5818 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 9869b02 commit 8a17c3c4eb92ddf793a357505a68c6bfbe8a81a9 @Hixie Hixie committed Feb 3, 2011
Showing with 29 additions and 15 deletions.
  1. +9 −5 complete.html
  2. +9 −5 index
  3. +11 −5 source
View
14 complete.html
@@ -67195,15 +67195,19 @@ <h4 id=the-accesskey-attribute><span class=secno>8.4.2 </span>The <dfn title=att
<h4 id=processing-model-3><span class=secno>8.4.3 </span>Processing model</h4>
<p>An element's <dfn id=assigned-access-key>assigned access key</dfn> is a key combination
- derived from the element's <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> content attribute as
- follows:</p>
+ derived from the element's <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> content attribute.
+ Initially, an element must not have an <a href=#assigned-access-key>assigned access
+ key</a>.</p>
+
+ <p>Whenever an element's <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> attribute is set, changed,
+ or removed, the user agent must update the element's <a href=#assigned-access-key>assigned
+ access key</a> by running the following steps:</p>
<ol><li><p>If the element has no <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> attribute, then skip to the
<i>fallback</i> step below.</li>
- <li><p>Otherwise, the user agent must <a href=#split-a-string-on-spaces title="split a string
- on spaces">split the attribute's value on spaces</a>, and let
- <var title="">keys</var> be the resulting tokens.</li>
+ <li><p>Otherwise, <a href=#split-a-string-on-spaces title="split a string on spaces">split the
+ attribute's value on spaces</a>, and let <var title="">keys</var> be the resulting tokens.</li>
<li>
View
14 index
@@ -67203,15 +67203,19 @@ interface <dfn id=navigatorabilities>NavigatorAbilities</dfn> {
<h4 id=processing-model-3><span class=secno>8.4.3 </span>Processing model</h4>
<p>An element's <dfn id=assigned-access-key>assigned access key</dfn> is a key combination
- derived from the element's <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> content attribute as
- follows:</p>
+ derived from the element's <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> content attribute.
+ Initially, an element must not have an <a href=#assigned-access-key>assigned access
+ key</a>.</p>
+
+ <p>Whenever an element's <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> attribute is set, changed,
+ or removed, the user agent must update the element's <a href=#assigned-access-key>assigned
+ access key</a> by running the following steps:</p>
<ol><li><p>If the element has no <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> attribute, then skip to the
<i>fallback</i> step below.</li>
- <li><p>Otherwise, the user agent must <a href=#split-a-string-on-spaces title="split a string
- on spaces">split the attribute's value on spaces</a>, and let
- <var title="">keys</var> be the resulting tokens.</li>
+ <li><p>Otherwise, <a href=#split-a-string-on-spaces title="split a string on spaces">split the
+ attribute's value on spaces</a>, and let <var title="">keys</var> be the resulting tokens.</li>
<li>
View
16 source
@@ -76502,18 +76502,24 @@ interface <dfn>NavigatorAbilities</dfn> {
<p>An element's <dfn>assigned access key</dfn> is a key combination
derived from the element's <code
- title="attr-accesskey">accesskey</code> content attribute as
- follows:</p>
+ title="attr-accesskey">accesskey</code> content attribute.
+ Initially, an element must not have an <span>assigned access
+ key</span>.</p>
+
+ <p>Whenever an element's <code
+ title="attr-accesskey">accesskey</code> attribute is set, changed,
+ or removed, the user agent must update the element's <span>assigned
+ access key</span> by running the following steps:</p>
<ol>
<li><p>If the element has no <code
title="attr-accesskey">accesskey</code> attribute, then skip to the
<i>fallback</i> step below.</p></li>
- <li><p>Otherwise, the user agent must <span title="split a string
- on spaces">split the attribute's value on spaces</span>, and let
- <var title="">keys</var> be the resulting tokens.</p></li>
+ <li><p>Otherwise, <span title="split a string on spaces">split the
+ attribute's value on spaces</span>, and let <var
+ title="">keys</var> be the resulting tokens.</p></li>
<li>

0 comments on commit 8a17c3c

Please sign in to comment.