- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 26 May 2009 02:19:17 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv12040 Modified Files: Overview.html Log Message: Mention what to do when reflecting to a missing attribute. (bug 6516) (whatwg r3131) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2288 retrieving revision 1.2289 diff -u -d -r1.2288 -r1.2289 --- Overview.html 26 May 2009 02:17:04 -0000 1.2288 +++ Overview.html 26 May 2009 02:19:13 -0000 1.2289 @@ -5443,6 +5443,11 @@ given value.<p class="note">A list of <a href="#reflecting-dom-attributes">reflecting DOM attributes</a> and their corresponding content attributes is given in the index.<div class="impl"> + <p>In general, on getting, if the content attribute is not present, + the DOM attribute must act as if the content attribute's value is + the empty string; and on setting, if the content attribute is not + present, it must first be added.</p> + <p>If a reflecting DOM attribute is a <code>DOMString</code> attribute whose content attribute is defined to contain a <a href="#url">URL</a>, then on getting, the DOM attribute must <a href="#resolve-a-url" title="resolve a url">resolve</a> the value of the content
Received on Tuesday, 26 May 2009 02:19:26 UTC