<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-31195</id>
	<title>Nabble - w3.org - public-html-comments</title>
	<updated>2009-11-23T00:54:11Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/w3.org---public-html-comments-f31195.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/w3.org---public-html-comments-f31195.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26474531</id>
	<title>RE: Widget tag</title>
	<published>2009-11-23T00:54:11Z</published>
	<updated>2009-11-23T00:54:11Z</updated>
	<author>
		<name>Musgrove, Jason L</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-GB link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:navy'&gt;Hi Luigi,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:navy'&gt;Please could expand on what it is that the &amp;#8220;widget&amp;#8221; element
will do, and how search engines will make use of them? My understanding is that
the &amp;#8220;code&amp;#8221; element can already be used to mark up sections of
example code, and that the &amp;#8220;script&amp;#8221; element can be used to mark up
sections of client executed script code. What is it that you envisage the &amp;#8220;widget&amp;#8221;
element doing different to these?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:navy'&gt;Thanks,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:navy'&gt;-Jason&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:
&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span lang=EN-US style='font-size:10.0pt;
font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;'&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474531&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;public-html-comments-request@...&lt;/a&gt;
[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474531&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;public-html-comments-request@...&lt;/a&gt;] &lt;b&gt;On Behalf Of &lt;/b&gt;Luis Vega&lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; 22 November 2009 06:12&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474531&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;public-html-comments@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Widget tag&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Hi, great job&lt;br&gt;
&lt;br&gt;
I think a &amp;quot;widget&amp;quot; tab will be very useful for search engines to know
about thos little pieces of code.&lt;br&gt;
&lt;br&gt;
Thanks&lt;br clear=all&gt;
&lt;br&gt;
-- &lt;br&gt;
Luigi&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;


&lt;br&gt;&lt;p&gt;
&lt;hr /&gt; &lt;BR /&gt;Scanned by iCritical.
&lt;/p&gt;
&lt;br&gt;&lt;/body&gt;

&lt;/html&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Widget-tag-tp26463112p26474531.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26463112</id>
	<title>Widget tag</title>
	<published>2009-11-21T22:12:10Z</published>
	<updated>2009-11-21T22:12:10Z</updated>
	<author>
		<name>Luis Vega-2</name>
	</author>
	<content type="html">Hi, great job&lt;br&gt;&lt;br&gt;I think a &amp;quot;widget&amp;quot; tab will be very useful for search engines to know about thos little pieces of code.&lt;br&gt;&lt;br&gt;Thanks&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Luigi&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Widget-tag-tp26463112p26463112.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26264321</id>
	<title>RE: Asset bundles for faster page fetching (fewer requests to the server)</title>
	<published>2009-11-09T02:44:23Z</published>
	<updated>2009-11-09T02:44:23Z</updated>
	<author>
		<name>David Bailey-6</name>
	</author>
	<content type="html">What a fantastic idea Jxtps!
&lt;br&gt;&lt;br&gt;I'd like to suggest a way for the user-agent to keep track of assets within the bundle vs. individual files. &amp;nbsp;For example on an image link:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;img src=&amp;quot;/folder/imagefile.jpg&amp;quot; asset=&amp;quot;/bundle.zip/imagefile.jpg&amp;quot; alt=&amp;quot;title&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;If the user-agent recognises bundles, then it will extract the imagefile.jpg from the bundle.zip archive, but if the user-agent doesn't recognise bundles, it requests the imagefile.jpg individually from the web server from the /folder/.
&lt;br&gt;&lt;br&gt;The user-agent would keep track of the fact that:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;/folder/imagefile.jpg
&lt;br&gt;&lt;br&gt;... is exactly the same as:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;/folder/bundle.zip/imagefile.jpg
&lt;br&gt;&lt;br&gt;... so that if it comes across another instance of /folder/imagefile.jpg in the same web-page or another web-page, it can extract it from the cached bundle.zip archive instead of making another HTTP request.
&lt;br&gt;&lt;br&gt;Likewise:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;link type=&amp;quot;text/css&amp;quot; rel=&amp;quot;StyleSheet&amp;quot; href=&amp;quot;/folder/stylesheetfile.css&amp;quot; asset=&amp;quot;/bundle.zip/stylesheetfile.css&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;/folder/javascriptfile.js&amp;quot; asset=&amp;quot;/bundle.zip/javascriptfile.js&amp;quot;&amp;gt;&amp;lt;script&amp;gt;
&lt;br&gt;&lt;br&gt;I hope this makes sense.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;David Bailey,
&lt;br&gt;Bath Spa University - Web Manager.
&lt;br&gt;&lt;br&gt;&lt;br&gt;[As long as you don't print this email, no trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.]
&lt;br&gt;&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26264321&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;public-html-comments-request@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26264321&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;public-html-comments-request@...&lt;/a&gt;] On Behalf Of jxtps435
&lt;br&gt;Sent: 08 November 2009 19:58
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26264321&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;public-html-comments@...&lt;/a&gt;
&lt;br&gt;Subject: Asset bundles for faster page fetching (fewer requests to the server)
&lt;br&gt;&lt;br&gt;Hi all, 
&lt;br&gt;&lt;br&gt;It would be great if it were possible for a web page author to specify an &amp;quot;asset bundle&amp;quot; to use for the web page authored. This asset bundle could be e.g. a zip file containing parts/all of the css, javascript and image content needed by the page. A user agent could then fetch the asset bundle (one request) and in it find most/all of the assets needed to render the page, without the need to make additional requests to the server (with all the attendant latency etc issues).
&lt;br&gt;&lt;br&gt;User agents that are not aware of the asset bundle concept would simply ignore the asset bundle reference and fetch the assets in the way it's already done today, thereby ensuring full backwards compatibility. 
&lt;br&gt;&lt;br&gt;Assets required for page rendering but not found in the asset bundle would be fetched the way it's already done today (so you can optimize what you put in the asset bundle). 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Benefits: 
&lt;br&gt;&lt;br&gt;- Lower the impact of latency on page loading for web pages with multiple assets (almost all modern web pages). 
&lt;br&gt;&lt;br&gt;- Many web page authors do not have fine-grained control over the ETAGs generated for their css/javascript/image assets, which then requires the user agent to issue refresh requests for all those assets. With an asset bundle the number of such requests could be drastically reduced. 
&lt;br&gt;&lt;br&gt;- Even in the case where web page authors do have fine-grained control over the ETAGs, it can be difficult to take advantage of this since you may not know when content will need to be refreshed. If you set the ETAG to ~infinity, then it requires significant labor to update the file names of content that has changed to make sure it is refreshed. With an asset bundle you would only need to update a single filename. 
&lt;br&gt;&lt;br&gt;- Many web servers are poorly configured and do not compress e.g. css and javascript content they serve. An asset bundle would be compressed by virtue of construction. 
&lt;br&gt;&lt;br&gt;- Fully backwards compatible with opt-in for web page authors and user agents. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;The asset bundle itself could be easily generated either manually by the web page author (zip the contents of the directory containing the assets for simple cases), or automated by a tool in e.g. the web framework used (if any). This would allow for single-point-of-update with an ETAG set to ~infinity - just change the name of the asset file, rather than the name of each individual asset. Note that this could easily be fully automated in any of the popular web frameworks in use today.
&lt;br&gt;&lt;br&gt;The asset bundle could be referenced in the web page by e.g. something like &amp;lt;link rel=&amp;quot;assetbundle&amp;quot; src=&amp;quot;/assetbundle.zip&amp;quot; ... &amp;gt;. 
&lt;br&gt;&lt;br&gt;Tools used to create the asset bundle could be made sufficiently smart so as to only include &amp;quot;small&amp;quot; assets (e.g. the 50+ &amp;lt;4kb images), but not &amp;quot;big&amp;quot; assets (e.g. the 2mb video). 
&lt;br&gt;&lt;br&gt;Mapping the directory structure inside the asset bundle to the path structure of the assets used in the web page/css/javascript should be straightforward, even for complex cloud-fronted/akamai-ed configurations, with the use of a few optional path mapping attributes in the tag used to reference the asset bundle. 
&lt;br&gt;&lt;br&gt;Since it would be completely optional to use an asset bundle, the user agent should assume that the asset bundle is an authoritative source for the most recent version of any assets found inside of it, thereby allowing the user agent to skip additional refresh requests for those assets. 
&lt;br&gt;&lt;br&gt;If multiple asset bundles are referenced by a web page, the most recent one specified that contains a given asset would be used for that asset (i.e. order-in-web-page decides priority, just like for css).
&lt;br&gt;&lt;br&gt;Use of streaming compression standards would allow for the unpacking of received bundle contents before the full file has been fetched. This would allow conscientious web page authors and their tools to optimize the storage order inside the asset bundle.  
&lt;br&gt;&lt;br&gt;In a low-latency situation a user agent may be able to fetch the assets faster if the requests are made in parallel, rather than through the by construction serialized fetching of an asset bundle. User agents can be optimized to detect and take advantage of this (i.e. the asset bundle is a &amp;quot;hint&amp;quot; or &amp;quot;suggestion&amp;quot; not a requirement). 
&lt;br&gt;&lt;br&gt;I read somewhere that the typical website visitor views on the order of 5 pages. With say 50 assets for each page (including the page itself), a user agent that aggressively checks for refreshed content may find itself making 5*50=250 requests to the website. With an asset bundle this would be 5*2=10 requests, and if the asset bundle's ETAG is properly configured, it would be 6 requests (vs 54 for a fully ETAGged non-asset-bundle site). 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thank you for reading this. 
&lt;br&gt;Jxtps
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Asset-bundles-for-faster-page-fetching-%28fewer-requests-to-the-server%29-tp26260349p26264321.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260349</id>
	<title>Asset bundles for faster page fetching (fewer requests to the server)</title>
	<published>2009-11-08T11:58:01Z</published>
	<updated>2009-11-08T11:58:01Z</updated>
	<author>
		<name>jxtps435</name>
	</author>
	<content type="html">&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(0, 0, 0); font-family: &amp;#39;Times New Roman&amp;#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;Hi all, &lt;div&gt;
&lt;br&gt;&lt;/div&gt;&lt;div&gt;It would be great if it were possible for a web page author to specify an &amp;quot;asset bundle&amp;quot; to use for the web page authored. This asset bundle could be e.g. a zip file containing parts/all of the css, javascript and image content needed by the page. A user agent could then fetch the asset bundle (one request) and in it find most/all of the assets needed to render the page, without the need to make additional requests to the server (with all the attendant latency etc issues).&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;User agents that are not aware of the asset bundle concept would simply ignore the asset bundle reference and fetch the assets in the way it&amp;#39;s already done today, thereby ensuring full backwards compatibility. &lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Assets required for page rendering but not found in the asset bundle would be fetched the way it&amp;#39;s already done today (so you can optimize what you put in the asset bundle). &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;
&lt;br&gt;&lt;/div&gt;&lt;div&gt;Benefits: &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;- Lower the impact of latency on page loading for web pages with multiple assets (almost all modern web pages). &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;- Many web page authors do not have fine-grained control over the ETAGs generated for their css/javascript/image assets, which then requires the user agent to issue refresh requests for all those assets. With an asset bundle the number of such requests could be drastically reduced. &lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;- Even in the case where web page authors do have fine-grained control over the ETAGs, it can be difficult to take advantage of this since you may not know when content will need to be refreshed. If you set the ETAG to ~infinity, then it requires significant labor to update the file names of content that has changed to make sure it is refreshed. With an asset bundle you would only need to update a single filename. &lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;- Many web servers are poorly configured and do not compress e.g. css and javascript content they serve. An asset bundle would be compressed by virtue of construction. &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;- Fully backwards compatible with opt-in for web page authors and user agents. &lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;The asset bundle itself could be easily generated either manually by the web page author (zip the contents of the directory containing the assets for simple cases), or automated by a tool in e.g. the web framework used (if any). This would allow for single-point-of-update with an ETAG set to ~infinity - just change the name of the asset file, rather than the name of each individual asset. Note that this could easily be fully automated in any of the popular web frameworks in use today.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;The asset bundle could be referenced in the web page by e.g. something like &amp;lt;link rel=&amp;quot;assetbundle&amp;quot; src=&amp;quot;/assetbundle.zip&amp;quot; ... &amp;gt;. &lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Tools used to create the asset bundle could be made sufficiently smart so as to only include &amp;quot;small&amp;quot; assets (e.g. the 50+ &amp;lt;4kb images), but not &amp;quot;big&amp;quot; assets (e.g. the 2mb video). &lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Mapping the directory structure inside the asset bundle to the path structure of the assets used in the web page/css/javascript should be straightforward, even for complex cloud-fronted/akamai-ed configurations, with the use of a few optional path mapping attributes in the tag used to reference the asset bundle. &lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Since it would be completely optional to use an asset bundle, the user agent should assume that the asset bundle is an authoritative source for the most recent version of any assets found inside of it, thereby allowing the user agent to skip additional refresh requests for those assets. &lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;If multiple asset bundles are referenced by a web page, the most recent one specified that contains a given asset would be used for that asset (i.e. order-in-web-page decides priority, just like for css).&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Use of streaming compression standards would allow for the unpacking of received bundle contents before the full file has been fetched. This would allow conscientious web page authors and their tools to optimize the storage order inside the asset bundle.  &lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;In a low-latency situation a user agent may be able to fetch the assets faster if the requests are made in parallel, rather than through the by construction serialized fetching of an asset bundle. User agents can be optimized to detect and take advantage of this (i.e. the asset bundle is a &amp;quot;hint&amp;quot; or &amp;quot;suggestion&amp;quot; not a requirement). &lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I read somewhere that the typical website visitor views on the order of 5 pages. With say 50 assets for each page (including the page itself), a user agent that aggressively checks for refreshed content may find itself making 5*50=250 requests to the website. With an asset bundle this would be 5*2=10 requests, and if the asset bundle&amp;#39;s ETAG is properly configured, it would be 6 requests (vs 54 for a fully ETAGged non-asset-bundle site). &lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thank you for reading this. &lt;/div&gt;&lt;div&gt;Jxtps&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;br class=&quot;Apple-interchange-newline&quot;&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Asset-bundles-for-faster-page-fetching-%28fewer-requests-to-the-server%29-tp26260349p26260349.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26181601</id>
	<title>Re: Value of &lt;input type=file multiple&gt; should list all files</title>
	<published>2009-11-03T07:42:43Z</published>
	<updated>2009-11-03T07:42:43Z</updated>
	<author>
		<name>Anne van Kesteren-2</name>
	</author>
	<content type="html">On Sun, 01 Nov 2009 15:33:15 -0800, Geoff Lankow &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26181601&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;geoff@...&lt;/a&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; the filename of the first file in the list of selected files &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.w3.org/TR/html5/forms.html#concept-input-type-file-selected&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/TR/html5/forms.html#concept-input-type-file-selected&lt;/a&gt;&amp;gt;, &amp;nbsp;
&lt;br&gt;&amp;gt; if any, or the empty string if the list is empty. On setting, it must &amp;nbsp;
&lt;br&gt;&amp;gt; throw an |INVALID_ACCESS_ERR &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.w3.org/TR/html5/infrastructure.html#invalid_access_err&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/TR/html5/infrastructure.html#invalid_access_err&lt;/a&gt;&amp;gt;| &amp;nbsp;
&lt;br&gt;&amp;gt; exception.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Why only the first file in the list? It can't be for &amp;nbsp;
&lt;br&gt;&amp;gt; backwards-compatibility, as the multiple attribute never existed before &amp;nbsp;
&lt;br&gt;&amp;gt; this spec. Doesn't it make sense to list all the files?
&lt;/div&gt;&lt;br&gt;You can get the file names through &amp;lt;input&amp;gt;.files. Making &amp;lt;input&amp;gt;.value &amp;nbsp;
&lt;br&gt;more complex as well did not seem worth it.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Anne van Kesteren
&lt;br&gt;&lt;a href=&quot;http://annevankesteren.nl/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://annevankesteren.nl/&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Value-of-%3Cinput-type%3Dfile-multiple%3E-should-list-all-files-tp26157209p26181601.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26175059</id>
	<title>scrollIntoView scrolls what</title>
	<published>2009-11-02T16:39:51Z</published>
	<updated>2009-11-02T16:39:51Z</updated>
	<author>
		<name>Mike Buchanan-2</name>
	</author>
	<content type="html">It may be too late for this, but I think the spec would benefit from more clarity and/or control of what element.scrollIntoView does.  In particular, I&amp;#39;m thinking of the case where the element is contained in multiple structures that can scroll (e.g. both the div and whole page, or one scrolling div nested inside another).  &lt;div&gt;

&lt;br&gt;&lt;/div&gt;&lt;div&gt;As it is, the spec is unclear about which elements should be scrolled, and there are scenarios in which there would be more than one way to scroll the content into view.  I would suggest at least standardizing this; I propose that when two possible solutions are available, the one that uses only deeper elements of the DOM be used.&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;For even more control, another optional argument could be added that allows the caller to specify which containers should be scrolled.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Cheers,&lt;/div&gt;&lt;div&gt;Mike&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;
&lt;div&gt;Addendum: Here&amp;#39;s a bit of evidence that I&amp;#39;m not the only person who wants this:&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://codingforums.com/showthread.php?t=169209&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://codingforums.com/showthread.php?t=169209&lt;/a&gt;&lt;/div&gt;&lt;div&gt;
&lt;a href=&quot;http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_22725518.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_22725518.html&lt;/a&gt;&lt;/div&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/scrollIntoView-scrolls-what-tp26175059p26175059.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26157209</id>
	<title>Value of &lt;input type=file multiple&gt; should list all files</title>
	<published>2009-11-01T15:33:15Z</published>
	<updated>2009-11-01T15:33:15Z</updated>
	<author>
		<name>Geoff Lankow</name>
	</author>
	<content type="html">the filename of the first file in the list of selected files 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.w3.org/TR/html5/forms.html#concept-input-type-file-selected&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/TR/html5/forms.html#concept-input-type-file-selected&lt;/a&gt;&amp;gt;, if 
&lt;br&gt;any, or the empty string if the list is empty. On setting, it must throw 
&lt;br&gt;an |INVALID_ACCESS_ERR 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.w3.org/TR/html5/infrastructure.html#invalid_access_err&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/TR/html5/infrastructure.html#invalid_access_err&lt;/a&gt;&amp;gt;| 
&lt;br&gt;exception.
&lt;br&gt;&lt;br&gt;Why only the first file in the list? It can't be for 
&lt;br&gt;backwards-compatibility, as the multiple attribute never existed before 
&lt;br&gt;this spec. Doesn't it make sense to list all the files?
&lt;br&gt;&lt;br&gt;-Geoff
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Value-of-%3Cinput-type%3Dfile-multiple%3E-should-list-all-files-tp26157209p26157209.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25902344</id>
	<title>Re: Video DOM API</title>
	<published>2009-10-14T19:54:05Z</published>
	<updated>2009-10-14T19:54:05Z</updated>
	<author>
		<name>Michael A. Puls II</name>
	</author>
	<content type="html">On Wed, 14 Oct 2009 06:50:49 -0400, Simon Pieters &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25902344&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;simonp@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, 14 Oct 2009 12:11:27 +0200, Michael A. Puls II &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25902344&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shadow2531@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; What behavior do you expect when using &amp;lt;source&amp;gt;s instead of src?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Well, you can insert, replace and remove a &amp;lt;source&amp;gt; element. You can &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; change @src and @type on each &amp;lt;source&amp;gt; that's present.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Also keep in mind that the parser inserts &amp;lt;source&amp;gt; elements.
&lt;/div&gt;&lt;br&gt;O.K.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; One easy way (thought-wise) to handle that is that whenever any of that &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; happens, the UA should stop, unload, reset states and figure out what &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;source&amp;gt; to play.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The resource selection algorithm tries each &amp;lt;source&amp;gt; in turn. It seems &amp;nbsp;
&lt;br&gt;&amp;gt; bad to start over several times during parsing.
&lt;br&gt;&lt;br&gt;O.K.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; On the other hand, you might want to change @src for multiple &amp;lt;source&amp;gt;s &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; without triggering a reevalutation until you explicitly call for one.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Indeed.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Or, you might want a mix of the two that depends on whether there's &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; just one &amp;lt;source&amp;gt; or where you're inserting a &amp;lt;source&amp;gt; (before the one &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; that's currently being used for example) or which &amp;lt;source&amp;gt; you're &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; removing (the one being used or not).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So, I mostly expect the first way. However, the second seems simpler &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; and would just cover everything.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; But, note that I haven't really dealt with the multiple type fallback &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; stuff yet, so I don't have a strong opinion on &amp;lt;source&amp;gt; yet.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Michael
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25902344.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25888885</id>
	<title>Re: Video DOM API</title>
	<published>2009-10-14T03:50:49Z</published>
	<updated>2009-10-14T03:50:49Z</updated>
	<author>
		<name>Simon Pieters-3</name>
	</author>
	<content type="html">On Wed, 14 Oct 2009 12:11:27 +0200, Michael A. Puls II &amp;nbsp;
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25888885&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shadow2531@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; What behavior do you expect when using &amp;lt;source&amp;gt;s instead of src?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Well, you can insert, replace and remove a &amp;lt;source&amp;gt; element. You can &amp;nbsp;
&lt;br&gt;&amp;gt; change @src and @type on each &amp;lt;source&amp;gt; that's present.
&lt;br&gt;&lt;br&gt;Also keep in mind that the parser inserts &amp;lt;source&amp;gt; elements.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; One easy way (thought-wise) to handle that is that whenever any of that &amp;nbsp;
&lt;br&gt;&amp;gt; happens, the UA should stop, unload, reset states and figure out what &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;lt;source&amp;gt; to play.
&lt;br&gt;&lt;br&gt;The resource selection algorithm tries each &amp;lt;source&amp;gt; in turn. It seems bad &amp;nbsp;
&lt;br&gt;to start over several times during parsing.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; On the other hand, you might want to change @src for multiple &amp;lt;source&amp;gt;s &amp;nbsp;
&lt;br&gt;&amp;gt; without triggering a reevalutation until you explicitly call for one.
&lt;br&gt;&lt;br&gt;Indeed.
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Or, you might want a mix of the two that depends on whether there's just &amp;nbsp;
&lt;br&gt;&amp;gt; one &amp;lt;source&amp;gt; or where you're inserting a &amp;lt;source&amp;gt; (before the one that's &amp;nbsp;
&lt;br&gt;&amp;gt; currently being used for example) or which &amp;lt;source&amp;gt; you're removing (the &amp;nbsp;
&lt;br&gt;&amp;gt; one being used or not).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So, I mostly expect the first way. However, the second seems simpler and &amp;nbsp;
&lt;br&gt;&amp;gt; would just cover everything.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But, note that I haven't really dealt with the multiple type fallback &amp;nbsp;
&lt;br&gt;&amp;gt; stuff yet, so I don't have a strong opinion on &amp;lt;source&amp;gt; yet.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Simon Pieters
&lt;br&gt;Opera Software
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25888885.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25888570</id>
	<title>Re: Video DOM API</title>
	<published>2009-10-14T03:19:11Z</published>
	<updated>2009-10-14T03:19:11Z</updated>
	<author>
		<name>Michael A. Puls II</name>
	</author>
	<content type="html">On Wed, 14 Oct 2009 04:54:57 -0400, Ian Hickson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25888570&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ian@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, 14 Oct 2009, Michael A. Puls II wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I am that other person and here's what I personally expect, fwiw:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; When setting src:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 1. The current media should stop playing.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2. It should then be unloaded.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 3. All states should be reset (including the play state).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 4. The new media should start loading.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 5. If autoplay is true, the new media should start playing. If not, it
&lt;br&gt;&amp;gt;&amp;gt; only starts playing when you call play().
&lt;br&gt;&amp;gt; That is now the case.
&lt;/div&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Michael
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25888570.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25888465</id>
	<title>Re: Video DOM API</title>
	<published>2009-10-14T03:11:27Z</published>
	<updated>2009-10-14T03:11:27Z</updated>
	<author>
		<name>Michael A. Puls II</name>
	</author>
	<content type="html">On Wed, 14 Oct 2009 04:25:42 -0400, Simon Pieters &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25888465&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;simonp@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, 14 Oct 2009 06:12:01 +0200, Michael A. Puls II &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25888465&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shadow2531@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Gervase Markham &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25888465&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gerv@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On a &amp;lt;video&amp;gt; element (I haven't tried &amp;lt;audio&amp;gt;), if you change the src=
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; attribute to a new file, you have to call .load() before .play(),
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; otherwise it replays the old file. This lost me half an hour of 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; debugging, and recently another person posted in the Mozilla newsgroups
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; having exactly the same problem.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; (Thanks for posting this)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I am that other person and here's what I personally expect, fwiw:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; When setting src:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 1. The current media should stop playing.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2. It should then be unloaded.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 3. All states should be reset (including the play state).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 4. The new media should start loading.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 5. If autoplay is true, the new media should start playing. If not, it &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; only starts playing when you call play().
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; My use-case is setting @src when clicking on a link (in an ordered list &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; of many links with click handlers) to an .ogg file.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Having to call load() after setting src seems odd since I set src for a &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; reason, which is, to load it so I can play() it (or automatically play &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; it if I have autoplay set to true).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; For &amp;lt;object&amp;gt; when you change @type/@data, the object is pretty much &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; re-evaluated. I pretty much expect the same when setting src for &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;audio&amp;gt; and &amp;lt;video&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What behavior do you expect when using &amp;lt;source&amp;gt;s instead of src?
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Well, you can insert, replace and remove a &amp;lt;source&amp;gt; element. You can &amp;nbsp;
&lt;br&gt;change @src and @type on each &amp;lt;source&amp;gt; that's present.
&lt;br&gt;&lt;br&gt;One easy way (thought-wise) to handle that is that whenever any of that &amp;nbsp;
&lt;br&gt;happens, the UA should stop, unload, reset states and figure out what &amp;nbsp;
&lt;br&gt;&amp;lt;source&amp;gt; to play.
&lt;br&gt;&lt;br&gt;On the other hand, you might want to change @src for multiple &amp;lt;source&amp;gt;s &amp;nbsp;
&lt;br&gt;without triggering a reevalutation until you explicitly call for one.
&lt;br&gt;&lt;br&gt;Or, you might want a mix of the two that depends on whether there's just &amp;nbsp;
&lt;br&gt;one &amp;lt;source&amp;gt; or where you're inserting a &amp;lt;source&amp;gt; (before the one that's &amp;nbsp;
&lt;br&gt;currently being used for example) or which &amp;lt;source&amp;gt; you're removing (the &amp;nbsp;
&lt;br&gt;one being used or not).
&lt;br&gt;&lt;br&gt;So, I mostly expect the first way. However, the second seems simpler and &amp;nbsp;
&lt;br&gt;would just cover everything.
&lt;br&gt;&lt;br&gt;But, note that I haven't really dealt with the multiple type fallback &amp;nbsp;
&lt;br&gt;stuff yet, so I don't have a strong opinion on &amp;lt;source&amp;gt; yet.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Michael
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25888465.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25887407</id>
	<title>Re: Video DOM API</title>
	<published>2009-10-14T01:44:37Z</published>
	<updated>2009-10-14T01:44:37Z</updated>
	<author>
		<name>Ian Hickson</name>
	</author>
	<content type="html">On Thu, 8 Oct 2009, Gervase Markham wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On a &amp;lt;video&amp;gt; element (I haven't tried &amp;lt;audio&amp;gt;), if you change the src= 
&lt;br&gt;&amp;gt; attribute to a new file, you have to call .load() before .play(), 
&lt;br&gt;&amp;gt; otherwise it replays the old file. This lost me half an hour of 
&lt;br&gt;&amp;gt; debugging, and recently another person posted in the Mozilla newsgroups 
&lt;br&gt;&amp;gt; having exactly the same problem.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am told by an informed source (Boris Zbarsky) that the spec for 
&lt;br&gt;&amp;gt; &amp;lt;video&amp;gt; requires this behaviour. Having spent ten minutes reading the 
&lt;br&gt;&amp;gt; highly comprehensive specification, I could not find the location where 
&lt;br&gt;&amp;gt; it says this. However, I believe him :-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Question: why? This is counter-intuitive. Under what circumstances would 
&lt;br&gt;&amp;gt; you want to set the src= attribute of a &amp;lt;video&amp;gt; tag to a file which you 
&lt;br&gt;&amp;gt; did not want the loading process to begin immediately? Can we eliminate 
&lt;br&gt;&amp;gt; the requirement, e.g. by having play() implicitly call load() if it 
&lt;br&gt;&amp;gt; hasn't been called?
&lt;/div&gt;&lt;br&gt;I've made setting .src stop the video and reload as you request.
&lt;br&gt;&lt;br&gt;It doesn't affect &amp;lt;source&amp;gt; processing, though.
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Thu, 8 Oct 2009, Simon Pieters wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Maybe we could remove the networkState check when the src attribute is 
&lt;br&gt;&amp;gt; set or changed. Should the &amp;quot;in a Document&amp;quot; check be removed, too? That 
&lt;br&gt;&amp;gt; is, do you want to be able to do
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; var a = new Audio('foo');
&lt;br&gt;&amp;gt; a.play();
&lt;br&gt;&amp;gt; a.onended = function() { a.src = 'bar'; a.onended = null; }
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (You wouldn't need to invoke play() again, because the media isn't 
&lt;br&gt;&amp;gt; paused when it has ended.)
&lt;/div&gt;&lt;br&gt;It calls load(), so you do have to do the check.
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Sat, 10 Oct 2009, Simon Pieters wrote:
&lt;br&gt;&amp;gt; On Fri, 09 Oct 2009 18:34:02 +0200, Gervase Markham &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25887407&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gerv@...&lt;/a&gt;&amp;gt; 
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I just want play() to implicitly invoke load(), because then it all 
&lt;br&gt;&amp;gt; &amp;gt; DWYM.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Even if the first video hasn't ended yet? Even if src hasn't changed?
&lt;br&gt;&lt;br&gt;On Sat, 10 Oct 2009, Gervase Markham wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Well, if src hasn't changed, then presumably load() is a no-op under any
&lt;br&gt;&amp;gt; circumstances?
&lt;br&gt;&lt;br&gt;load() always restarts the entire loading algorithm.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; If a video is playing, I change the src= and then call play() again, I don't
&lt;br&gt;&amp;gt; think it's unreasonable to expect the element to start playing the new src.
&lt;br&gt;&lt;br&gt;play() maps to the play button in the UI. So if made it wait until play() 
&lt;br&gt;was called, then the script could change the src, not call play(), and 
&lt;br&gt;then the user would find that if he hit pause and then play again, it 
&lt;br&gt;would suddenly load the new video. That would be rather weird.
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Thu, 8 Oct 2009, Arthur Clifford wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Wouldn't it be easier to have play take an optional src parameter?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; var a=new Audio();
&lt;br&gt;&amp;gt; a.onended = function() { if(a.src=='foo') a.play('bar'); }
&lt;br&gt;&amp;gt; a.play('foo');
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; internally play could do this check:
&lt;br&gt;&amp;gt; if( inSrc !== src) src=inSrc ... load and play video
&lt;br&gt;&amp;gt; else if at end of audio, rewind and play
&lt;br&gt;&amp;gt; else play forward from where the playback head is at.
&lt;/div&gt;&lt;br&gt;We could do that, but that would be redundant with setting src=&amp;quot;&amp;quot; (which 
&lt;br&gt;we can't really remove), so I don't see much point.
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Thu, 8 Oct 2009, Musgrove, Jason L wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If what is being aimed for is the sequential playing of more than one 
&lt;br&gt;&amp;gt; media item, why not amend the spec such that the appropriate media 
&lt;br&gt;&amp;gt; element (either &amp;lt;audio&amp;gt; or &amp;lt;video&amp;gt;) be permitted to have child elements 
&lt;br&gt;&amp;gt; that define a playlist in lieu of a src attribute (which can still be 
&lt;br&gt;&amp;gt; used if only one media item is to played), and let the browser take care 
&lt;br&gt;&amp;gt; of the sequencing without the unnecessary addition of script to do this.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Suggested example:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;video&amp;gt;
&lt;br&gt;&amp;gt; 	&amp;lt;clip src=&amp;quot;video1.m4v&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; 	&amp;lt;clip src=&amp;quot;video2.m4v&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/video&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The API could then be augmented to include a &amp;quot;.clips&amp;quot; property which 
&lt;br&gt;&amp;gt; represents a collection of the clip elements, and provides appropriate 
&lt;br&gt;&amp;gt; methods to manipulate the &amp;quot;playlist&amp;quot;.
&lt;/div&gt;&lt;br&gt;Playlists are on the cards for v2.
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Wed, 14 Oct 2009, Michael A. Puls II wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am that other person and here's what I personally expect, fwiw:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; When setting src:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1. The current media should stop playing.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2. It should then be unloaded.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 3. All states should be reset (including the play state).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 4. The new media should start loading.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 5. If autoplay is true, the new media should start playing. If not, it 
&lt;br&gt;&amp;gt; only starts playing when you call play().
&lt;/div&gt;&lt;br&gt;That is now the case.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ian Hickson &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; U+1047E &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)\._.,--....,'``. &amp;nbsp; &amp;nbsp;fL
&lt;br&gt;&lt;a href=&quot;http://ln.hixie.ch/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ln.hixie.ch/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;U+263A &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/, &amp;nbsp; _.. \ &amp;nbsp; _\ &amp;nbsp;;`._ ,.
&lt;br&gt;Things that are impossible just take longer. &amp;nbsp; `._.-(,_..'--(,_..'`-.;.'
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25887407.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25887207</id>
	<title>Re: Video DOM API</title>
	<published>2009-10-14T01:25:42Z</published>
	<updated>2009-10-14T01:25:42Z</updated>
	<author>
		<name>Simon Pieters-3</name>
	</author>
	<content type="html">On Wed, 14 Oct 2009 06:12:01 +0200, Michael A. Puls II &amp;nbsp;
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25887207&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shadow2531@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Gervase Markham &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25887207&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gerv@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On a &amp;lt;video&amp;gt; element (I haven't tried &amp;lt;audio&amp;gt;), if you change the src=
&lt;br&gt;&amp;gt;&amp;gt; attribute to a new file, you have to call .load() before .play(),
&lt;br&gt;&amp;gt;&amp;gt; otherwise it replays the old file. This lost me half an hour of 
&lt;br&gt;&amp;gt;&amp;gt; debugging, and recently another person posted in the Mozilla newsgroups
&lt;br&gt;&amp;gt;&amp;gt; having exactly the same problem.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (Thanks for posting this)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am that other person and here's what I personally expect, fwiw:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When setting src:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1. The current media should stop playing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2. It should then be unloaded.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 3. All states should be reset (including the play state).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 4. The new media should start loading.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 5. If autoplay is true, the new media should start playing. If not, it &amp;nbsp;
&lt;br&gt;&amp;gt; only starts playing when you call play().
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My use-case is setting @src when clicking on a link (in an ordered list &amp;nbsp;
&lt;br&gt;&amp;gt; of many links with click handlers) to an .ogg file.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Having to call load() after setting src seems odd since I set src for a &amp;nbsp;
&lt;br&gt;&amp;gt; reason, which is, to load it so I can play() it (or automatically play &amp;nbsp;
&lt;br&gt;&amp;gt; it if I have autoplay set to true).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; For &amp;lt;object&amp;gt; when you change @type/@data, the object is pretty much &amp;nbsp;
&lt;br&gt;&amp;gt; re-evaluated. I pretty much expect the same when setting src for &amp;lt;audio&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; and &amp;lt;video&amp;gt;
&lt;/div&gt;&lt;br&gt;What behavior do you expect when using &amp;lt;source&amp;gt;s instead of src?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Simon Pieters
&lt;br&gt;Opera Software
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25887207.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25885077</id>
	<title>Re: Video DOM API</title>
	<published>2009-10-13T21:12:01Z</published>
	<updated>2009-10-13T21:12:01Z</updated>
	<author>
		<name>Michael A. Puls II</name>
	</author>
	<content type="html">Gervase Markham &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25885077&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gerv@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; On a &amp;lt;video&amp;gt; element (I haven't tried &amp;lt;audio&amp;gt;), if you change the src=
&lt;br&gt;&amp;gt; attribute to a new file, you have to call .load() before .play(),
&lt;br&gt;&amp;gt; otherwise it replays the old file. This lost me half an hour of 
&lt;br&gt;&amp;gt; debugging, and recently another person posted in the Mozilla newsgroups
&lt;br&gt;&amp;gt; having exactly the same problem.
&lt;br&gt;&lt;br&gt;(Thanks for posting this)
&lt;br&gt;&lt;br&gt;I am that other person and here's what I personally expect, fwiw:
&lt;br&gt;&lt;br&gt;When setting src:
&lt;br&gt;&lt;br&gt;1. The current media should stop playing.
&lt;br&gt;&lt;br&gt;2. It should then be unloaded.
&lt;br&gt;&lt;br&gt;3. All states should be reset (including the play state).
&lt;br&gt;&lt;br&gt;4. The new media should start loading.
&lt;br&gt;&lt;br&gt;5. If autoplay is true, the new media should start playing. If not, it &amp;nbsp;
&lt;br&gt;only starts playing when you call play().
&lt;br&gt;&lt;br&gt;My use-case is setting @src when clicking on a link (in an ordered list of &amp;nbsp;
&lt;br&gt;many links with click handlers) to an .ogg file.
&lt;br&gt;&lt;br&gt;Having to call load() after setting src seems odd since I set src for a &amp;nbsp;
&lt;br&gt;reason, which is, to load it so I can play() it (or automatically play it &amp;nbsp;
&lt;br&gt;if I have autoplay set to true).
&lt;br&gt;&lt;br&gt;For &amp;lt;object&amp;gt; when you change @type/@data, the object is pretty much &amp;nbsp;
&lt;br&gt;re-evaluated. I pretty much expect the same when setting src for &amp;lt;audio&amp;gt; &amp;nbsp;
&lt;br&gt;and &amp;lt;video&amp;gt;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Michael
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25885077.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25838906</id>
	<title>RE: Video DOM API</title>
	<published>2009-10-10T15:06:05Z</published>
	<updated>2009-10-10T15:06:05Z</updated>
	<author>
		<name>Arthur Clifford</name>
	</author>
	<content type="html">I would think that changing element.src would load and play unless
&lt;br&gt;pre-buffering is enabled. If element is set to pre-buffer, then calling play
&lt;br&gt;would be required after setting src. And calling play may not necessarily
&lt;br&gt;need to be done immediately after src is set.
&lt;br&gt;&lt;br&gt;However, I think if you are going to have multiple audio clips playing back
&lt;br&gt;to back that the idea someone mentioned a day or two ago makes more sense;
&lt;br&gt;the idea of having a list of clip nodes that, in effect, is like having the
&lt;br&gt;images array and the ability to preload images and dynamically swap image
&lt;br&gt;sources at runtime via JS. Setting src on an img tag immediately displays
&lt;br&gt;the image; should audio/video content be different? If a clip were preloaded
&lt;br&gt;setting src to that clip would begin playing that clip, if it was not set to
&lt;br&gt;preload it would load and play the clip as soon as you set the src of the
&lt;br&gt;clip.
&lt;br&gt;&lt;br&gt;ArtC
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25838906.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25835283</id>
	<title>Re: Video DOM API</title>
	<published>2009-10-10T08:33:54Z</published>
	<updated>2009-10-10T08:33:54Z</updated>
	<author>
		<name>Philip Jägenstedt-2</name>
	</author>
	<content type="html">On Sat, 10 Oct 2009 12:02:42 +0200, Gervase Markham &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25835283&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gerv@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 10/10/09 10:44, Simon Pieters wrote:
&lt;br&gt;&amp;gt;&amp;gt; I think it is unreasonable, because pause() and play() are intended to
&lt;br&gt;&amp;gt;&amp;gt; be used for author-supplied scripted controls, and the user should be
&lt;br&gt;&amp;gt;&amp;gt; able to pause and play the first video without that causing the new
&lt;br&gt;&amp;gt;&amp;gt; video to be loaded.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But then why has the app author set the src= element if they don't want &amp;nbsp;
&lt;br&gt;&amp;gt; the new file to be the one that element is playing?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here's the bottom line: I and at least one other person have been &amp;nbsp;
&lt;br&gt;&amp;gt; confused by this API, because we expect
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; element.src = &amp;quot;file&amp;quot;;
&lt;br&gt;&amp;gt; element.play();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; to play &amp;quot;file&amp;quot;. I don't think that's unreasonable, I think it's sensible &amp;nbsp;
&lt;br&gt;&amp;gt; and intuitive. My feedback on the spec is: make that work. I don't care &amp;nbsp;
&lt;br&gt;&amp;gt; how :-)
&lt;/div&gt;&lt;br&gt;Making setting src implicitly call load() irrespective of the current &amp;nbsp;
&lt;br&gt;state would have desired effect and as far as I can see there's little &amp;nbsp;
&lt;br&gt;reason to think someone would set src without actually intending to use &amp;nbsp;
&lt;br&gt;the resource. There would be nothing special about play(), doing nothing &amp;nbsp;
&lt;br&gt;at all after setting src would also load the new resource, although it &amp;nbsp;
&lt;br&gt;would initially be paused.
&lt;br&gt;&lt;br&gt;While this would probably be more intuitive, I don't quite see the use &amp;nbsp;
&lt;br&gt;case for it if pre-buffering is important.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Philip Jägenstedt
&lt;br&gt;Core Developer
&lt;br&gt;Opera Software
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25835283.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25832703</id>
	<title>Re: Video DOM API</title>
	<published>2009-10-10T03:02:42Z</published>
	<updated>2009-10-10T03:02:42Z</updated>
	<author>
		<name>Gervase Markham-3</name>
	</author>
	<content type="html">On 10/10/09 10:44, Simon Pieters wrote:
&lt;br&gt;&amp;gt; I think it is unreasonable, because pause() and play() are intended to
&lt;br&gt;&amp;gt; be used for author-supplied scripted controls, and the user should be
&lt;br&gt;&amp;gt; able to pause and play the first video without that causing the new
&lt;br&gt;&amp;gt; video to be loaded.
&lt;br&gt;&lt;br&gt;But then why has the app author set the src= element if they don't want 
&lt;br&gt;the new file to be the one that element is playing?
&lt;br&gt;&lt;br&gt;Here's the bottom line: I and at least one other person have been 
&lt;br&gt;confused by this API, because we expect
&lt;br&gt;&lt;br&gt;element.src = &amp;quot;file&amp;quot;;
&lt;br&gt;element.play();
&lt;br&gt;&lt;br&gt;to play &amp;quot;file&amp;quot;. I don't think that's unreasonable, I think it's sensible 
&lt;br&gt;and intuitive. My feedback on the spec is: make that work. I don't care 
&lt;br&gt;how :-)
&lt;br&gt;&lt;br&gt;Gerv
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25832703.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25832586</id>
	<title>Re: Video DOM API</title>
	<published>2009-10-10T02:44:55Z</published>
	<updated>2009-10-10T02:44:55Z</updated>
	<author>
		<name>Simon Pieters-3</name>
	</author>
	<content type="html">On Sat, 10 Oct 2009 11:20:10 +0200, Gervase Markham &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25832586&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gerv@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 10/10/09 09:19, Simon Pieters wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Actually, no, scratch that.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I just want play() to implicitly invoke load(), because then it all &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; DWYM.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Even if the first video hasn't ended yet? Even if src hasn't changed?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Well, if src hasn't changed, then presumably load() is a no-op under any &amp;nbsp;
&lt;br&gt;&amp;gt; circumstances?
&lt;/div&gt;&lt;br&gt;No. load() empties the media element, resets playbackRate, fires some &amp;nbsp;
&lt;br&gt;events and restarts the resource selection algorithm.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; If a video is playing, I change the src= and then call play() again, I &amp;nbsp;
&lt;br&gt;&amp;gt; don't think it's unreasonable to expect the element to start playing the &amp;nbsp;
&lt;br&gt;&amp;gt; new src.
&lt;br&gt;&lt;br&gt;I think it is unreasonable, because pause() and play() are intended to be &amp;nbsp;
&lt;br&gt;used for author-supplied scripted controls, and the user should be able to &amp;nbsp;
&lt;br&gt;pause and play the first video without that causing the new video to be &amp;nbsp;
&lt;br&gt;loaded.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Invokind load() on play() still doesn't solve preloading, which you said
&lt;br&gt;&amp;gt;&amp;gt; you wanted to have earlier.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yeah, scratch that. As you explained, much better to use two elements.
&lt;br&gt;&lt;br&gt;Ok.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Simon Pieters
&lt;br&gt;Opera Software
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25832586.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25832430</id>
	<title>Re: Video DOM API</title>
	<published>2009-10-10T02:20:10Z</published>
	<updated>2009-10-10T02:20:10Z</updated>
	<author>
		<name>Gervase Markham-3</name>
	</author>
	<content type="html">On 10/10/09 09:19, Simon Pieters wrote:
&lt;br&gt;&amp;gt;&amp;gt; Actually, no, scratch that.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I just want play() to implicitly invoke load(), because then it all DWYM.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Even if the first video hasn't ended yet? Even if src hasn't changed?
&lt;br&gt;&lt;br&gt;Well, if src hasn't changed, then presumably load() is a no-op under any 
&lt;br&gt;circumstances?
&lt;br&gt;&lt;br&gt;If a video is playing, I change the src= and then call play() again, I 
&lt;br&gt;don't think it's unreasonable to expect the element to start playing the 
&lt;br&gt;new src.
&lt;br&gt;&lt;br&gt;&amp;gt; Invokind load() on play() still doesn't solve preloading, which you said
&lt;br&gt;&amp;gt; you wanted to have earlier.
&lt;br&gt;&lt;br&gt;Yeah, scratch that. As you explained, much better to use two elements.
&lt;br&gt;&lt;br&gt;Gerv
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25832430.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25832060</id>
	<title>Re: Video DOM API</title>
	<published>2009-10-10T01:19:30Z</published>
	<updated>2009-10-10T01:19:30Z</updated>
	<author>
		<name>Simon Pieters-3</name>
	</author>
	<content type="html">On Fri, 09 Oct 2009 18:34:02 +0200, Gervase Markham &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25832060&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gerv@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; On 08/10/09 15:45, Simon Pieters wrote:
&lt;br&gt;&amp;gt;&amp;gt; So you want the media element to load two resources at the same time?
&lt;br&gt;&amp;gt;&amp;gt; I'm very skeptical about this idea.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Actually, no, scratch that.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I just want play() to implicitly invoke load(), because then it all DWYM.
&lt;br&gt;&lt;br&gt;Even if the first video hasn't ended yet? Even if src hasn't changed?
&lt;br&gt;&lt;br&gt;Invokind load() on play() still doesn't solve preloading, which you said &amp;nbsp;
&lt;br&gt;you wanted to have earlier.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Simon Pieters
&lt;br&gt;Opera Software
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25832060.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25829278</id>
	<title>Re: Video DOM API</title>
	<published>2009-10-09T09:34:02Z</published>
	<updated>2009-10-09T09:34:02Z</updated>
	<author>
		<name>Gervase Markham-3</name>
	</author>
	<content type="html">On 08/10/09 15:45, Simon Pieters wrote:
&lt;br&gt;&amp;gt; So you want the media element to load two resources at the same time?
&lt;br&gt;&amp;gt; I'm very skeptical about this idea.
&lt;br&gt;&lt;br&gt;Actually, no, scratch that.
&lt;br&gt;&lt;br&gt;I just want play() to implicitly invoke load(), because then it all DWYM.
&lt;br&gt;&lt;br&gt;&amp;gt; Not sure I follow. Currently, inserting a &amp;lt;source&amp;gt; into a media element
&lt;br&gt;&amp;gt; that is in a document and has networkState NETWORK_EMPTY will run the
&lt;br&gt;&amp;gt; resource selection algorithm. Inserting another &amp;lt;source&amp;gt; will only be
&lt;br&gt;&amp;gt; used if the first &amp;lt;source&amp;gt; fails.
&lt;br&gt;&lt;br&gt;I guess I'm not sure that the above change would affect this sort of 
&lt;br&gt;thing...
&lt;br&gt;&lt;br&gt;Gerv
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25829278.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25812916</id>
	<title>RE: Video DOM API</title>
	<published>2009-10-08T15:46:00Z</published>
	<updated>2009-10-08T15:46:00Z</updated>
	<author>
		<name>Arthur Clifford</name>
	</author>
	<content type="html">The clip tag idea is intriguing in that a clip could be audio, video, or an
&lt;br&gt;image. If the clip tag supported optional 'delayBefore' and/or 'delayAfter'
&lt;br&gt;attribute one could conceivably create an animation out of images, including
&lt;br&gt;images of different types. The clips could also have a boolean 'preload'
&lt;br&gt;attribute to indicate whether to load a clip when the video tag is
&lt;br&gt;processed.
&lt;br&gt;&lt;br&gt;If the notion of a playlist is supported that would also mean the usual
&lt;br&gt;playlist sorts of functions, next/back/repeat mode/playmode (i.e. shuffle,
&lt;br&gt;sequential)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25812916&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;public-html-comments-request@...&lt;/a&gt;
&lt;br&gt;[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25812916&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;public-html-comments-request@...&lt;/a&gt;] On Behalf Of Musgrove, Jason L
&lt;br&gt;Sent: Thursday, October 08, 2009 3:25 PM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25812916&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;art@...&lt;/a&gt;; Gervase Markham; Simon Pieters;
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25812916&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;public-html-comments@...&lt;/a&gt;
&lt;br&gt;Subject: RE: Video DOM API
&lt;br&gt;&lt;br&gt;If what is being aimed for is the sequential playing of more than one
&lt;br&gt;media item, why not amend the spec such that the appropriate media
&lt;br&gt;element (either &amp;lt;audio&amp;gt; or &amp;lt;video&amp;gt;) be permitted to have child elements
&lt;br&gt;that define a playlist in lieu of a src attribute (which can still be
&lt;br&gt;used if only one media item is to played), and let the browser take care
&lt;br&gt;of the sequencing without the unnecessary addition of script to do this.
&lt;br&gt;&lt;br&gt;Suggested example:
&lt;br&gt;&lt;br&gt;&amp;lt;video&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;clip src=&amp;quot;video1.m4v&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;clip src=&amp;quot;video2.m4v&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;/video&amp;gt;
&lt;br&gt;&lt;br&gt;The API could then be augmented to include a &amp;quot;.clips&amp;quot; property which
&lt;br&gt;represents a collection of the clip elements, and provides appropriate
&lt;br&gt;methods to manipulate the &amp;quot;playlist&amp;quot;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25812916.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25812678</id>
	<title>RE: Video DOM API</title>
	<published>2009-10-08T15:25:02Z</published>
	<updated>2009-10-08T15:25:02Z</updated>
	<author>
		<name>Musgrove, Jason L</name>
	</author>
	<content type="html">If what is being aimed for is the sequential playing of more than one
&lt;br&gt;media item, why not amend the spec such that the appropriate media
&lt;br&gt;element (either &amp;lt;audio&amp;gt; or &amp;lt;video&amp;gt;) be permitted to have child elements
&lt;br&gt;that define a playlist in lieu of a src attribute (which can still be
&lt;br&gt;used if only one media item is to played), and let the browser take care
&lt;br&gt;of the sequencing without the unnecessary addition of script to do this.
&lt;br&gt;&lt;br&gt;Suggested example:
&lt;br&gt;&lt;br&gt;&amp;lt;video&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;clip src=&amp;quot;video1.m4v&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;clip src=&amp;quot;video2.m4v&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;/video&amp;gt;
&lt;br&gt;&lt;br&gt;The API could then be augmented to include a &amp;quot;.clips&amp;quot; property which
&lt;br&gt;represents a collection of the clip elements, and provides appropriate
&lt;br&gt;methods to manipulate the &amp;quot;playlist&amp;quot;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25812678&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;public-html-comments-request@...&lt;/a&gt;
&lt;br&gt;[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25812678&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;public-html-comments-request@...&lt;/a&gt;] On Behalf Of Arthur
&lt;br&gt;Clifford
&lt;br&gt;Sent: 08 October 2009 22:31
&lt;br&gt;To: 'Gervase Markham'; 'Simon Pieters'; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25812678&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;public-html-comments@...&lt;/a&gt;
&lt;br&gt;Subject: RE: Video DOM API
&lt;br&gt;&lt;br&gt;Wouldn't it be easier to have play take an optional src parameter?
&lt;br&gt;&lt;br&gt;var a=new Audio();
&lt;br&gt;a.onended = function() { if(a.src=='foo') a.play('bar'); }
&lt;br&gt;a.play('foo');
&lt;br&gt;&lt;br&gt;internally play could do this check:
&lt;br&gt;if( inSrc !== src) src=inSrc ... load and play video
&lt;br&gt;else if at end of audio, rewind and play
&lt;br&gt;else play forward from where the playback head is at.
&lt;br&gt;&lt;br&gt;Art C
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25812678&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;public-html-comments-request@...&lt;/a&gt;
&lt;br&gt;[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25812678&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;public-html-comments-request@...&lt;/a&gt;] On Behalf Of Gervase
&lt;br&gt;Markham
&lt;br&gt;Sent: Thursday, October 08, 2009 5:54 AM
&lt;br&gt;To: Simon Pieters; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25812678&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;public-html-comments@...&lt;/a&gt;
&lt;br&gt;Subject: Re: Video DOM API
&lt;br&gt;&lt;br&gt;On 08/10/09 13:29, Simon Pieters wrote:
&lt;br&gt;&amp;gt; Maybe we could remove the networkState check when the src attribute is
&lt;br&gt;&amp;gt; set or changed. Should the &amp;quot;in a Document&amp;quot; check be removed, too? That
&lt;br&gt;&amp;gt; is, do you want to be able to do
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; var a = new Audio('foo');
&lt;br&gt;&amp;gt; a.play();
&lt;br&gt;&amp;gt; a.onended = function() { a.src = 'bar'; a.onended = null; }
&lt;br&gt;&lt;br&gt;That seems like the obvious way one would implement the chaining of 
&lt;br&gt;videos, isn't it? Although it doesn't allow for pre-loading and 
&lt;br&gt;therefore seamless linking unless you've loaded 'bar' in another &amp;lt;audio&amp;gt;
&lt;br&gt;&lt;br&gt;somewhere else previously. Hmm...
&lt;br&gt;&lt;br&gt;I think I want to be able to do:
&lt;br&gt;&lt;br&gt;var a = new Audio('foo');
&lt;br&gt;a.play();
&lt;br&gt;a.src = 'bar';
&lt;br&gt;a.load();
&lt;br&gt;a.onended = function() { a.play(); a.onended = null; }
&lt;br&gt;&lt;br&gt;which gives me the preloading as well without needing an extra element.
&lt;br&gt;&lt;br&gt;&amp;gt; What do you think should happen when using &amp;lt;source&amp;gt; elements?
&lt;br&gt;&lt;br&gt;Good question. I think that if I add a &amp;lt;source&amp;gt; element, it should be 
&lt;br&gt;automatically load()ed. But if I call play(), then the resource 
&lt;br&gt;selection algorithm should be used at that point to tell which video 
&lt;br&gt;actually plays.
&lt;br&gt;&lt;br&gt;Gerv
&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Scanned by iCritical.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25812678.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25812007</id>
	<title>RE: Video DOM API</title>
	<published>2009-10-08T14:30:45Z</published>
	<updated>2009-10-08T14:30:45Z</updated>
	<author>
		<name>Arthur Clifford</name>
	</author>
	<content type="html">Wouldn't it be easier to have play take an optional src parameter?
&lt;br&gt;&lt;br&gt;var a=new Audio();
&lt;br&gt;a.onended = function() { if(a.src=='foo') a.play('bar'); }
&lt;br&gt;a.play('foo');
&lt;br&gt;&lt;br&gt;internally play could do this check:
&lt;br&gt;if( inSrc !== src) src=inSrc ... load and play video
&lt;br&gt;else if at end of audio, rewind and play
&lt;br&gt;else play forward from where the playback head is at.
&lt;br&gt;&lt;br&gt;Art C
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25812007&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;public-html-comments-request@...&lt;/a&gt;
&lt;br&gt;[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25812007&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;public-html-comments-request@...&lt;/a&gt;] On Behalf Of Gervase Markham
&lt;br&gt;Sent: Thursday, October 08, 2009 5:54 AM
&lt;br&gt;To: Simon Pieters; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25812007&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;public-html-comments@...&lt;/a&gt;
&lt;br&gt;Subject: Re: Video DOM API
&lt;br&gt;&lt;br&gt;On 08/10/09 13:29, Simon Pieters wrote:
&lt;br&gt;&amp;gt; Maybe we could remove the networkState check when the src attribute is
&lt;br&gt;&amp;gt; set or changed. Should the &amp;quot;in a Document&amp;quot; check be removed, too? That
&lt;br&gt;&amp;gt; is, do you want to be able to do
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; var a = new Audio('foo');
&lt;br&gt;&amp;gt; a.play();
&lt;br&gt;&amp;gt; a.onended = function() { a.src = 'bar'; a.onended = null; }
&lt;br&gt;&lt;br&gt;That seems like the obvious way one would implement the chaining of 
&lt;br&gt;videos, isn't it? Although it doesn't allow for pre-loading and 
&lt;br&gt;therefore seamless linking unless you've loaded 'bar' in another &amp;lt;audio&amp;gt; 
&lt;br&gt;somewhere else previously. Hmm...
&lt;br&gt;&lt;br&gt;I think I want to be able to do:
&lt;br&gt;&lt;br&gt;var a = new Audio('foo');
&lt;br&gt;a.play();
&lt;br&gt;a.src = 'bar';
&lt;br&gt;a.load();
&lt;br&gt;a.onended = function() { a.play(); a.onended = null; }
&lt;br&gt;&lt;br&gt;which gives me the preloading as well without needing an extra element.
&lt;br&gt;&lt;br&gt;&amp;gt; What do you think should happen when using &amp;lt;source&amp;gt; elements?
&lt;br&gt;&lt;br&gt;Good question. I think that if I add a &amp;lt;source&amp;gt; element, it should be 
&lt;br&gt;automatically load()ed. But if I call play(), then the resource 
&lt;br&gt;selection algorithm should be used at that point to tell which video 
&lt;br&gt;actually plays.
&lt;br&gt;&lt;br&gt;Gerv
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25812007.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25805546</id>
	<title>Re: Video DOM API</title>
	<published>2009-10-08T07:45:16Z</published>
	<updated>2009-10-08T07:45:16Z</updated>
	<author>
		<name>Simon Pieters-3</name>
	</author>
	<content type="html">On Thu, 08 Oct 2009 14:53:59 +0200, Gervase Markham &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25805546&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gerv@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 08/10/09 13:29, Simon Pieters wrote:
&lt;br&gt;&amp;gt;&amp;gt; Maybe we could remove the networkState check when the src attribute is
&lt;br&gt;&amp;gt;&amp;gt; set or changed. Should the &amp;quot;in a Document&amp;quot; check be removed, too? That
&lt;br&gt;&amp;gt;&amp;gt; is, do you want to be able to do
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; var a = new Audio('foo');
&lt;br&gt;&amp;gt;&amp;gt; a.play();
&lt;br&gt;&amp;gt;&amp;gt; a.onended = function() { a.src = 'bar'; a.onended = null; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That seems like the obvious way one would implement the chaining of &amp;nbsp;
&lt;br&gt;&amp;gt; videos, isn't it? Although it doesn't allow for pre-loading and &amp;nbsp;
&lt;br&gt;&amp;gt; therefore seamless linking unless you've loaded 'bar' in another &amp;lt;audio&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; somewhere else previously. Hmm...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think I want to be able to do:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; var a = new Audio('foo');
&lt;br&gt;&amp;gt; a.play();
&lt;br&gt;&amp;gt; a.src = 'bar';
&lt;br&gt;&amp;gt; a.load();
&lt;br&gt;&amp;gt; a.onended = function() { a.play(); a.onended = null; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; which gives me the preloading as well without needing an extra element.
&lt;/div&gt;&lt;br&gt;So you want the media element to load two resources at the same time? I'm &amp;nbsp;
&lt;br&gt;very skeptical about this idea. What should happen when the user clicks &amp;nbsp;
&lt;br&gt;pause and then play, should it suddenly switch to the new media?
&lt;br&gt;&lt;br&gt;I don't see the problem with having separate media elements for separate &amp;nbsp;
&lt;br&gt;media:
&lt;br&gt;&lt;br&gt;var a1 = new Audio('foo');
&lt;br&gt;var a2 = new Audio('bar');
&lt;br&gt;a1.play();
&lt;br&gt;a1.onended = function() { a2.play(); a1 = null; /* allow a1 to be garbage &amp;nbsp;
&lt;br&gt;collected */ }
&lt;br&gt;&lt;br&gt;For video, you can do the same thing and just use replaceChild():
&lt;br&gt;&lt;br&gt;&amp;lt;video src='foo' autoplay controls&amp;gt;&amp;lt;/video&amp;gt;
&lt;br&gt;&amp;lt;script&amp;gt;
&lt;br&gt;var v1 = document.querySelector('video');
&lt;br&gt;var v2 = document.createElement('video');
&lt;br&gt;v2.autobuffer = true;
&lt;br&gt;v2.controls = true;
&lt;br&gt;v2.src = 'bar';
&lt;br&gt;v2.load();
&lt;br&gt;v1.onended = function() { v1.parentNode.replaceChild(v1, v2); }
&lt;br&gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; What do you think should happen when using &amp;lt;source&amp;gt; elements?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Good question. I think that if I add a &amp;lt;source&amp;gt; element, it should be &amp;nbsp;
&lt;br&gt;&amp;gt; automatically load()ed. But if I call play(), then the resource &amp;nbsp;
&lt;br&gt;&amp;gt; selection algorithm should be used at that point to tell which video &amp;nbsp;
&lt;br&gt;&amp;gt; actually plays.
&lt;br&gt;&lt;br&gt;Not sure I follow. Currently, inserting a &amp;lt;source&amp;gt; into a media element &amp;nbsp;
&lt;br&gt;that is in a document and has networkState NETWORK_EMPTY will run the &amp;nbsp;
&lt;br&gt;resource selection algorithm. Inserting another &amp;lt;source&amp;gt; will only be used &amp;nbsp;
&lt;br&gt;if the first &amp;lt;source&amp;gt; fails.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Simon Pieters
&lt;br&gt;Opera Software
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25805546.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25803618</id>
	<title>Re: Video DOM API</title>
	<published>2009-10-08T05:53:59Z</published>
	<updated>2009-10-08T05:53:59Z</updated>
	<author>
		<name>Gervase Markham-3</name>
	</author>
	<content type="html">On 08/10/09 13:29, Simon Pieters wrote:
&lt;br&gt;&amp;gt; Maybe we could remove the networkState check when the src attribute is
&lt;br&gt;&amp;gt; set or changed. Should the &amp;quot;in a Document&amp;quot; check be removed, too? That
&lt;br&gt;&amp;gt; is, do you want to be able to do
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; var a = new Audio('foo');
&lt;br&gt;&amp;gt; a.play();
&lt;br&gt;&amp;gt; a.onended = function() { a.src = 'bar'; a.onended = null; }
&lt;br&gt;&lt;br&gt;That seems like the obvious way one would implement the chaining of 
&lt;br&gt;videos, isn't it? Although it doesn't allow for pre-loading and 
&lt;br&gt;therefore seamless linking unless you've loaded 'bar' in another &amp;lt;audio&amp;gt; 
&lt;br&gt;somewhere else previously. Hmm...
&lt;br&gt;&lt;br&gt;I think I want to be able to do:
&lt;br&gt;&lt;br&gt;var a = new Audio('foo');
&lt;br&gt;a.play();
&lt;br&gt;a.src = 'bar';
&lt;br&gt;a.load();
&lt;br&gt;a.onended = function() { a.play(); a.onended = null; }
&lt;br&gt;&lt;br&gt;which gives me the preloading as well without needing an extra element.
&lt;br&gt;&lt;br&gt;&amp;gt; What do you think should happen when using &amp;lt;source&amp;gt; elements?
&lt;br&gt;&lt;br&gt;Good question. I think that if I add a &amp;lt;source&amp;gt; element, it should be 
&lt;br&gt;automatically load()ed. But if I call play(), then the resource 
&lt;br&gt;selection algorithm should be used at that point to tell which video 
&lt;br&gt;actually plays.
&lt;br&gt;&lt;br&gt;Gerv
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25803618.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25803144</id>
	<title>Re: Video DOM API</title>
	<published>2009-10-08T05:29:08Z</published>
	<updated>2009-10-08T05:29:08Z</updated>
	<author>
		<name>Simon Pieters-3</name>
	</author>
	<content type="html">On Thu, 08 Oct 2009 13:14:37 +0200, Gervase Markham &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25803144&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gerv@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On a &amp;lt;video&amp;gt; element (I haven't tried &amp;lt;audio&amp;gt;), if you change the src= &amp;nbsp;
&lt;br&gt;&amp;gt; attribute to a new file, you have to call .load() before .play(), &amp;nbsp;
&lt;br&gt;&amp;gt; otherwise it replays the old file. This lost me half an hour of &amp;nbsp;
&lt;br&gt;&amp;gt; debugging, and recently another person posted in the Mozilla newsgroups &amp;nbsp;
&lt;br&gt;&amp;gt; having exactly the same problem.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am told by an informed source (Boris Zbarsky) that the spec for &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;lt;video&amp;gt; requires this behaviour. Having spent ten minutes reading the &amp;nbsp;
&lt;br&gt;&amp;gt; highly comprehensive specification, I could not find the location where &amp;nbsp;
&lt;br&gt;&amp;gt; it says this. However, I believe him :-)
&lt;/div&gt;&lt;br&gt;&amp;quot;If a src attribute of a media element that is in a Document and whose &amp;nbsp;
&lt;br&gt;networkState has the value NETWORK_EMPTY is set or changed, the user agent &amp;nbsp;
&lt;br&gt;must invoke the media element's resource selection algorithm.&amp;quot;
&lt;br&gt;&lt;br&gt;If you have already played a video, networkState is not NETWORK_EMPTY, so &amp;nbsp;
&lt;br&gt;the resource selection algorithm is not invoked (and thus play() will play &amp;nbsp;
&lt;br&gt;the already-loaded video).
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Question: why? This is counter-intuitive. Under what circumstances would &amp;nbsp;
&lt;br&gt;&amp;gt; you want to set the src= attribute of a &amp;lt;video&amp;gt; tag to a file which you &amp;nbsp;
&lt;br&gt;&amp;gt; did not want the loading process to begin immediately? Can we eliminate &amp;nbsp;
&lt;br&gt;&amp;gt; the requirement, e.g. by having play() implicitly call load() if it &amp;nbsp;
&lt;br&gt;&amp;gt; hasn't been called?
&lt;br&gt;&lt;br&gt;Maybe we could remove the networkState check when the src attribute is set &amp;nbsp;
&lt;br&gt;or changed. Should the &amp;quot;in a Document&amp;quot; check be removed, too? That is, do &amp;nbsp;
&lt;br&gt;you want to be able to do
&lt;br&gt;&lt;br&gt;var a = new Audio('foo');
&lt;br&gt;a.play();
&lt;br&gt;a.onended = function() { a.src = 'bar'; a.onended = null; }
&lt;br&gt;&lt;br&gt;?
&lt;br&gt;&lt;br&gt;(You wouldn't need to invoke play() again, because the media isn't paused &amp;nbsp;
&lt;br&gt;when it has ended.)
&lt;br&gt;&lt;br&gt;What do you think should happen when using &amp;lt;source&amp;gt; elements?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Simon Pieters
&lt;br&gt;Opera Software
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25803144.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25802115</id>
	<title>Video DOM API</title>
	<published>2009-10-08T04:14:37Z</published>
	<updated>2009-10-08T04:14:37Z</updated>
	<author>
		<name>Gervase Markham-3</name>
	</author>
	<content type="html">On a &amp;lt;video&amp;gt; element (I haven't tried &amp;lt;audio&amp;gt;), if you change the src= 
&lt;br&gt;attribute to a new file, you have to call .load() before .play(), 
&lt;br&gt;otherwise it replays the old file. This lost me half an hour of 
&lt;br&gt;debugging, and recently another person posted in the Mozilla newsgroups 
&lt;br&gt;having exactly the same problem.
&lt;br&gt;&lt;br&gt;I am told by an informed source (Boris Zbarsky) that the spec for 
&lt;br&gt;&amp;lt;video&amp;gt; requires this behaviour. Having spent ten minutes reading the 
&lt;br&gt;highly comprehensive specification, I could not find the location where 
&lt;br&gt;it says this. However, I believe him :-)
&lt;br&gt;&lt;br&gt;Question: why? This is counter-intuitive. Under what circumstances would 
&lt;br&gt;you want to set the src= attribute of a &amp;lt;video&amp;gt; tag to a file which you 
&lt;br&gt;did not want the loading process to begin immediately? Can we eliminate 
&lt;br&gt;the requirement, e.g. by having play() implicitly call load() if it 
&lt;br&gt;hasn't been called?
&lt;br&gt;&lt;br&gt;Gerv
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Video-DOM-API-tp25802115p25802115.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25771522</id>
	<title>HTML5 Comments from the User Agent Accessibility Guidelines Working  Group</title>
	<published>2009-10-06T08:54:50Z</published>
	<updated>2009-10-06T08:54:50Z</updated>
	<author>
		<name>Jeanne Spellman</name>
	</author>
	<content type="html">The following comments have been gathered by members of the User Agent 
&lt;br&gt;Accessibility Guidelines Working Group (UAWG) which is part of the Web 
&lt;br&gt;Accessibility Initiative Technical Activity. &amp;nbsp;The UAWG Working Group's 
&lt;br&gt;review of HTML5 is on-going and more comments will be submitted when 
&lt;br&gt;identified by the group members. &amp;nbsp;The following comments were on the 
&lt;br&gt;version &lt;a href=&quot;http://dev.w3.org/html5/spec/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.w3.org/html5/spec/&lt;/a&gt;&amp;nbsp; during the week of 24 August – 4 
&lt;br&gt;September. Other WAI Working Groups are reviewing the HTML5 Working 
&lt;br&gt;Draft and their comments may be channeled into the Joint Task Force 
&lt;br&gt;discussion. &amp;nbsp;Please reply back to UAAG WG at &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25771522&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;w3c-wai-ua@...&lt;/a&gt; and cc: 
&lt;br&gt;the WAI Protocols &amp; Formats Working Group at &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25771522&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;w3c-wai-pf@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;Issue#: UAWG24
&lt;br&gt;Section: 3.2.4
&lt;br&gt;Comment: 3.2.4 There are many references to mutation events 'firing as 
&lt;br&gt;appropriate', but without knowing when that is - UAs can make 
&lt;br&gt;interpretations about what and when an event will fire - indeed some 
&lt;br&gt;sections state that no mutation events will fire. Consistent rules on 
&lt;br&gt;firing mutation events are needed for assistive technologies to capture 
&lt;br&gt;and communicate mutation events to users.
&lt;br&gt;&lt;br&gt;Issue#: UAWG04
&lt;br&gt;Section: &amp;nbsp;3.2.6 Annotations
&lt;br&gt;Comment: 3.2.6 “Annotations for assistive technology products” section 
&lt;br&gt;is not clear whether these are in sync with WAI-ARIA. WAI-ARIA is in 
&lt;br&gt;Last Call and is being implemented by browsers and assistive 
&lt;br&gt;technologies. Any conflict between HTML5 and WAI-ARIA must be identified 
&lt;br&gt;and resolved. &amp;nbsp;Browser and assistive techology developers &amp;nbsp;need 
&lt;br&gt;confirmation that these two sets of standards are not in conflict.
&lt;br&gt;&lt;br&gt;Issue#: UAWG21
&lt;br&gt;Section: 3.3.3.8 Embedded Links to Non-Visible Data
&lt;br&gt;Comment: 3.3.3.8 Embedded Links to Non-Visible Data could be a useful 
&lt;br&gt;accessibility feature, but as there is no concept of interoperability 
&lt;br&gt;beyond the site (as it is site bespoke) then we need to 1) ensure that 
&lt;br&gt;this kind of data is readable by the assistive technology and 2) &amp;nbsp;the 
&lt;br&gt;semantics of the interaction are expressed in a readable fashion.
&lt;br&gt;&lt;br&gt;Issue#: UAWG30
&lt;br&gt;Section: 4.8.7 Video [Captions]
&lt;br&gt;Comment: 1) Captions provide a means to understand the video for those 
&lt;br&gt;who are deaf, hard of hearing, non-primary language, or watching in a 
&lt;br&gt;silent environment. &amp;nbsp;No mechanism for defining or providing captions is 
&lt;br&gt;specified as part of the Video element, therefore implementation of 
&lt;br&gt;captioning will primarily occur via authored scripting around the video 
&lt;br&gt;element. It needs to be defined more fully in the HTML5 spec to ensure 
&lt;br&gt;that browsers implement it in a standard way. &amp;nbsp;It is not clear that the 
&lt;br&gt;spec has specified/will specify a standard API that would allow a user 
&lt;br&gt;agent to query if media (either audio or video) &amp;quot;.hasCaptions&amp;quot;, or to 
&lt;br&gt;otherwise get at the text of the captions(or the language, etc). W3C's 
&lt;br&gt;proposed DXFP [1], and even SMIL Text [2] provides guidance to create 
&lt;br&gt;accessible video content (assuming the authoring tools and browser 
&lt;br&gt;support were there).
&lt;br&gt;&lt;br&gt;2) Since the user agent is supposed to have the ability to control 
&lt;br&gt;captions, &amp;nbsp;the video element needs to define the needed properties to 
&lt;br&gt;query and control the caption content in the video being loaded/played.
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://www.w3.org/TR/2009/WD-ttaf1-dfxp-20090602/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/TR/2009/WD-ttaf1-dfxp-20090602/&lt;/a&gt;&lt;br&gt;[2] &lt;a href=&quot;http://www.w3.org/TR/SMIL3/smil-text.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/TR/SMIL3/smil-text.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Issue#: UAWG32
&lt;br&gt;Section: 4.8.7 Video [Descriptive or alternate audio tracks]
&lt;br&gt;Comment: There is no mention of descriptive video or alternate audio 
&lt;br&gt;tracks, which are needed by users who cannot see the video, or need to 
&lt;br&gt;hear the audio in another language. &amp;nbsp;It is unclear whether this is 
&lt;br&gt;something that *may* be in the video source, or authored using a 
&lt;br&gt;combination of scripting and the audio/video elements. &amp;nbsp;This needs to be 
&lt;br&gt;clearly defined.
&lt;br&gt;&lt;br&gt;Issue#: UAWG31
&lt;br&gt;Section: 4.8.7 Video [Controls]
&lt;br&gt;Comment: The User Agent should be required to provide the 
&lt;br&gt;controls/interface-elements for media (audio, video, etc.). The author 
&lt;br&gt;should be able to style or script for extended functionality. The core 
&lt;br&gt;functionality - start/stop, pause, seek, volume, size (full screen), 
&lt;br&gt;caption track(s)- on/off/fg-bg color/location, descriptive video(s), 
&lt;br&gt;should not be written by millions of authors.
&lt;br&gt;&lt;br&gt;Issue#: UAWG16
&lt;br&gt;Section: 4.10 Forms
&lt;br&gt;Comment: Form validation: Under form validation there is no stipulation 
&lt;br&gt;that validation errors should be stylable by the page author using CSS 
&lt;br&gt;and are currently only available as per how the UA styles them unless 
&lt;br&gt;the page author knows JavaScript. &amp;nbsp;This is an issue if browsers simply 
&lt;br&gt;implement an arbitrary styling that some users find hard to read. As 
&lt;br&gt;such there needs to be scope for validation errors to be stylable 
&lt;br&gt;(without relying on JavaScript) or browser implementations to be as 
&lt;br&gt;readable / accessible as possible (the latter being pretty subjective).
&lt;br&gt;&lt;br&gt;Issue#: UAWG06
&lt;br&gt;Section: &amp;nbsp;7.3 Scrolling elements into view
&lt;br&gt;Comment: &amp;nbsp;Automatic scrolling can make the cursor jump in ways that 
&lt;br&gt;causes the user to go through extra steps to get back to what s/he &amp;nbsp;was 
&lt;br&gt;doing. This is a special hardship for some users who have limited hand 
&lt;br&gt;mobility and/or speech input users. There needs to be a way for the user 
&lt;br&gt;to override automatic scrolling.
&lt;br&gt;&lt;br&gt;Issue#: UAWG07
&lt;br&gt;Section: 7.4.3 document-level focus APIs
&lt;br&gt;Comment: Unwanted focus switches can produce bad results. Visually 
&lt;br&gt;impaired users can lose the focus, or magnifier users can have the focus 
&lt;br&gt;move to a part of the page that is off-screen. &amp;nbsp;User macros including 
&lt;br&gt;speech commands execute over time. Speech users don't necessarily change 
&lt;br&gt;the focus by moving the mouse -- this makes them more likely to get 
&lt;br&gt;caught with bad focus changes. &amp;nbsp; The user needs some way to 
&lt;br&gt;override/hold off focus changes.
&lt;br&gt;&lt;br&gt;Issue#: UAWG18
&lt;br&gt;Section: &amp;nbsp;7.6 list-item 2 and 3.3
&lt;br&gt;Comment: In 7.6 list-item 2 and 3.3 of the HTML5 spec on accesskeys, 
&lt;br&gt;only a single key is allowed as opposed to multiple sequential keys, 
&lt;br&gt;however, when you add this to the concept of the context menu in 
&lt;br&gt;4.11.5.3 it seems that the general model of interaction, and importantly 
&lt;br&gt;exploration of the interface, becomes broken as a single keystroke 
&lt;br&gt;without a modifier key cannot be allocated. While this follows on the 
&lt;br&gt;mac OS, the intuitive sequential keystrokes of Windows and Linux will 
&lt;br&gt;break. We recommend that if the context menu is in focus then a single 
&lt;br&gt;keystroke without a modifier key is sufficient.
&lt;br&gt;&lt;br&gt;Issue#: UAWG09
&lt;br&gt;Section: 7.7 The content editable attribute (drag and drop implementation)
&lt;br&gt;Comment: &amp;nbsp;Select and move non-editable elements section does not 
&lt;br&gt;specifically require keyboard access. &amp;nbsp;All drag and drop needs to be 
&lt;br&gt;accessible using key navigation and cut-and-paste. Users with limited 
&lt;br&gt;mobility have difficulty or are unable to use a mouse. &amp;nbsp;Speech users are 
&lt;br&gt;less prone to mistakes and have fewer steps with drag-and-drop using key 
&lt;br&gt;navigation and cut paste, than with using mouse commands.
&lt;br&gt;&lt;br&gt;Issue#: UAWG08
&lt;br&gt;Section: 7.7 The content editable attribute (move the carat)
&lt;br&gt;Comment: The “Move the carat” section is phrased so it is either/or 
&lt;br&gt;choice of mouse and keyboard when it should be phrased as an “and” – 
&lt;br&gt;both mouse and keyboard options are required. &amp;nbsp;For people with limited 
&lt;br&gt;mobility or speech input users, &amp;nbsp;we recommend selecting text using 
&lt;br&gt;keyboard commands since it is easier, requires fewer steps and is more 
&lt;br&gt;precise than selecting text using mouse commands.
&lt;br&gt;&lt;br&gt;Issue#: UAWG10
&lt;br&gt;Section: 7.9 Drag and drop
&lt;br&gt;Comment: Drag and drop needs to be accessible using key navigation and 
&lt;br&gt;cut-and-paste. It's also important to have undo enabled for 
&lt;br&gt;drag-and-drop. Even if media has pointing device, it also needs keyboard 
&lt;br&gt;option for those users with limited mobility or using speech input 
&lt;br&gt;assistive technology.
&lt;br&gt;&lt;br&gt;Issue#: UAWG11
&lt;br&gt;Section: 7.10 Undo History
&lt;br&gt;Comment: Undo History &amp;nbsp;needs to include Undo of drag and drop actions. 
&lt;br&gt;Users with limited hand mobility are more prone to movement mistakes. 
&lt;br&gt;Undo of drag and drop is equally important as other Undo actions.
&lt;br&gt;&lt;br&gt;Issue#: UAWG28
&lt;br&gt;Section: 10.2.5 Fonts and colors
&lt;br&gt;Comment: &amp;nbsp;Automatic reduction of the font size of H elements nested in 
&lt;br&gt;the article, aside, nav, and section elements will decrease access for 
&lt;br&gt;users with low vision. Users with low vision adjust font sizes to the 
&lt;br&gt;minimum size needed for comfortable reading. Many users with low vision 
&lt;br&gt;do not use assistive technology, but rather adjust to the largest font 
&lt;br&gt;size supported by the user agent. &amp;nbsp;Reducing the size of the font - 
&lt;br&gt;particularly a text-dense element like &amp;quot;article&amp;quot; - increases the 
&lt;br&gt;imbalance between font sizes in other parts of the page (e.g. the user 
&lt;br&gt;would be forced to increase font size for the article text to the point 
&lt;br&gt;where the font size in the non-nested parts of the page are enlarged so 
&lt;br&gt;much as to overflow their containers.) &amp;nbsp;We recommend that nested 
&lt;br&gt;elements not have the containing text size reduced automatically.
&lt;br&gt;&lt;br&gt;Issue#: UAWG29
&lt;br&gt;Section: HTML section: 10.2.3 Margins and padding
&lt;br&gt;Comment: If the user wishes to increase the size of text in an iframe or 
&lt;br&gt;other container element, the text may overflow the container. When text 
&lt;br&gt;overflows the size of a box and the attribute value is set so that the 
&lt;br&gt;overflow value is &amp;quot;hidden&amp;quot;, the overflow text may not be displayed or 
&lt;br&gt;passed to the Assistive Technology. &amp;nbsp;When the user has increased the 
&lt;br&gt;text size of the document, the 'overflow' value needs to default to 
&lt;br&gt;'scroll'.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;HTML5 Comments from UAWG.rtf&lt;/strong&gt; (37K) &lt;a href=&quot;http://old.nabble.com/attachment/25771522/0/HTML5%20Comments%20from%20UAWG.rtf&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/HTML5-Comments-from-the-User-Agent-Accessibility-Guidelines-Working--Group-tp25771522p25771522.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25737245</id>
	<title>Re: The progress element: wording issues with steps</title>
	<published>2009-10-04T04:45:03Z</published>
	<updated>2009-10-04T04:45:03Z</updated>
	<author>
		<name>Ian Hickson</name>
	</author>
	<content type="html">On Fri, 4 Sep 2009, T.J. Crowder wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;nit&amp;gt;
&lt;br&gt;&amp;gt; &amp;quot;....results of parsing the textContent was nothing...&amp;quot; either &amp;quot;result&amp;quot; or
&lt;br&gt;&amp;gt; &amp;quot;were nothing&amp;quot; but not &amp;quot;results...was nothing&amp;quot;
&lt;br&gt;&amp;gt; &amp;lt;/nit&amp;gt;
&lt;br&gt;&lt;br&gt;Fixed, thanks.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ian Hickson &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; U+1047E &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)\._.,--....,'``. &amp;nbsp; &amp;nbsp;fL
&lt;br&gt;&lt;a href=&quot;http://ln.hixie.ch/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ln.hixie.ch/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;U+263A &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/, &amp;nbsp; _.. \ &amp;nbsp; _\ &amp;nbsp;;`._ ,.
&lt;br&gt;Things that are impossible just take longer. &amp;nbsp; `._.-(,_..'--(,_..'`-.;.'
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/The-progress-element%3A-wording-issues-with-steps-tp25258411p25737245.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25737177</id>
	<title>Re: Spec event wording suggestion.</title>
	<published>2009-10-04T04:34:02Z</published>
	<updated>2009-10-04T04:34:02Z</updated>
	<author>
		<name>Ian Hickson</name>
	</author>
	<content type="html">On Wed, 2 Sep 2009, Ric Hardacre wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Throughout the spec a phrase similar to the following is used (square
&lt;br&gt;&amp;gt; brackets indicate link to simple event definition):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;[fire a simple event] that bubbles called change at the element,&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The english is hard to follow and I also suggest that &amp;quot;called&amp;quot; is replaced
&lt;br&gt;&amp;gt; with &amp;quot;named&amp;quot; to remove some ambiguity about wether or not it is referring
&lt;br&gt;&amp;gt; to &amp;quot;calling&amp;quot; a function:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;fire a [bubbling simple event] named change at the element,&amp;quot;
&lt;/div&gt;&lt;br&gt;I've changed 'called' to 'named' throughout.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; The definition of the simple event would not need changing to accomodate
&lt;br&gt;&amp;gt; the above:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;which does not bubble (unless otherwise stated)&amp;quot;
&lt;br&gt;&lt;br&gt;I haven't changed 'fire a simple event' to 'fire a bubbling simple event' 
&lt;br&gt;because there are so many axes that are affected, e.g. whether the event 
&lt;br&gt;is cancelable, what it's various attributes should be, etc.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ian Hickson &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; U+1047E &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)\._.,--....,'``. &amp;nbsp; &amp;nbsp;fL
&lt;br&gt;&lt;a href=&quot;http://ln.hixie.ch/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ln.hixie.ch/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;U+263A &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/, &amp;nbsp; _.. \ &amp;nbsp; _\ &amp;nbsp;;`._ ,.
&lt;br&gt;Things that are impossible just take longer. &amp;nbsp; `._.-(,_..'--(,_..'`-.;.'
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Spec-event-wording-suggestion.-tp25258410p25737177.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25593128</id>
	<title>Re: Where is processing of binary attributes covered?</title>
	<published>2009-09-24T04:00:46Z</published>
	<updated>2009-09-24T04:00:46Z</updated>
	<author>
		<name>Geoffrey Sneddon</name>
	</author>
	<content type="html">&lt;br&gt;On 23 Sep 2009, at 21:48, Henry S. Thompson wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Philip Taylor writes:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In particular, the tokenizer state machine will result in a start tag
&lt;br&gt;&amp;gt;&amp;gt; token with name &amp;quot;input&amp;quot; and with one attribute, which has name
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;disabled&amp;quot; and value &amp;quot;banana&amp;quot;. That feeds into the tree construction
&lt;br&gt;&amp;gt;&amp;gt; algorithm, which will &lt;a href=&quot;http://whatwg.org/html5#insert-an-html-element&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://whatwg.org/html5#insert-an-html-element&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; which will &lt;a href=&quot;http://whatwg.org/html5#create-an-element-for-the-token&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://whatwg.org/html5#create-an-element-for-the-token&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; which requires &amp;quot;the attributes on the node being those given in the
&lt;br&gt;&amp;gt;&amp;gt; given token&amp;quot;. No error recovery occurs while parsing this case. The
&lt;br&gt;&amp;gt;&amp;gt; attributes in the DOM are (very nearly) always exactly what was in &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt; input document.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The only kind of error recovery in this case is that
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://whatwg.org/html5#concept-fe-disabled&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://whatwg.org/html5#concept-fe-disabled&lt;/a&gt;&amp;nbsp;defines the element to be
&lt;br&gt;&amp;gt;&amp;gt; disabled if the 'disabled' attribute exists on the element in the &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; DOM,
&lt;br&gt;&amp;gt;&amp;gt; regardless of the attribute's value.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hmm. &amp;nbsp;OK, I misunderstood. &amp;nbsp;I thought that in general the DOM which
&lt;br&gt;&amp;gt; resulted from parsing was 'conformant', i.e., would if serialized by a
&lt;br&gt;&amp;gt; conformant document, but it appears I was mistaken.
&lt;/div&gt;&lt;br&gt;This would make it impossible to degrade new stuff nicely. E.g., &amp;nbsp;
&lt;br&gt;&amp;lt;input type=date&amp;gt;. I can in JS do something like:
&lt;br&gt;&lt;br&gt;var type = input.getAttribute(&amp;quot;type&amp;quot;) ? &amp;nbsp;
&lt;br&gt;input.getAttribute(&amp;quot;type&amp;quot;).toLowerCase() : &amp;quot;text&amp;quot;;
&lt;br&gt;if (input.type != type)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (type == &amp;quot;date&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; applyMagicJSDatePicker(input);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (type == &amp;quot;color&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; applyMagicJSColourPicker(input);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [etc…]
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;If the DOM was always conformant, it would be impossible to do that, &amp;nbsp;
&lt;br&gt;and would make degrading gracefully in older UAs a lot harder.
&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Geoffrey Sneddon
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://gsnedders.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gsnedders.com/&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Where-is-processing-of-binary-attributes-covered--tp25583663p25593128.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25588462</id>
	<title>Re: What makes illegal characters non-conformant</title>
	<published>2009-09-23T19:34:42Z</published>
	<updated>2009-09-23T19:34:42Z</updated>
	<author>
		<name>Bjoern Hoehrmann</name>
	</author>
	<content type="html">* Henry S. Thompson wrote:
&lt;br&gt;&amp;gt;I don't think I have a problem with that, I can imagine an argument
&lt;br&gt;&amp;gt;that it's broken (although &lt;a href=&quot;http://www.ltg.ed.ac.uk/~ht/char_alias.xml&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ltg.ed.ac.uk/~ht/char_alias.xml&lt;/a&gt;&lt;br&gt;&amp;gt;is _not_ broken per the XML specification. . .), but I can't find
&lt;br&gt;&amp;gt;anywhere in the HTML5 spec. which says so. &amp;nbsp;Does it/should it?
&lt;br&gt;&lt;br&gt;It is not broken per the XML specification by the same reasoning that a
&lt;br&gt;PNG image is not broken per the XML specification. Procedurally for both
&lt;br&gt;cases the XML processor determines some character encoding and attempts
&lt;br&gt;to decode the document, and then encounters byte sequences that do not
&lt;br&gt;have a well-defined meaning according to the encoding's specification.
&lt;br&gt;It is therefore not possible to restore the textual data the binary data
&lt;br&gt;represents, and the XML specification only defines conformance for pro-
&lt;br&gt;cessors and textual data objects.
&lt;br&gt;&lt;br&gt;Consider that the XML specification does not normatively define exactly
&lt;br&gt;how to determine the character encoding (and I am ignoring that you've
&lt;br&gt;used text/xml as media type for the document which has other theoretical
&lt;br&gt;considerations rarely met in practise), so you can easily define a new
&lt;br&gt;character encoding very-bogus-encoding as &amp;quot;Any sequence of bytes stands
&lt;br&gt;for the text &amp;lt;?xml version='1.0' encoding='very-bogus-encoding'?&amp;gt;&amp;lt;x/&amp;gt;&amp;quot;
&lt;br&gt;and your document would be perfectly conforming if the processor does
&lt;br&gt;indeed support that encoding.
&lt;br&gt;&lt;br&gt;Cases like this do in fact exist in the real world, for example, with
&lt;br&gt;UTF-32 encoded documents the processor may not support UTF-32 and may
&lt;br&gt;instead detect UTF-16 or UTF-8 and encounter illegal byte sequences or
&lt;br&gt;disallowed characters. The only difference is in perception as UTF-32
&lt;br&gt;is widely recognized while very-bogus-encoding is not.
&lt;br&gt;&lt;br&gt;It is ultimately entirely irrelevant whether your document is broken
&lt;br&gt;per the XML specification as it is as far as common sense goes broken
&lt;br&gt;per the US-ASCII specification. You might just as well have your web
&lt;br&gt;server send out malformed TCP datagrams or a malformed HTTP response
&lt;br&gt;and muse how that is or is not broken per unrelated specifications.
&lt;br&gt;Similarily is very-bogus-encoding irrelevant because it violates what
&lt;br&gt;is considered common sense. &lt;a href=&quot;http://xkcd.com/468/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xkcd.com/468/&lt;/a&gt;&amp;nbsp;comes to mind.
&lt;br&gt;&lt;br&gt;(The XML specification actually considers your case a fatal error and
&lt;br&gt;those are errors which in turn are violations of the constraints of the
&lt;br&gt;specification, I've argued unsuccessfully against that in the past as
&lt;br&gt;having specification violations dependant on processor capabilities is
&lt;br&gt;a violation of common sense.)
&lt;br&gt;-- 
&lt;br&gt;Björn Höhrmann · mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25588462&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bjoern@...&lt;/a&gt; · &lt;a href=&quot;http://bjoern.hoehrmann.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bjoern.hoehrmann.de&lt;/a&gt;&lt;br&gt;Am Badedeich 7 · Telefon: +49(0)160/4415681 · &lt;a href=&quot;http://www.bjoernsworld.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.bjoernsworld.de&lt;/a&gt;&lt;br&gt;25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · &lt;a href=&quot;http://www.websitedev.de/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.websitedev.de/&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/What-makes-illegal-characters-non-conformant-tp25578174p25588462.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25584950</id>
	<title>Re: Where is processing of binary attributes covered?</title>
	<published>2009-09-23T13:48:32Z</published>
	<updated>2009-09-23T13:48:32Z</updated>
	<author>
		<name>Henry S. Thompson</name>
	</author>
	<content type="html">-----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;Hash: SHA1
&lt;br&gt;&lt;br&gt;Philip Taylor writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; In particular, the tokenizer state machine will result in a start tag
&lt;br&gt;&amp;gt; token with name &amp;quot;input&amp;quot; and with one attribute, which has name
&lt;br&gt;&amp;gt; &amp;quot;disabled&amp;quot; and value &amp;quot;banana&amp;quot;. That feeds into the tree construction
&lt;br&gt;&amp;gt; algorithm, which will &lt;a href=&quot;http://whatwg.org/html5#insert-an-html-element&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://whatwg.org/html5#insert-an-html-element&lt;/a&gt;&lt;br&gt;&amp;gt; which will &lt;a href=&quot;http://whatwg.org/html5#create-an-element-for-the-token&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://whatwg.org/html5#create-an-element-for-the-token&lt;/a&gt;&lt;br&gt;&amp;gt; which requires &amp;quot;the attributes on the node being those given in the
&lt;br&gt;&amp;gt; given token&amp;quot;. No error recovery occurs while parsing this case. The
&lt;br&gt;&amp;gt; attributes in the DOM are (very nearly) always exactly what was in the
&lt;br&gt;&amp;gt; input document.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The only kind of error recovery in this case is that
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://whatwg.org/html5#concept-fe-disabled&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://whatwg.org/html5#concept-fe-disabled&lt;/a&gt;&amp;nbsp;defines the element to be
&lt;br&gt;&amp;gt; disabled if the 'disabled' attribute exists on the element in the DOM,
&lt;br&gt;&amp;gt; regardless of the attribute's value.
&lt;/div&gt;&lt;br&gt;Hmm. &amp;nbsp;OK, I misunderstood. &amp;nbsp;I thought that in general the DOM which
&lt;br&gt;resulted from parsing was 'conformant', i.e., would if serialized by a
&lt;br&gt;conformant document, but it appears I was mistaken.
&lt;br&gt;&lt;br&gt;ht
&lt;br&gt;- -- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Henry S. Thompson, School of Informatics, University of Edinburgh
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Half-time member of W3C Team
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fax: (44) 131 651-1426, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25584950&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ht@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;http://www.ltg.ed.ac.uk/~ht/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ltg.ed.ac.uk/~ht/&lt;/a&gt;&lt;br&gt;[mail really from me _always_ has this .sig -- mail without it is forged spam]
&lt;br&gt;-----BEGIN PGP SIGNATURE-----
&lt;br&gt;Version: GnuPG v1.2.6 (GNU/Linux)
&lt;br&gt;&lt;br&gt;iD8DBQFKuomokjnJixAXWBoRApniAJ4lCVIjJ2j+F7hwlIteaVNiuIZNxQCfbYeA
&lt;br&gt;p12WtG+aLX8+13zLnewYBv0=
&lt;br&gt;=awfk
&lt;br&gt;-----END PGP SIGNATURE-----
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Where-is-processing-of-binary-attributes-covered--tp25583663p25584950.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25584426</id>
	<title>Re: Where is processing of binary attributes covered?</title>
	<published>2009-09-23T13:15:19Z</published>
	<updated>2009-09-23T13:15:19Z</updated>
	<author>
		<name>Philip Taylor-5</name>
	</author>
	<content type="html">Henry S. Thompson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Document conformance of binary attributes is clearly specified, in
&lt;br&gt;&amp;gt; section 2.4.2, and means that conforming documents must include
&lt;br&gt;&amp;gt; boolean attributes in only one of three forms, e.g. &amp;quot;disabled&amp;quot;,
&lt;br&gt;&amp;gt; &amp;quot;disabled=''&amp;quot; or &amp;quot;disabled='disabled'&amp;quot;, and conformance checkers have
&lt;br&gt;&amp;gt; to detect and signal failures to observe this constraint.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What I can't find clearly stated is how this get into the DOM in the
&lt;br&gt;&amp;gt; right way, and where, if at all, error recovery happens. &amp;nbsp;So, to make
&lt;br&gt;&amp;gt; this precise, What DOM is built for &amp;lt;input disabled=banana&amp;gt;, and why?
&lt;br&gt;&amp;gt; That is, which sections in the spec. give a user agent the necessary
&lt;br&gt;&amp;gt; information?
&lt;/div&gt;&lt;br&gt;&lt;a href=&quot;http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html&lt;/a&gt;&amp;nbsp;
&lt;br&gt;and subsequent pages define how the DOM is constructed. (It's stated 
&lt;br&gt;'clearly' in the sense that it's precise and unambiguous, though it's 
&lt;br&gt;not exceedingly easy to read...)
&lt;br&gt;&lt;br&gt;In particular, the tokenizer state machine will result in a start tag 
&lt;br&gt;token with name &amp;quot;input&amp;quot; and with one attribute, which has name 
&lt;br&gt;&amp;quot;disabled&amp;quot; and value &amp;quot;banana&amp;quot;. That feeds into the tree construction 
&lt;br&gt;algorithm, which will &lt;a href=&quot;http://whatwg.org/html5#insert-an-html-element&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://whatwg.org/html5#insert-an-html-element&lt;/a&gt;&amp;nbsp;
&lt;br&gt;which will &lt;a href=&quot;http://whatwg.org/html5#create-an-element-for-the-token&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://whatwg.org/html5#create-an-element-for-the-token&lt;/a&gt;&amp;nbsp;which 
&lt;br&gt;requires &amp;quot;the attributes on the node being those given in the given 
&lt;br&gt;token&amp;quot;. No error recovery occurs while parsing this case. The attributes 
&lt;br&gt;in the DOM are (very nearly) always exactly what was in the input document.
&lt;br&gt;&lt;br&gt;The only kind of error recovery in this case is that 
&lt;br&gt;&lt;a href=&quot;http://whatwg.org/html5#concept-fe-disabled&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://whatwg.org/html5#concept-fe-disabled&lt;/a&gt;&amp;nbsp;defines the element to be 
&lt;br&gt;disabled if the 'disabled' attribute exists on the element in the DOM, 
&lt;br&gt;regardless of the attribute's value.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Philip Taylor
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25584426&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pjt47@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Where-is-processing-of-binary-attributes-covered--tp25583663p25584426.html" />
</entry>

</feed>
