Skip to content
Permalink
Browse files

[e] (0) Define 'empty'.

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

git-svn-id: http://svn.whatwg.org/webapps@5524 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 28, 2010
1 parent 5589d42 commit b787d2dd59cb276d25ff3d81ae68a6638348dcf9
Showing with 12 additions and 0 deletions.
  1. +4 −0 complete.html
  2. +4 −0 index
  3. +4 −0 source
only if its new value is different than its previous value; setting
an attribute to a value it already has does not change it.</p>

<p>The term <dfn title="">empty</dfn>, when used of an attribute
value, text node, or string, means that the length of the text is
zero (i.e. not even containing spaces or control characters).</p>


<h4 id=scripting-0><span class=secno>2.1.4 </span>Scripting</h4>

4 index
only if its new value is different than its previous value; setting
an attribute to a value it already has does not change it.</p>

<p>The term <dfn title="">empty</dfn>, when used of an attribute
value, text node, or string, means that the length of the text is
zero (i.e. not even containing spaces or control characters).</p>


<h4 id=scripting-0><span class=secno>2.1.4 </span>Scripting</h4>

4 source
@@ -1646,6 +1646,10 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
only if its new value is different than its previous value; setting
an attribute to a value it already has does not change it.</p>

<p>The term <dfn title="">empty</dfn>, when used of an attribute
value, text node, or string, means that the length of the text is
zero (i.e. not even containing spaces or control characters).</p>


<h4>Scripting</h4>

0 comments on commit b787d2d

Please sign in to comment.
You can’t perform that action at this time.