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

html5/spec Overview.html,1.5637,1.5638

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 25 Apr 2012 21:22:56 +0000
To: public-html-commits@w3.org
Message-Id: <E1SN9fs-00019T-Mn@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv4409

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

Index: Overview.html
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 @@
-  <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:22:59 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:11:17 UTC