attributeFilter is for non-namespaced attributes only https://www.w3.org/Bugs/Public/show_bug.cgi?id=16563
authorAnne van Kesteren <annevk@opera.com>
Mon, 23 Apr 2012 10:03:59 +0200
changeset 1030108ddf1d9234
parent 1029 8ec7c5b30498
child 1031 1985a3a30101
attributeFilter is for non-namespaced attributes only https://www.w3.org/Bugs/Public/show_bug.cgi?id=16563
Overview.html
Overview.src.html
dom-core.html
     1.1 --- a/Overview.html	Mon Apr 23 09:46:18 2012 +0200
     1.2 +++ b/Overview.html	Mon Apr 23 10:03:59 2012 +0200
     1.3 @@ -2243,8 +2243,9 @@
     1.4  
     1.5     <li><p>If <var title="">options</var>'s
     1.6     <code title="dom-MutationObserverInit-attributeFilter">attributeFilter</code>
     1.7 -   is non-empty, and <var title="">name</var> is not in it, terminate these
     1.8 -   substeps (and run them for the <a href="#registered-observer">registered observer</a>).
     1.9 +   is non-empty, and either does not contain <var title="">name</var> or
    1.10 +   <var title="">namespace</var> is non-null, terminate these substeps
    1.11 +   (and run them for the <a href="#registered-observer">registered observer</a>).
    1.12  
    1.13     <li><p>If <var title="">options</var>'s
    1.14     <code title="dom-MutationObserverInit-attributeOldValue">attributeOldValue</code> is true,
    1.15 @@ -2268,8 +2269,9 @@
    1.16  
    1.17     <li><p>If <var title="">options</var>'s
    1.18     <code title="dom-MutationObserverInit-attributeFilter">attributeFilter</code>
    1.19 -   is non-empty, and <var title="">name</var> is not in it, terminate these
    1.20 -   substeps (and run them for the next <a href="#registered-observer">registered observer</a>).
    1.21 +   is non-empty, and either does not contain <var title="">name</var> or
    1.22 +   <var title="">namespace</var> is non-null, terminate these substeps
    1.23 +   (and run them for the next <a href="#registered-observer">registered observer</a>).
    1.24  
    1.25     <li><p>If <var title="">options</var>'s <code title="dom-MutationObserverInit-attributeOldValue">attributeOldValue</code> is true,
    1.26     append <var title="">recordWithOldValue</var> to <var title="">observer</var>'s
    1.27 @@ -2426,7 +2428,8 @@
    1.28  
    1.29     <dt><code title="dom-MutationObserverInit-attributeFilter">attributeFilter</code>
    1.30     <dd><p>Set to a list of <a href="#concept-attribute" title="concept-attribute">attribute</a>
    1.31 -   <a href="#concept-attribute-local-name" title="concept-attribute-local-name">local names</a> if not all
    1.32 +   <a href="#concept-attribute-local-name" title="concept-attribute-local-name">local names</a> (without
    1.33 +   <a href="#concept-attribute-namespace" title="concept-attribute-namespace">namespace</a>) if not all
    1.34     <a href="#concept-attribute" title="concept-attribute">attribute</a> mutations need to be
    1.35     observed.
    1.36    </dl>
     2.1 --- a/Overview.src.html	Mon Apr 23 09:46:18 2012 +0200
     2.2 +++ b/Overview.src.html	Mon Apr 23 10:03:59 2012 +0200
     2.3 @@ -2237,8 +2237,9 @@
     2.4  
     2.5     <li><p>If <var title>options</var>'s
     2.6     <code title=dom-MutationObserverInit-attributeFilter>attributeFilter</code>
     2.7 -   is non-empty, and <var title>name</var> is not in it, terminate these
     2.8 -   substeps (and run them for the <span>registered observer</span>).
     2.9 +   is non-empty, and either does not contain <var title>name</var> or
    2.10 +   <var title>namespace</var> is non-null, terminate these substeps
    2.11 +   (and run them for the <span>registered observer</span>).
    2.12  
    2.13     <li><p>If <var title>options</var>'s
    2.14     <code title=dom-MutationObserverInit-attributeOldValue>attributeOldValue</code> is true,
    2.15 @@ -2262,8 +2263,9 @@
    2.16  
    2.17     <li><p>If <var title>options</var>'s
    2.18     <code title=dom-MutationObserverInit-attributeFilter>attributeFilter</code>
    2.19 -   is non-empty, and <var title>name</var> is not in it, terminate these
    2.20 -   substeps (and run them for the next <span>registered observer</span>).
    2.21 +   is non-empty, and either does not contain <var title>name</var> or
    2.22 +   <var title>namespace</var> is non-null, terminate these substeps
    2.23 +   (and run them for the next <span>registered observer</span>).
    2.24  
    2.25     <li><p>If <var title>options</var>'s <code title=dom-MutationObserverInit-attributeOldValue>attributeOldValue</code> is true,
    2.26     append <var title>recordWithOldValue</var> to <var title>observer</var>'s
    2.27 @@ -2420,7 +2422,8 @@
    2.28  
    2.29     <dt><code title=dom-MutationObserverInit-attributeFilter>attributeFilter</code>
    2.30     <dd><p>Set to a list of <span title=concept-attribute>attribute</span>
    2.31 -   <span title=concept-attribute-local-name>local names</span> if not all
    2.32 +   <span title=concept-attribute-local-name>local names</span> (without
    2.33 +   <span title=concept-attribute-namespace>namespace</span>) if not all
    2.34     <span title=concept-attribute>attribute</span> mutations need to be
    2.35     observed.
    2.36    </dl>
     3.1 --- a/dom-core.html	Mon Apr 23 09:46:18 2012 +0200
     3.2 +++ b/dom-core.html	Mon Apr 23 10:03:59 2012 +0200
     3.3 @@ -2197,8 +2197,9 @@
     3.4  
     3.5     <li><p>If <var title="">options</var>'s
     3.6     <code title="dom-MutationObserverInit-attributeFilter">attributeFilter</code>
     3.7 -   is non-empty, and <var title="">name</var> is not in it, terminate these
     3.8 -   substeps (and run them for the <a href="#registered-observer">registered observer</a>).
     3.9 +   is non-empty, and either does not contain <var title="">name</var> or
    3.10 +   <var title="">namespace</var> is non-null, terminate these substeps
    3.11 +   (and run them for the <a href="#registered-observer">registered observer</a>).
    3.12  
    3.13     <li><p>If <var title="">options</var>'s
    3.14     <code title="dom-MutationObserverInit-attributeOldValue">attributeOldValue</code> is true,
    3.15 @@ -2222,8 +2223,9 @@
    3.16  
    3.17     <li><p>If <var title="">options</var>'s
    3.18     <code title="dom-MutationObserverInit-attributeFilter">attributeFilter</code>
    3.19 -   is non-empty, and <var title="">name</var> is not in it, terminate these
    3.20 -   substeps (and run them for the next <a href="#registered-observer">registered observer</a>).
    3.21 +   is non-empty, and either does not contain <var title="">name</var> or
    3.22 +   <var title="">namespace</var> is non-null, terminate these substeps
    3.23 +   (and run them for the next <a href="#registered-observer">registered observer</a>).
    3.24  
    3.25     <li><p>If <var title="">options</var>'s <code title="dom-MutationObserverInit-attributeOldValue">attributeOldValue</code> is true,
    3.26     append <var title="">recordWithOldValue</var> to <var title="">observer</var>'s
    3.27 @@ -2380,7 +2382,8 @@
    3.28  
    3.29     <dt><code title="dom-MutationObserverInit-attributeFilter">attributeFilter</code>
    3.30     <dd><p>Set to a list of <a href="#concept-attribute" title="concept-attribute">attribute</a>
    3.31 -   <a href="#concept-attribute-local-name" title="concept-attribute-local-name">local names</a> if not all
    3.32 +   <a href="#concept-attribute-local-name" title="concept-attribute-local-name">local names</a> (without
    3.33 +   <a href="#concept-attribute-namespace" title="concept-attribute-namespace">namespace</a>) if not all
    3.34     <a href="#concept-attribute" title="concept-attribute">attribute</a> mutations need to be
    3.35     observed.
    3.36    </dl>