[html5] r8756 - [giow] (1) Forgot to mark this member as nullable in TrackEvent. Affected topics [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Sep 9 13:22:23 PDT 2014


Author: ianh
Date: 2014-09-09 13:22:19 -0700 (Tue, 09 Sep 2014)
New Revision: 8756

Modified:
   complete.html
   index
   source
Log:
[giow] (1) Forgot to mark this member as nullable in TrackEvent.
Affected topics: Video Text Tracks

Modified: complete.html
===================================================================
--- complete.html	2014-09-08 22:53:10 UTC (rev 8755)
+++ complete.html	2014-09-09 20:22:19 UTC (rev 8756)
@@ -291,7 +291,7 @@
   </style><link rel=stylesheet href=status.css><body onload=init()>
   <header id=head class="head with-buttons">
    <p><a href=//www.whatwg.org/ class=logo><img src=/images/logo width=101 alt=WHATWG height=101></a></p>
-   <hgroup><h1 class=allcaps>HTML</h1><h2 id=living-standard-—-last-updated-[date:-01-jan-1901] class="no-num no-toc">Living Standard — Last Updated <span class=pubdate>8 September 2014</span></h2></hgroup>
+   <hgroup><h1 class=allcaps>HTML</h1><h2 id=living-standard-—-last-updated-[date:-01-jan-1901] class="no-num no-toc">Living Standard — Last Updated <span class=pubdate>9 September 2014</span></h2></hgroup>
    
    <nav>
     <div>
@@ -18263,6 +18263,8 @@
   it must be interpreted relative to the <code id=the-img-element:the-img-element-48><a href=#the-img-element>img</a></code> element's <a id=the-img-element:node-document-6 href=http://dom.spec.whatwg.org/#concept-node-document data-x-internal=node-document>node document</a>'s viewport.
   Other units must be interpreted the same as in Media Queries. <a href=#refsMQ>[MQ]</a></p>
 
+  <p>A <a href=#source-size-2 id=the-img-element:source-size-2-3>source size</a> must not use CSS functions other than the <code>calc()</code> function.</p>
+
   <p>When asked to <dfn id=select-an-image-source>select an image source</dfn> for a given <code id=the-img-element:the-img-element-49><a href=#the-img-element>img</a></code> element <var>el</var>,
   user agents must do the following:</p>
 
@@ -18292,7 +18294,7 @@
        <a href=#parse-a-srcset-attribute id=the-img-element:parse-a-srcset-attribute>parse <var>child</var>'s srcset attribute</a>
        and let the returned <a href=#source-set id=the-img-element:source-set-6>source set</a> be <var>source set</var>.
        Otherwise, let <var>source set</var> be an empty <a href=#source-set id=the-img-element:source-set-7>source set</a>.<li><p><a href=#parse-a-sizes-attribute id=the-img-element:parse-a-sizes-attribute>Parse <var>child</var>'s sizes attribute</a> and
-       let <var>source set</var>'s <a href=#source-size-2 id=the-img-element:source-size-2-3>source size</a> be the returned value.<li><p>If <var>child</var> has a <code id=the-img-element:attr-img-src-10><a href=#attr-img-src>src</a></code> attribute
+       let <var>source set</var>'s <a href=#source-size-2 id=the-img-element:source-size-2-4>source size</a> be the returned value.<li><p>If <var>child</var> has a <code id=the-img-element:attr-img-src-10><a href=#attr-img-src>src</a></code> attribute
        whose value is not the empty string
        and <var>source set</var> does not contain an
        <a href=#image-source id=the-img-element:image-source-3>image source</a> with a density descriptor value of 1,
@@ -18308,7 +18310,7 @@
      and its value is not a <a href=#valid-media-query-list id=the-img-element:valid-media-query-list>valid media query list</a>,
      or is a <a href=#valid-media-query-list id=the-img-element:valid-media-query-list-2>valid media query list</a> that evaluates to false,
      continue to the next child.<li><p><a href=#parse-a-sizes-attribute id=the-img-element:parse-a-sizes-attribute-2>Parse <var>child</var>'s sizes attribute</a>
-     and let <var>source set</var>'s <a href=#source-size-2 id=the-img-element:source-size-2-4>source size</a> be the returned value.<li><p>If <var>child</var> has a <code id=the-img-element:attr-picture-source-type-2><a href=#attr-picture-source-type>type</a></code> attribute,
+     and let <var>source set</var>'s <a href=#source-size-2 id=the-img-element:source-size-2-5>source size</a> be the returned value.<li><p>If <var>child</var> has a <code id=the-img-element:attr-picture-source-type-2><a href=#attr-picture-source-type>type</a></code> attribute,
      and its value is an unknown or unsupported <a href=#mime-type id=the-img-element:mime-type>MIME type</a>,
      continue to the next child.<li><p><a href=#normalize-the-source-densities id=the-img-element:normalize-the-source-densities-2>Normalize the source densities</a> of <var>source set</var>.<li><p>Let <var>el</var>'s <a href=#source-set id=the-img-element:source-set-10>source set</a> be <var>source set</var>.<li><p>Abort this algorithm.</ol>
 
@@ -18454,6 +18456,7 @@
    is a valid non-negative <a href=#source-size-value id=the-img-element:source-size-value-7><source-size-value></a>,
    let <var>size</var> be its value
    and remove the <a href=#component-value id=the-img-element:component-value-2>component value</a> from <var>unparsed size</var>.
+   Any CSS function other than the <code>calc()</code> function is invalid.
    Otherwise, there is a <a href=#concept-microsyntax-parse-error id=the-img-element:concept-microsyntax-parse-error-7>parse error</a>;
    continue to the next iteration of this algorithm.<li><p>Remove all consecutive <a href=#whitespace-token id=the-img-element:whitespace-token-2><whitespace-token></a>s
    from the end of <var>unparsed size</var>.
@@ -18490,7 +18493,7 @@
   <p>When asked to <dfn id=normalize-the-source-densities>normalize the source densities</dfn> of a <a href=#source-set id=the-img-element:source-set-13>source set</a> <var>source set</var>,
   the user agent must do the following:</p>
 
-  <ol><li><p>Let <var>source size</var> be <var>source set</var>'s <a href=#source-size-2 id=the-img-element:source-size-2-5>source size</a>.<li>
+  <ol><li><p>Let <var>source size</var> be <var>source set</var>'s <a href=#source-size-2 id=the-img-element:source-size-2-6>source size</a>.<li>
 
     <p>For each <a href=#image-source id=the-img-element:image-source-10>image source</a> in <var>source set</var>:</p>
 
@@ -18499,10 +18502,10 @@
 
       <p>Otherwise, if the <a href=#image-source id=the-img-element:image-source-13>image source</a> has a width descriptor,
       replace the width descriptor with a density descriptor
-      with a value of the width descriptor divided by the <a href=#source-size-2 id=the-img-element:source-size-2-6>source size</a>
+      with a value of the width descriptor divided by the <a href=#source-size-2 id=the-img-element:source-size-2-7>source size</a>
       and a unit of <code>x</code>.</p>
 
-      <p class=note>If the <a href=#source-size-2 id=the-img-element:source-size-2-7>source size</a> is zero,
+      <p class=note>If the <a href=#source-size-2 id=the-img-element:source-size-2-8>source size</a> is zero,
       the density would be infinity,
       which results in the intrinsic dimensions being zero by zero.</p>
 
@@ -26382,11 +26385,11 @@
 
   <pre class=idl>[Constructor(DOMString type, optional <a href=#trackeventinit id=the-trackevent-interface:trackeventinit>TrackEventInit</a> eventInitDict)]
 interface <dfn id=trackevent>TrackEvent</dfn> : <a href=#event id=the-trackevent-interface:event>Event</a> {
-  readonly attribute (<a href=#videotrack id=the-trackevent-interface:videotrack>VideoTrack</a> or <a href=#audiotrack id=the-trackevent-interface:audiotrack>AudioTrack</a> or <a href=#texttrack id=the-trackevent-interface:texttrack>TextTrack</a>) <a href=#dom-trackevent-track id=the-trackevent-interface:dom-trackevent-track>track</a>;
+  readonly attribute (<a href=#videotrack id=the-trackevent-interface:videotrack>VideoTrack</a> or <a href=#audiotrack id=the-trackevent-interface:audiotrack>AudioTrack</a> or <a href=#texttrack id=the-trackevent-interface:texttrack>TextTrack</a>)? <a href=#dom-trackevent-track id=the-trackevent-interface:dom-trackevent-track>track</a>;
 };
 
 dictionary <dfn id=trackeventinit>TrackEventInit</dfn> : <a href=#eventinit id=the-trackevent-interface:eventinit>EventInit</a> {
-  (<a href=#videotrack id=the-trackevent-interface:videotrack-2>VideoTrack</a> or <a href=#audiotrack id=the-trackevent-interface:audiotrack-2>AudioTrack</a> or <a href=#texttrack id=the-trackevent-interface:texttrack-2>TextTrack</a>) track;
+  (<a href=#videotrack id=the-trackevent-interface:videotrack-2>VideoTrack</a> or <a href=#audiotrack id=the-trackevent-interface:audiotrack-2>AudioTrack</a> or <a href=#texttrack id=the-trackevent-interface:texttrack-2>TextTrack</a>)? track;
 };</pre>
 
   <dl class=domintro><dt><var>event</var> . <code id=the-trackevent-interface:dom-trackevent-track-2><a href=#dom-trackevent-track>track</a></code><dd>

Modified: index
===================================================================
--- index	2014-09-08 22:53:10 UTC (rev 8755)
+++ index	2014-09-09 20:22:19 UTC (rev 8756)
@@ -291,7 +291,7 @@
   </style><link rel=stylesheet href=status.css><body onload=init()>
   <header id=head class="head with-buttons">
    <p><a href=//www.whatwg.org/ class=logo><img src=/images/logo width=101 alt=WHATWG height=101></a></p>
-   <hgroup><h1 class=allcaps>HTML</h1><h2 id=living-standard-—-last-updated-[date:-01-jan-1901] class="no-num no-toc">Living Standard — Last Updated <span class=pubdate>8 September 2014</span></h2></hgroup>
+   <hgroup><h1 class=allcaps>HTML</h1><h2 id=living-standard-—-last-updated-[date:-01-jan-1901] class="no-num no-toc">Living Standard — Last Updated <span class=pubdate>9 September 2014</span></h2></hgroup>
    
    <nav>
     <div>
@@ -18263,6 +18263,8 @@
   it must be interpreted relative to the <code id=the-img-element:the-img-element-48><a href=#the-img-element>img</a></code> element's <a id=the-img-element:node-document-6 href=http://dom.spec.whatwg.org/#concept-node-document data-x-internal=node-document>node document</a>'s viewport.
   Other units must be interpreted the same as in Media Queries. <a href=#refsMQ>[MQ]</a></p>
 
+  <p>A <a href=#source-size-2 id=the-img-element:source-size-2-3>source size</a> must not use CSS functions other than the <code>calc()</code> function.</p>
+
   <p>When asked to <dfn id=select-an-image-source>select an image source</dfn> for a given <code id=the-img-element:the-img-element-49><a href=#the-img-element>img</a></code> element <var>el</var>,
   user agents must do the following:</p>
 
@@ -18292,7 +18294,7 @@
        <a href=#parse-a-srcset-attribute id=the-img-element:parse-a-srcset-attribute>parse <var>child</var>'s srcset attribute</a>
        and let the returned <a href=#source-set id=the-img-element:source-set-6>source set</a> be <var>source set</var>.
        Otherwise, let <var>source set</var> be an empty <a href=#source-set id=the-img-element:source-set-7>source set</a>.<li><p><a href=#parse-a-sizes-attribute id=the-img-element:parse-a-sizes-attribute>Parse <var>child</var>'s sizes attribute</a> and
-       let <var>source set</var>'s <a href=#source-size-2 id=the-img-element:source-size-2-3>source size</a> be the returned value.<li><p>If <var>child</var> has a <code id=the-img-element:attr-img-src-10><a href=#attr-img-src>src</a></code> attribute
+       let <var>source set</var>'s <a href=#source-size-2 id=the-img-element:source-size-2-4>source size</a> be the returned value.<li><p>If <var>child</var> has a <code id=the-img-element:attr-img-src-10><a href=#attr-img-src>src</a></code> attribute
        whose value is not the empty string
        and <var>source set</var> does not contain an
        <a href=#image-source id=the-img-element:image-source-3>image source</a> with a density descriptor value of 1,
@@ -18308,7 +18310,7 @@
      and its value is not a <a href=#valid-media-query-list id=the-img-element:valid-media-query-list>valid media query list</a>,
      or is a <a href=#valid-media-query-list id=the-img-element:valid-media-query-list-2>valid media query list</a> that evaluates to false,
      continue to the next child.<li><p><a href=#parse-a-sizes-attribute id=the-img-element:parse-a-sizes-attribute-2>Parse <var>child</var>'s sizes attribute</a>
-     and let <var>source set</var>'s <a href=#source-size-2 id=the-img-element:source-size-2-4>source size</a> be the returned value.<li><p>If <var>child</var> has a <code id=the-img-element:attr-picture-source-type-2><a href=#attr-picture-source-type>type</a></code> attribute,
+     and let <var>source set</var>'s <a href=#source-size-2 id=the-img-element:source-size-2-5>source size</a> be the returned value.<li><p>If <var>child</var> has a <code id=the-img-element:attr-picture-source-type-2><a href=#attr-picture-source-type>type</a></code> attribute,
      and its value is an unknown or unsupported <a href=#mime-type id=the-img-element:mime-type>MIME type</a>,
      continue to the next child.<li><p><a href=#normalize-the-source-densities id=the-img-element:normalize-the-source-densities-2>Normalize the source densities</a> of <var>source set</var>.<li><p>Let <var>el</var>'s <a href=#source-set id=the-img-element:source-set-10>source set</a> be <var>source set</var>.<li><p>Abort this algorithm.</ol>
 
@@ -18454,6 +18456,7 @@
    is a valid non-negative <a href=#source-size-value id=the-img-element:source-size-value-7><source-size-value></a>,
    let <var>size</var> be its value
    and remove the <a href=#component-value id=the-img-element:component-value-2>component value</a> from <var>unparsed size</var>.
+   Any CSS function other than the <code>calc()</code> function is invalid.
    Otherwise, there is a <a href=#concept-microsyntax-parse-error id=the-img-element:concept-microsyntax-parse-error-7>parse error</a>;
    continue to the next iteration of this algorithm.<li><p>Remove all consecutive <a href=#whitespace-token id=the-img-element:whitespace-token-2><whitespace-token></a>s
    from the end of <var>unparsed size</var>.
@@ -18490,7 +18493,7 @@
   <p>When asked to <dfn id=normalize-the-source-densities>normalize the source densities</dfn> of a <a href=#source-set id=the-img-element:source-set-13>source set</a> <var>source set</var>,
   the user agent must do the following:</p>
 
-  <ol><li><p>Let <var>source size</var> be <var>source set</var>'s <a href=#source-size-2 id=the-img-element:source-size-2-5>source size</a>.<li>
+  <ol><li><p>Let <var>source size</var> be <var>source set</var>'s <a href=#source-size-2 id=the-img-element:source-size-2-6>source size</a>.<li>
 
     <p>For each <a href=#image-source id=the-img-element:image-source-10>image source</a> in <var>source set</var>:</p>
 
@@ -18499,10 +18502,10 @@
 
       <p>Otherwise, if the <a href=#image-source id=the-img-element:image-source-13>image source</a> has a width descriptor,
       replace the width descriptor with a density descriptor
-      with a value of the width descriptor divided by the <a href=#source-size-2 id=the-img-element:source-size-2-6>source size</a>
+      with a value of the width descriptor divided by the <a href=#source-size-2 id=the-img-element:source-size-2-7>source size</a>
       and a unit of <code>x</code>.</p>
 
-      <p class=note>If the <a href=#source-size-2 id=the-img-element:source-size-2-7>source size</a> is zero,
+      <p class=note>If the <a href=#source-size-2 id=the-img-element:source-size-2-8>source size</a> is zero,
       the density would be infinity,
       which results in the intrinsic dimensions being zero by zero.</p>
 
@@ -26382,11 +26385,11 @@
 
   <pre class=idl>[Constructor(DOMString type, optional <a href=#trackeventinit id=the-trackevent-interface:trackeventinit>TrackEventInit</a> eventInitDict)]
 interface <dfn id=trackevent>TrackEvent</dfn> : <a href=#event id=the-trackevent-interface:event>Event</a> {
-  readonly attribute (<a href=#videotrack id=the-trackevent-interface:videotrack>VideoTrack</a> or <a href=#audiotrack id=the-trackevent-interface:audiotrack>AudioTrack</a> or <a href=#texttrack id=the-trackevent-interface:texttrack>TextTrack</a>) <a href=#dom-trackevent-track id=the-trackevent-interface:dom-trackevent-track>track</a>;
+  readonly attribute (<a href=#videotrack id=the-trackevent-interface:videotrack>VideoTrack</a> or <a href=#audiotrack id=the-trackevent-interface:audiotrack>AudioTrack</a> or <a href=#texttrack id=the-trackevent-interface:texttrack>TextTrack</a>)? <a href=#dom-trackevent-track id=the-trackevent-interface:dom-trackevent-track>track</a>;
 };
 
 dictionary <dfn id=trackeventinit>TrackEventInit</dfn> : <a href=#eventinit id=the-trackevent-interface:eventinit>EventInit</a> {
-  (<a href=#videotrack id=the-trackevent-interface:videotrack-2>VideoTrack</a> or <a href=#audiotrack id=the-trackevent-interface:audiotrack-2>AudioTrack</a> or <a href=#texttrack id=the-trackevent-interface:texttrack-2>TextTrack</a>) track;
+  (<a href=#videotrack id=the-trackevent-interface:videotrack-2>VideoTrack</a> or <a href=#audiotrack id=the-trackevent-interface:audiotrack-2>AudioTrack</a> or <a href=#texttrack id=the-trackevent-interface:texttrack-2>TextTrack</a>)? track;
 };</pre>
 
   <dl class=domintro><dt><var>event</var> . <code id=the-trackevent-interface:dom-trackevent-track-2><a href=#dom-trackevent-track>track</a></code><dd>

Modified: source
===================================================================
--- source	2014-09-08 22:53:10 UTC (rev 8755)
+++ source	2014-09-09 20:22:19 UTC (rev 8756)
@@ -34212,11 +34212,11 @@
 
   <pre class="idl">[Constructor(DOMString type, optional <span>TrackEventInit</span> eventInitDict)]
 interface <dfn>TrackEvent</dfn> : <span>Event</span> {
-  readonly attribute (<span>VideoTrack</span> or <span>AudioTrack</span> or <span>TextTrack</span>) <span data-x="dom-TrackEvent-track">track</span>;
+  readonly attribute (<span>VideoTrack</span> or <span>AudioTrack</span> or <span>TextTrack</span>)? <span data-x="dom-TrackEvent-track">track</span>;
 };
 
 dictionary <dfn>TrackEventInit</dfn> : <span>EventInit</span> {
-  (<span>VideoTrack</span> or <span>AudioTrack</span> or <span>TextTrack</span>) track;
+  (<span>VideoTrack</span> or <span>AudioTrack</span> or <span>TextTrack</span>)? track;
 };</pre>
 
   <dl class="domintro">



More information about the Commit-Watchers mailing list