W3C home > Mailing lists > Public > public-html-diffs@w3.org > May 2009

Mention what to do when reflecting to a missing attribute. (bug 6516) (whatwg r3131)

From: poot <cvsmail@w3.org>
Date: Tue, 26 May 2009 16:33:55 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090526073355.85D8B2BC97@toro.w3.mag.keio.ac.jp>
Mention what to do when reflecting to a missing attribute. (bug 6516)
(whatwg r3131)
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6516

Diffs for this change per section: 
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2289.html#reflect

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2288&r2=1.2289&f=h
http://html5.org/tools/web-apps-tracker?from=3130&to=3131

===================================================================
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 07:34:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:05 GMT