W3C home > Mailing lists > Public > public-html-diffs@w3.org > April 2012

hixie: apparently the new default is to not throw when setting an attribute. also, let's use WebIDL to define this. (whatwg r7072)

From: poot <cvsmail@w3.org>
Date: Wed, 25 Apr 2012 17:23:05 -0400
To: public-html-diffs@w3.org
Message-Id: <E1SN9g1-0006eq-D8@jay.w3.org>
hixie: apparently the new default is to not throw when setting an
attribute. also, let's use WebIDL to define this. (whatwg r7072)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5637&r2=1.5638&f=h
http://html5.org/tools/web-apps-tracker?from=7071&to=7072

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5637
retrieving revision 1.5638
diff -u -d -r1.5637 -r1.5638
--- Overview.html	25 Apr 2012 20:58:44 -0000	1.5637
+++ Overview.html	25 Apr 2012 21:22:50 -0000	1.5638
@@ -31222,7 +31222,8 @@
 
   </div>
 
-  <hr><pre class="idl">interface <dfn id="texttrack">TextTrack</dfn> : <a href="#eventtarget">EventTarget</a> {
+  <hr><pre class="idl">enum <dfn id="texttrackmode">TextTrackMode</dfn> { "<a href="#dom-texttrack-disabled" title="dom-TextTrack-disabled">disabled</a>", "<a href="#dom-texttrack-hidden" title="dom-TextTrack-hidden">hidden</a>", "<a href="#dom-texttrack-showing" title="dom-TextTrack-showing">showing</a>" };
+interface <dfn id="texttrack">TextTrack</dfn> : <a href="#eventtarget">EventTarget</a> {
   readonly attribute DOMString <a href="#dom-texttrack-kind" title="dom-TextTrack-kind">kind</a>;
   readonly attribute DOMString <a href="#dom-texttrack-label" title="dom-TextTrack-label">label</a>;
   readonly attribute DOMString <a href="#dom-texttrack-language" title="dom-TextTrack-language">language</a>;
@@ -31328,10 +31329,9 @@
    <dd>The <a href="#text-track-hidden">text track hidden</a> mode.</dd>
    <dt>"<dfn id="dom-texttrack-showing" title="dom-TextTrack-showing"><code>showing</code></dfn>"</dt>
    <dd>The <a href="#text-track-showing">text track showing</a> and <a href="#text-track-showing-by-default" title="text track showing by default">showing by default</a> modes.</dd>
-  </dl><p>On setting, if the new value is not either the string "<code title="dom-TextTrack-disabled"><a href="#dom-texttrack-disabled">disabled</a></code>", "<code title="dom-TextTrack-hidden"><a href="#dom-texttrack-hidden">hidden</a></code>", "<code title="dom-TextTrack-showing"><a href="#dom-texttrack-showing">showing</a></code>", the user agent must
-  throw an <code><a href="#invalidaccesserror">InvalidAccessError</a></code> exception. Otherwise, if
-  the new value isn't equal to what the attribute would currently
-  return, the new value must be processed as follows:</p>
+  </dl><p>On setting, if the new value isn't equal to what the attribute
+  would currently return, the new value must be processed as
+  follows:</p>
 
   <dl class="switch"><dt>If the new value is "<code title="dom-TextTrack-disabled"><a href="#dom-texttrack-disabled">disabled</a></code>"</dt>
Received on Wednesday, 25 April 2012 21:23:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 21:23:09 GMT