- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 17 Jun 2008 23:08:05 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv3531 Modified Files: Overview.html Log Message: more notes for the upcoming URL revolution (whatwg r1782) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.971 retrieving revision 1.972 diff -u -d -r1.971 -r1.972 --- Overview.html 17 Jun 2008 22:43:47 -0000 1.971 +++ Overview.html 17 Jun 2008 23:08:02 -0000 1.972 @@ -14840,8 +14840,7 @@ <p>The <dfn id=src3 title=attr-embed-src><code>src</code></dfn> attribute gives the address of the resource being embedded. The attribute must be - present and contain a valid URI (or IRI).</p> - <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> + present and contain a valid URI (or IRI). <p>If the <code title=attr-embed-src><a href="#src3">src</a></code> attribute is missing, then the <code><a href="#embed">embed</a></code> @@ -16189,6 +16188,8 @@ <li> <p>Let the <var title="">chosen resource's pixel ratio override</var> be <i>none</i>. + </li> + <!-- XXXURL pass the attribute value to the last step --> <li> <p>If the <a href="#media7">media element</a> has a <code @@ -16238,7 +16239,7 @@ <p>...then the <var title="">candidate</var> is not suitable; go to the next step.</p> - + <!-- XXXURL pass the attribute value to the last step --> <p>Otherwise, the address given in that <var title="">candidate</var> element's <code title=attr-source-src><a href="#src5">src</a></code> attribute is the address of the <a href="#media10">media resource</a>; @@ -16256,6 +16257,9 @@ <li> <p>There is no <a href="#media10">media resource</a>. Abort these steps. + </li> + <!-- XXXURL resolve the url of the attribute value passed to this step here --> + <!-- XXXURL define "address of the chosen media resource" and make sure the next paragraph uses it --> <li> <p>Let the address of the <dfn id=chosen>chosen media resource</dfn> be @@ -16269,8 +16273,8 @@ must return the empty string if the <a href="#media7">media element</a>'s <code title=dom-media-networkState><a href="#networkstate">networkState</a></code> has the value <a - href="#empty" title=dom-media-EMPTY>EMPTY</a>, and the absolute URI of the - <a href="#chosen">chosen media resource</a> otherwise. + href="#empty" title=dom-media-EMPTY>EMPTY</a>, and the address of the <a + href="#chosen">chosen media resource</a> otherwise. <h5 id=network0><span class=secno>3.11.10.3. </span>Network states</h5> @@ -18410,19 +18414,22 @@ occur if a method was called with the wrong number of arguments). <p class=note>A future version of this specification will probably define a - <code>3d</code> context (probably based on the OpenGL ES API). + <code>3d</code> context (probably based on the OpenGL ES API).</p> + <!-- XXXURL data: URIs? --> <p>The <dfn id=todataurl title=dom-canvas-toDataURL><code>toDataURL()</code></dfn> method must, when called with no arguments, return a <code title="">data:</code> URI containing a representation of the image as a PNG file. <a - href="#references">[PNG]</a>. + href="#references">[PNG]</a>.</p> + <!-- XXXURL data: URIs? --> <p>If the canvas has no pixels (i.e. either its horizontal dimension or its vertical dimension is zero) then the method must return the string "<code title="">data:,</code>". (This is the shortest <code title="">data:</code> URI; it represents the empty string in a <code title="">text/plain</code> - resource.) + resource.)</p> + <!-- XXXURL data: URIs? --> <p>The <dfn id=todataurl0 title=dom-canvas-toDataURL-type><code>toDataURL(<var @@ -18436,13 +18443,14 @@ <p>Only support for <code>image/png</code> is required. User agents may support other types. If the user agent does not support the requested - type, it must return the image using the PNG format. + type, it must return the image using the PNG format.</p> + <!-- XXXURL data: URIs? --> <p>User agents must convert the provided type to lower case before establishing if they support that type and before creating the <code title="">data:</code> URI.</p> - <!-- XXX define "convert to lower case" - --> + <!-- XXX define "convert to lower + case" --> <p class=note>When trying to use types other than <code>image/png</code>, authors can check if the image was really returned in the requested format @@ -24205,7 +24213,8 @@ <p>The <dfn id=src11 title=attr-event-source-src><code>src</code></dfn> attribute, if specified, must give a valid URI (or IRI) pointing to a - resource that uses the <code>text/event-stream</code> format. + resource that uses the <code>text/event-stream</code> format.</p> + <!--XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <p>When the element is inserted into the document, if it has the <code title=attr-event-source-src><a href="#src11">src</a></code> attribute
Received on Tuesday, 17 June 2008 23:08:40 UTC