use local name for attributeName https://www.w3.org/Bugs/Public/show_bug.cgi?id=16563
authorAnne van Kesteren <annevk@opera.com>
Mon, 23 Apr 2012 09:46:18 +0200
changeset 10298ec7c5b30498
parent 1028 86853b24f89a
child 1030 108ddf1d9234
use local name for attributeName https://www.w3.org/Bugs/Public/show_bug.cgi?id=16563
Overview.html
Overview.src.html
dom-core.html
     1.1 --- a/Overview.html	Fri Apr 20 00:19:35 2012 +0200
     1.2 +++ b/Overview.html	Mon Apr 23 09:46:18 2012 +0200
     1.3 @@ -52,8 +52,8 @@
     1.4  <!--end-logo-->
     1.5  </div>
     1.6   <h1>DOM4</h1>
     1.7 - <h2 class="no-num no-toc" id="editor's-draft-19-april-2012">
     1.8 -  <span class="w3conly">Editor's Draft 19 April 2012</span>
     1.9 + <h2 class="no-num no-toc" id="editor's-draft-23-april-2012">
    1.10 +  <span class="w3conly">Editor's Draft 23 April 2012</span>
    1.11    </h2>
    1.12  
    1.13   <dl>
    1.14 @@ -87,7 +87,7 @@
    1.15  <p class="dontpublish copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/80x15.png"></a>
    1.16  To the extent possible under law, the editors have waived all copyright and
    1.17  related or neighboring rights to this work. In addition, as of
    1.18 -19 April 2012, the editors have made this specification available
    1.19 +23 April 2012, the editors have made this specification available
    1.20  under the
    1.21  <a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
    1.22  which is available at
    1.23 @@ -2242,9 +2242,9 @@
    1.24     terminate these substeps (and run them for the next <a href="#registered-observer">registered observer</a>).
    1.25  
    1.26     <li><p>If <var title="">options</var>'s
    1.27 -   <code title="dom-MutationObserverInit-attributeFilter">attributeFilter</code> is non-empty,
    1.28 -   and <var title="">name</var> is not in it, terminate these substeps
    1.29 -   (and run them for the <a href="#registered-observer">registered observer</a>).
    1.30 +   <code title="dom-MutationObserverInit-attributeFilter">attributeFilter</code>
    1.31 +   is non-empty, and <var title="">name</var> is not in it, terminate these
    1.32 +   substeps (and run them for the <a href="#registered-observer">registered observer</a>).
    1.33  
    1.34     <li><p>If <var title="">options</var>'s
    1.35     <code title="dom-MutationObserverInit-attributeOldValue">attributeOldValue</code> is true,
    1.36 @@ -2266,8 +2266,10 @@
    1.37  
    1.38     <li><p>If <var title="">options</var>'s <code title="dom-MutationObserverInit-attributes">attributes</code> is not true, terminate these substeps (and run them for the next <a href="#registered-observer">registered observer</a>).
    1.39  
    1.40 -   <li><p>If <var title="">options</var>'s <code title="dom-MutationObserverInit-attributeFilter">attributeFilter</code> is non-empty, and <var title="">name</var> is not in it, terminate these substeps
    1.41 -   (and run them for the next <a href="#registered-observer">registered observer</a>).
    1.42 +   <li><p>If <var title="">options</var>'s
    1.43 +   <code title="dom-MutationObserverInit-attributeFilter">attributeFilter</code>
    1.44 +   is non-empty, and <var title="">name</var> is not in it, terminate these
    1.45 +   substeps (and run them for the next <a href="#registered-observer">registered observer</a>).
    1.46  
    1.47     <li><p>If <var title="">options</var>'s <code title="dom-MutationObserverInit-attributeOldValue">attributeOldValue</code> is true,
    1.48     append <var title="">recordWithOldValue</var> to <var title="">observer</var>'s
    1.49 @@ -2424,7 +2426,7 @@
    1.50  
    1.51     <dt><code title="dom-MutationObserverInit-attributeFilter">attributeFilter</code>
    1.52     <dd><p>Set to a list of <a href="#concept-attribute" title="concept-attribute">attribute</a>
    1.53 -   <a href="#concept-attribute-name" title="concept-attribute-name">names</a> if not all
    1.54 +   <a href="#concept-attribute-local-name" title="concept-attribute-local-name">local names</a> if not all
    1.55     <a href="#concept-attribute" title="concept-attribute">attribute</a> mutations need to be
    1.56     observed.
    1.57    </dl>
    1.58 @@ -2554,7 +2556,8 @@
    1.59   otherwise.
    1.60  
    1.61   <dt><code><var title="">record</var> . <a href="#dom-mutationrecord-attributename" title="dom-MutationRecord-attributeName">attributeName</a></code>
    1.62 - <dd><p>Returns the <a href="#concept-attribute-name" title="concept-attribute-name">name</a> of the
    1.63 + <dd><p>Returns the
    1.64 + <a href="#concept-attribute-local-name" title="concept-attribute-local-name">local name</a> of the
    1.65   changed <a href="#concept-attribute" title="concept-attribute">attribute</a>, or null otherwise.
    1.66  
    1.67   <dt><code><var title="">record</var> . <a href="#dom-mutationrecord-attributenamespace" title="dom-MutationRecord-attributeNamespace">attributeNamespace</a></code>
    1.68 @@ -4963,7 +4966,7 @@
    1.69  
    1.70   <li><p><a href="#concept-mo-queue-attributes" title="concept-MO-queue-attributes">Queue an "<code>attributes</code>" record</a>
    1.71   with target <a href="#context-object">context object</a>, name <var title="">attribute</var>'s
    1.72 - <a href="#concept-attribute-name" title="concept-attribute-name">name</a>, namespace
    1.73 + <a href="#concept-attribute-local-name" title="concept-attribute-local-name">local name</a>, namespace
    1.74   <var title="">attribute</var>'s
    1.75   <a href="#concept-attribute-namespace" title="concept-attribute-namespace">namespace</a>,
    1.76   and oldValue <var title="">attribute</var>'s
    1.77 @@ -5042,7 +5045,7 @@
    1.78  
    1.79   <li><p><a href="#concept-mo-queue-attributes" title="concept-MO-queue-attributes">Queue an "<code>attributes</code>" record</a>
    1.80   with target <a href="#context-object">context object</a>, name
    1.81 - <var title="">name</var>, namespace <var title="">namespace</var>, and
    1.82 + <var title="">localName</var>, namespace <var title="">namespace</var>, and
    1.83   oldValue <var title="">attribute</var>'s
    1.84   <a href="#concept-attribute-value" title="concept-attribute-value">value</a>.
    1.85  
    1.86 @@ -5271,7 +5274,7 @@
    1.87  <ol>
    1.88   <li><p><a href="#concept-mo-queue-attributes" title="concept-MO-queue-attributes">Queue an "<code>attributes</code>" record</a>
    1.89   with target <var title="">element</var>, name <var title="">attribute</var>'s
    1.90 - <a href="#concept-attribute-name" title="concept-attribute-name">name</a>, namespace
    1.91 + <a href="#concept-attribute-local-name" title="concept-attribute-local-name">local name</a>, namespace
    1.92   <var title="">attribute</var>'s
    1.93   <a href="#concept-attribute-namespace" title="concept-attribute-namespace">namespace</a>, and oldValue
    1.94   null.
    1.95 @@ -5288,7 +5291,7 @@
    1.96  <ol>
    1.97   <li><p><a href="#concept-mo-queue-attributes" title="concept-MO-queue-attributes">Queue an "<code>attributes</code>" record</a>
    1.98   with target <var title="">element</var>, name <var title="">attribute</var>'s
    1.99 - <a href="#concept-attribute-name" title="concept-attribute-name">name</a>, namespace
   1.100 + <a href="#concept-attribute-local-name" title="concept-attribute-local-name">local name</a>, namespace
   1.101   <var title="">attribute</var>'s
   1.102   <a href="#concept-attribute-namespace" title="concept-attribute-namespace">namespace</a>, and oldValue
   1.103   <var title="">attribute</var>'s
     2.1 --- a/Overview.src.html	Fri Apr 20 00:19:35 2012 +0200
     2.2 +++ b/Overview.src.html	Mon Apr 23 09:46:18 2012 +0200
     2.3 @@ -2236,9 +2236,9 @@
     2.4     terminate these substeps (and run them for the next <span>registered observer</span>).
     2.5  
     2.6     <li><p>If <var title>options</var>'s
     2.7 -   <code title=dom-MutationObserverInit-attributeFilter>attributeFilter</code> is non-empty,
     2.8 -   and <var title>name</var> is not in it, terminate these substeps
     2.9 -   (and run them for the <span>registered observer</span>).
    2.10 +   <code title=dom-MutationObserverInit-attributeFilter>attributeFilter</code>
    2.11 +   is non-empty, and <var title>name</var> is not in it, terminate these
    2.12 +   substeps (and run them for the <span>registered observer</span>).
    2.13  
    2.14     <li><p>If <var title>options</var>'s
    2.15     <code title=dom-MutationObserverInit-attributeOldValue>attributeOldValue</code> is true,
    2.16 @@ -2260,8 +2260,10 @@
    2.17  
    2.18     <li><p>If <var title>options</var>'s <code title=dom-MutationObserverInit-attributes>attributes</code> is not true, terminate these substeps (and run them for the next <span>registered observer</span>).
    2.19  
    2.20 -   <li><p>If <var title>options</var>'s <code title=dom-MutationObserverInit-attributeFilter>attributeFilter</code> is non-empty, and <var title>name</var> is not in it, terminate these substeps
    2.21 -   (and run them for the next <span>registered observer</span>).
    2.22 +   <li><p>If <var title>options</var>'s
    2.23 +   <code title=dom-MutationObserverInit-attributeFilter>attributeFilter</code>
    2.24 +   is non-empty, and <var title>name</var> is not in it, terminate these
    2.25 +   substeps (and run them for the next <span>registered observer</span>).
    2.26  
    2.27     <li><p>If <var title>options</var>'s <code title=dom-MutationObserverInit-attributeOldValue>attributeOldValue</code> is true,
    2.28     append <var title>recordWithOldValue</var> to <var title>observer</var>'s
    2.29 @@ -2418,7 +2420,7 @@
    2.30  
    2.31     <dt><code title=dom-MutationObserverInit-attributeFilter>attributeFilter</code>
    2.32     <dd><p>Set to a list of <span title=concept-attribute>attribute</span>
    2.33 -   <span title=concept-attribute-name>names</span> if not all
    2.34 +   <span title=concept-attribute-local-name>local names</span> if not all
    2.35     <span title=concept-attribute>attribute</span> mutations need to be
    2.36     observed.
    2.37    </dl>
    2.38 @@ -2548,7 +2550,8 @@
    2.39   otherwise.
    2.40  
    2.41   <dt><code><var title>record</var> . <span title=dom-MutationRecord-attributeName>attributeName</span></code>
    2.42 - <dd><p>Returns the <span title=concept-attribute-name>name</span> of the
    2.43 + <dd><p>Returns the
    2.44 + <span title=concept-attribute-local-name>local name</span> of the
    2.45   changed <span title=concept-attribute>attribute</span>, or null otherwise.
    2.46  
    2.47   <dt><code><var title>record</var> . <span title=dom-MutationRecord-attributeNamespace>attributeNamespace</span></code>
    2.48 @@ -4970,7 +4973,7 @@
    2.49  
    2.50   <li><p><span title=concept-MO-queue-attributes>Queue an "<code>attributes</code>" record</span>
    2.51   with target <span>context object</span>, name <var title>attribute</var>'s
    2.52 - <span title=concept-attribute-name>name</span>, namespace
    2.53 + <span title=concept-attribute-local-name>local name</span>, namespace
    2.54   <var title>attribute</var>'s
    2.55   <span title=concept-attribute-namespace>namespace</span>,
    2.56   and oldValue <var title>attribute</var>'s
    2.57 @@ -5049,7 +5052,7 @@
    2.58  
    2.59   <li><p><span title=concept-MO-queue-attributes>Queue an "<code>attributes</code>" record</span>
    2.60   with target <span>context object</span>, name
    2.61 - <var title>name</var>, namespace <var title>namespace</var>, and
    2.62 + <var title>localName</var>, namespace <var title>namespace</var>, and
    2.63   oldValue <var title>attribute</var>'s
    2.64   <span title=concept-attribute-value>value</span>.
    2.65  
    2.66 @@ -5280,7 +5283,7 @@
    2.67  <ol>
    2.68   <li><p><span title=concept-MO-queue-attributes>Queue an "<code>attributes</code>" record</span>
    2.69   with target <var title>element</var>, name <var title>attribute</var>'s
    2.70 - <span title=concept-attribute-name>name</span>, namespace
    2.71 + <span title=concept-attribute-local-name>local name</span>, namespace
    2.72   <var title>attribute</var>'s
    2.73   <span title=concept-attribute-namespace>namespace</span>, and oldValue
    2.74   null.
    2.75 @@ -5297,7 +5300,7 @@
    2.76  <ol>
    2.77   <li><p><span title=concept-MO-queue-attributes>Queue an "<code>attributes</code>" record</span>
    2.78   with target <var title>element</var>, name <var title>attribute</var>'s
    2.79 - <span title=concept-attribute-name>name</span>, namespace
    2.80 + <span title=concept-attribute-local-name>local name</span>, namespace
    2.81   <var title>attribute</var>'s
    2.82   <span title=concept-attribute-namespace>namespace</span>, and oldValue
    2.83   <var title>attribute</var>'s
     3.1 --- a/dom-core.html	Fri Apr 20 00:19:35 2012 +0200
     3.2 +++ b/dom-core.html	Mon Apr 23 09:46:18 2012 +0200
     3.3 @@ -13,8 +13,8 @@
     3.4  
     3.5  <div class="head">
     3.6  <h1>DOM4</h1>
     3.7 - <h2 class="no-num no-toc" id="free-editor's-draft-19-april-2012">
     3.8 -  <span class="now3c">Free Editor's Draft 19 April 2012</span>
     3.9 + <h2 class="no-num no-toc" id="free-editor's-draft-23-april-2012">
    3.10 +  <span class="now3c">Free Editor's Draft 23 April 2012</span>
    3.11   </h2>
    3.12  
    3.13   <dl>
    3.14 @@ -44,7 +44,7 @@
    3.15  <p class="dontpublish copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/80x15.png"></a>
    3.16  To the extent possible under law, the editors have waived all copyright and
    3.17  related or neighboring rights to this work. In addition, as of
    3.18 -19 April 2012, the editors have made this specification available
    3.19 +23 April 2012, the editors have made this specification available
    3.20  under the
    3.21  <a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
    3.22  which is available at
    3.23 @@ -2196,9 +2196,9 @@
    3.24     terminate these substeps (and run them for the next <a href="#registered-observer">registered observer</a>).
    3.25  
    3.26     <li><p>If <var title="">options</var>'s
    3.27 -   <code title="dom-MutationObserverInit-attributeFilter">attributeFilter</code> is non-empty,
    3.28 -   and <var title="">name</var> is not in it, terminate these substeps
    3.29 -   (and run them for the <a href="#registered-observer">registered observer</a>).
    3.30 +   <code title="dom-MutationObserverInit-attributeFilter">attributeFilter</code>
    3.31 +   is non-empty, and <var title="">name</var> is not in it, terminate these
    3.32 +   substeps (and run them for the <a href="#registered-observer">registered observer</a>).
    3.33  
    3.34     <li><p>If <var title="">options</var>'s
    3.35     <code title="dom-MutationObserverInit-attributeOldValue">attributeOldValue</code> is true,
    3.36 @@ -2220,8 +2220,10 @@
    3.37  
    3.38     <li><p>If <var title="">options</var>'s <code title="dom-MutationObserverInit-attributes">attributes</code> is not true, terminate these substeps (and run them for the next <a href="#registered-observer">registered observer</a>).
    3.39  
    3.40 -   <li><p>If <var title="">options</var>'s <code title="dom-MutationObserverInit-attributeFilter">attributeFilter</code> is non-empty, and <var title="">name</var> is not in it, terminate these substeps
    3.41 -   (and run them for the next <a href="#registered-observer">registered observer</a>).
    3.42 +   <li><p>If <var title="">options</var>'s
    3.43 +   <code title="dom-MutationObserverInit-attributeFilter">attributeFilter</code>
    3.44 +   is non-empty, and <var title="">name</var> is not in it, terminate these
    3.45 +   substeps (and run them for the next <a href="#registered-observer">registered observer</a>).
    3.46  
    3.47     <li><p>If <var title="">options</var>'s <code title="dom-MutationObserverInit-attributeOldValue">attributeOldValue</code> is true,
    3.48     append <var title="">recordWithOldValue</var> to <var title="">observer</var>'s
    3.49 @@ -2378,7 +2380,7 @@
    3.50  
    3.51     <dt><code title="dom-MutationObserverInit-attributeFilter">attributeFilter</code>
    3.52     <dd><p>Set to a list of <a href="#concept-attribute" title="concept-attribute">attribute</a>
    3.53 -   <a href="#concept-attribute-name" title="concept-attribute-name">names</a> if not all
    3.54 +   <a href="#concept-attribute-local-name" title="concept-attribute-local-name">local names</a> if not all
    3.55     <a href="#concept-attribute" title="concept-attribute">attribute</a> mutations need to be
    3.56     observed.
    3.57    </dl>
    3.58 @@ -2508,7 +2510,8 @@
    3.59   otherwise.
    3.60  
    3.61   <dt><code><var title="">record</var> . <a href="#dom-mutationrecord-attributename" title="dom-MutationRecord-attributeName">attributeName</a></code>
    3.62 - <dd><p>Returns the <a href="#concept-attribute-name" title="concept-attribute-name">name</a> of the
    3.63 + <dd><p>Returns the
    3.64 + <a href="#concept-attribute-local-name" title="concept-attribute-local-name">local name</a> of the
    3.65   changed <a href="#concept-attribute" title="concept-attribute">attribute</a>, or null otherwise.
    3.66  
    3.67   <dt><code><var title="">record</var> . <a href="#dom-mutationrecord-attributenamespace" title="dom-MutationRecord-attributeNamespace">attributeNamespace</a></code>
    3.68 @@ -4917,7 +4920,7 @@
    3.69  
    3.70   <li><p><a href="#concept-mo-queue-attributes" title="concept-MO-queue-attributes">Queue an "<code>attributes</code>" record</a>
    3.71   with target <a href="#context-object">context object</a>, name <var title="">attribute</var>'s
    3.72 - <a href="#concept-attribute-name" title="concept-attribute-name">name</a>, namespace
    3.73 + <a href="#concept-attribute-local-name" title="concept-attribute-local-name">local name</a>, namespace
    3.74   <var title="">attribute</var>'s
    3.75   <a href="#concept-attribute-namespace" title="concept-attribute-namespace">namespace</a>,
    3.76   and oldValue <var title="">attribute</var>'s
    3.77 @@ -4996,7 +4999,7 @@
    3.78  
    3.79   <li><p><a href="#concept-mo-queue-attributes" title="concept-MO-queue-attributes">Queue an "<code>attributes</code>" record</a>
    3.80   with target <a href="#context-object">context object</a>, name
    3.81 - <var title="">name</var>, namespace <var title="">namespace</var>, and
    3.82 + <var title="">localName</var>, namespace <var title="">namespace</var>, and
    3.83   oldValue <var title="">attribute</var>'s
    3.84   <a href="#concept-attribute-value" title="concept-attribute-value">value</a>.
    3.85  
    3.86 @@ -5225,7 +5228,7 @@
    3.87  <ol>
    3.88   <li><p><a href="#concept-mo-queue-attributes" title="concept-MO-queue-attributes">Queue an "<code>attributes</code>" record</a>
    3.89   with target <var title="">element</var>, name <var title="">attribute</var>'s
    3.90 - <a href="#concept-attribute-name" title="concept-attribute-name">name</a>, namespace
    3.91 + <a href="#concept-attribute-local-name" title="concept-attribute-local-name">local name</a>, namespace
    3.92   <var title="">attribute</var>'s
    3.93   <a href="#concept-attribute-namespace" title="concept-attribute-namespace">namespace</a>, and oldValue
    3.94   null.
    3.95 @@ -5242,7 +5245,7 @@
    3.96  <ol>
    3.97   <li><p><a href="#concept-mo-queue-attributes" title="concept-MO-queue-attributes">Queue an "<code>attributes</code>" record</a>
    3.98   with target <var title="">element</var>, name <var title="">attribute</var>'s
    3.99 - <a href="#concept-attribute-name" title="concept-attribute-name">name</a>, namespace
   3.100 + <a href="#concept-attribute-local-name" title="concept-attribute-local-name">local name</a>, namespace
   3.101   <var title="">attribute</var>'s
   3.102   <a href="#concept-attribute-namespace" title="concept-attribute-namespace">namespace</a>, and oldValue
   3.103   <var title="">attribute</var>'s