<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:planet="http://planet.intertwingly.net/" xmlns:indexing="urn:atom-extension:indexing" indexing:index="no"><access:restriction xmlns:access="http://www.bloglines.com/about/specs/fac-1.0" relationship="deny"/>
  <title>Planet HTML5</title>
  <subtitle>HTML5 News &amp; Views</subtitle>
  <updated>2008-11-18T23:34:46Z</updated>
  <generator uri="http://intertwingly.net/code/venus/">Venus</generator>
  <author>
    <name>Michael(tm) Smith</name>
    <email>mike@w3.org</email>
  </author>
  <id>http://www.w3.org/html/planet/atom.xml</id>
  <link href="http://www.w3.org/html/planet/atom.xml" rel="self" type="application/atom+xml"/>
  <link href="http://www.w3.org/html/planet/" rel="alternate"/>

  <entry xml:lang="en">
    <id>http://blog.whatwg.org/?p=364</id>
    <link href="http://blog.whatwg.org/this-week-in-html-5-episode-13/feed" rel="replies" type="application/atom+xml"/>
    <link href="http://blog.whatwg.org/this-week-in-html-5-episode-13" rel="alternate" type="text/html"/>
    <title xml:lang="en">This Week in HTML 5 - Episode 13</title>
    <summary xml:lang="en">Topics this week include major changes to the audio and video elements, the formal addition of the input placeholder attribute, and the Web Developer's Guide to HTML 5.</summary>
    <content type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml"><p>Welcome back to "This Week in HTML 5," where I'll try to summarize the major activity in the ongoing standards process in the WHATWG and W3C HTML Working Group.</p>

<p>The big news this week is a major revamping of how browsers should process multimedia in the <code>&lt;audio&gt;</code> and <code>&lt;video&gt;</code> elements.</p>

<p><a href="http://html5.org/tools/web-apps-tracker?from=2403&amp;to=2404">r2404</a> makes a number of important changes.  First, the <code>canPlayType()</code> method has moved from the <code>navigator</code> object to <code>HTMLMediaElement</code> (i.e. a specific <code>&lt;audio&gt;</code> or <code>&lt;video&gt;</code> element), and it now returns a string rather than an integer. [<a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/017212.html"><code>canPlayType()</code> discussion</a>]</p>
<blockquote cite="http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#dom-navigator-canplaytype">
<p>The canPlayType(type) method must return the string "no" if type is a type that the user agent knows it cannot render; it must return "probably" if the user agent is confident that the type represents a media resource that it can render if used in with this audio or video element; and it must return "maybe" otherwise. Implementors are encouraged to return "maybe" unless the type can be confidently established as being supported or not. Generally, a user agent should never return "probably" if the type doesn't have a codecs parameter.</p>
</blockquote>
<p>Wait, what <code>codecs</code> parameter?  That's the second major change: the <code>&lt;source type&gt;</code> attribute (which previously could only contain a MIME type like "video/mp4", <a href="http://blog.whatwg.org/this-week-in-html-5-episode-10">which is insufficient to determine playability</a>) can now contain a MIME type and a <code>codecs</code> parameter.  As specified in <a href="http://www.rfc-editor.org/rfc/rfc4281.txt">RFC 4281</a>, the <code>codecs</code> parameter specifies the specific codecs used by the individual streams within the audio/video container.  <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#attr-source-type">The section on the <code>type</code> attribute</a> contains several examples of using the <code>codecs</code> parameter.</p>

<p>Third, the <code>&lt;source type&gt;</code> attribute is now optional.  If you aren't sure what kind of video you're serving, you can just throw one or more <code>&lt;source&gt;</code> elements into a <code>&lt;video&gt;</code> element and the browser will <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#loading-the-media-resource">try each of them in the order specified</a> [<a href="http://html5.org/tools/web-apps-tracker?from=2402&amp;to=2403">r2403</a>] until it finds something it can play.  [<a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/thread.html#17172"><code>load()</code> algorithm discussion</a>]  Of course, if you include a <code>type</code> attribute (and <code>codecs</code> parameter within it), the browser may use it to determine playability without loading multiple resources, but this is no longer required.</p>

<p>The final change (this week) to multimedia elements is the elimination of the <code>start</code>, <code>end</code>, <code>loopstart</code>, <code>loopend</code>, and <code>playcount</code> attributes.  They are all replaced by a single attribute, <code>loop</code>, which takes a boolean.  To handle initially seeking to a specific timecode (like the now-eliminated <code>start</code> attribute), the HTML 5 spec vaguely declares, "<a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#loading-the-media-resource">For example, a fragment identifier could be used to indicate a start position</a>."  This obviously <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/017157.html">needs further specification</a>.</p>

<p>One multimedia-related issue that did <em>not</em> change in the spec this week is <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/017224.html">same-origin checking for media elements</a>.  Robert O'Callahan asked <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/017083.html">whether video should be allowed to load from another domain</a>, noting (correctly) that it could lead to information leakage about files posted on private intranets.  Chris Double <a href="http://www.bluishcoder.co.nz/2008/11/video-audio-and-cross-domain-usage.html">outlines the issues and some proposed solutions</a>.  However, contrary to Chris' expectation, <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/017224.html">HTML 5 will not (yet) mandate cross-site restrictions for audio/video files</a>.  This is an ongoing discussion. [<a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/thread.html#17083">WHATWG discussion thread</a>, <a href="http://lists.xiph.org/pipermail/theora/2008-November/thread.html#1930">Theora discussion thread</a>]</p>

<p>In other news, Ian Hickson <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/017238.html">summarized the discussion around the <code>&lt;input placeholder&gt;</code> attribute</a> (which I first mentioned in <a href="http://blog.whatwg.org/this-week-in-html-5-episode-8">This Week in HTML 5 Episode 8</a>) and committed <a href="http://html5.org/tools/web-apps-tracker?from=2408&amp;to=2409">r2409</a> that defines the new attribute:</p>

<blockquote cite="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-placeholder-attribute">
<p>The placeholder attribute represents a short hint (a word or short phrase) intended to aid the user with data entry. A hint could be a sample value or a brief description of the expected format.</p>
<p>For a longer hint or other advisory text, the title attribute is more appropriate.</p>
<p>The placeholder attribute should not be used as an alternative to a label.</p>
<p>User agents should present this hint to the user only when the element's value is the empty string and the control is not focused (e.g. by displaying it inside a blank unfocused control).</p>
</blockquote>

<p>Read <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-placeholder-attribute">the section on the placeholder attribute</a> for an example of its proper use.</p>

<p>Other interesting tidbits this week:</p>

<ul>
<li>Ian Hickson <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/017292.html">explains why the <code>&lt;link rev&gt;</code> attribute was dropped</a>.</li>
<li><a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/017151.html">Lots of feedback about the Web Workers draft</a>.</li>
<li><a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/017241.html">Lots of feedback about the WebSocket interface</a>.</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2412&amp;to=2413">r2413</a> adds a <code>resolveURL()</code> method to the <code>window.location</code> object. [<a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/017275.html"><code>resolveURL()</code> discussion</a>]</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2405&amp;to=2406">r2406</a> defines negative <code>pixelratio</code>.</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2406&amp;to=2407">r2407</a> defines how often browsers should fire the <code>timeupdate</code> event while playing audio or video.</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2415&amp;to=2416">r2416</a> simplifies the content model of the <code>&lt;menu&gt;</code> element. [<a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/017286.html"><code>&lt;menu&gt;</code> discussion</a>]</li>
</ul>

<p>Around the web:</p>

<ul>
<li>The W3C published an editor's draft of Lachlan Hunt's <a href="http://dev.w3.org/html5/html-author/">Web Developer's Guide to HTML 5</a>.</li>
<li>Austin Chau posted <a href="http://austinchau.blogspot.com/2008/11/html5-cross-document-messaging.html">a demo of HTML 5 cross-document messaging</a>.  Further discussion: <a href="http://ajaxian.com/archives/using-html-5-postmessage">Using HTML5 postMessage</a>, <a href="http://ejohn.org/blog/postmessage-api-changes/">postMessage API changes</a>, and the unfortunately-named <a href="http://code.google.com/p/xssinterface/">xssinterface library</a> which implements a <code>postMessage</code>-like API in browsers that do not yet support it.</li>
<li>Ryan Tomayko posted an excellent summary of <a href="http://tomayko.com/writings/things-caches-do">things caches do</a>, specifically HTTP caches like <a href="http://wiki.squid-cache.org/SquidFaq/ReverseProxy">Squid</a> and <a href="http://tomayko.com/src/rack-cache/">rack-cache</a>.</li>
<li>Joe Clark posted <a href="http://www.alistapart.com/articles/thisishowthewebgetsregulated/">This is How the Web Gets Regulated</a>, a call to action on video accessibility.</li>
<li><a href="http://metavid.org/w/index.php/Mv_embed">mv_embed</a> is a GPL-licensed Javascript shim that takes <code>&lt;video&gt;</code> elements that point to Ogg Theora video files and replaces them with plugin-specific markup to play the video through oggplay, vlc-plugin, Java cortado, mplayer, Totem, or Apple Quicktime (if Xiph's Ogg Theora Quicktime component is installed).  A <a href="http://metavid.org/w/extensions/MetavidWiki/skins/mv_embed/example_usage/sample_page.php">demo page</a> demonstrates the technique.</li>
<li>Everyone should go admire <a href="http://diveintomark.org/archives/2008/11/14/woods">my new dog Beauregard</a>, then scroll down to read "dave"'s non-Beau-related but extremely interesting <a href="http://diveintomark.org/archives/2008/11/14/woods#comment-12827">comment on an experimental Ogg Theora video encoder</a>.  From there, I learned about <a href="http://barelyfocused.net/blog/2008/10/03/flash-vorbis-player/">this Ogg Vorbis audio decoder written in pure ActionScript (Flash)</a>, leading to the tantalizing but as-yet-unrealized possibility of a Javascript shim like <a href="http://metavid.org/w/index.php/Mv_embed">mv_embed</a> that could take <code>&lt;audio&gt;</code> elements that point to Ogg Vorbis audio files and replace them with a Flash wrapper that could play the audio file, even in browsers that do not support the <code>&lt;audio&gt;</code> element or the Ogg Vorbis audio codec.</li>
</ul>

<p>Tune in next week for another exciting episode of "This Week in HTML 5."</p></div>
    </content>
    <updated>2008-11-18T21:58:23Z</updated>
    <published>2008-11-18T21:58:23Z</published>
    <category scheme="http://blog.whatwg.org" term="Weekly Review"/>
    <author>
      <name>Mark Pilgrim, Google</name>
      <email>mark@diveintomark.org</email>
      <uri>http://code.google.com/p/doctype/wiki/Welcome</uri>
    </author>
    <source>
      <id>http://blog.whatwg.org/feed/atom</id>
      <link href="http://blog.whatwg.org/feed" rel="self" type="application/atom+xml"/>
      <link href="http://blog.whatwg.org" rel="alternate" type="text/html"/>
      <rights xml:lang="en">Copyright 2008</rights>
      <subtitle xml:lang="en">Please leave your sense of logic at the door, thanks!</subtitle>
      <title xml:lang="en">The WHATWG Blog</title>
      <updated>2008-11-18T21:58:23Z</updated>
    </source>
  </entry>

  <entry>
    <id>tag:www.w3.org,2008:/QA//1.591</id>
    <link href="http://www.w3.org/QA/2008/11/html5-howto.html" rel="alternate" type="text/html"/>
    <title>Learn How To Write HTML 5</title>
    <summary>HTML 5 is too complex? Wait, wait, there is something coming.</summary>
    <content type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml"><p>Discovered through twitter, there is an <a href="http://camendesign.com/code/how_to_learn_html5">interesting blog post</a> from Kroc Camen on how to learn HTML 5. The author is giving good essential guidelines on semantics and elements. The conclusion of his blog post is spot on and shows one of  the painful points of HTML 5 specification:</p>

<blockquote>
  <p>Once you have made a decent HTML4 site, then you will look at the HTML5 specification, and it will make sense—you will know what to do with it.</p>
</blockquote>

<p>A document is being written for filling this hole: <a href="http://dev.w3.org/html5/html-author/">The Web Developer’s Guide to HTML 5</a></p></div>
    </content>
    <updated>2008-11-18T08:21:29Z</updated>
    <published>2008-11-18T08:12:46Z</published>
    <category term="HTML"/>
    <category term="Technology 101"/>
    <category term="Web Spotting"/>
    <author>
      <name>Karl Dubost</name>
      <uri>http://www.w3.org/People/karl/</uri>
    </author>
    <source>
      <id>tag:www.w3.org,2008:/QA//1</id>
      <link href="http://www.w3.org/QA/" rel="alternate" type="text/html"/>
      <link href="http://www.w3.org/QA/atom.xml" rel="self" type="application/atom+xml"/>
      <title>W3C Q&amp;A Weblog</title>
      <updated>2008-11-18T08:21:29Z</updated>
    </source>
  </entry>

  <entry xml:lang="en-GB">
    <id>http://adrianba.net/archive/2008/11/16/well-formed-mark-up.aspx</id>
    <link href="http://adrianba.net/archive/2008/11/16/well-formed-mark-up.aspx" rel="alternate" type="text/html"/>
    <title>Well-formed mark-up?</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>There’s an interesting debate going on in the W3C HTML working group about whether well-formed HTML is important in the specification process for HTML5. It feels to me somehow intellectually that well-formedness is a valuable goal but when it comes down to explaining why it matters I’m finding it hard.</p>  <p>Which of the following is “better”:</p>  <p align="center">normal<tt>&lt;b&gt;</tt><strong>bold</strong><tt>&lt;i&gt;</tt><em><strong>bolditalic</strong></em><tt>&lt;/b&gt;</tt><em>italic</em><tt>&lt;/i&gt;</tt>normal</p>  <p>or</p>  <p align="center">normal<tt>&lt;b&gt;</tt><strong>bold</strong><tt>&lt;i&gt;</tt><em><strong>bolditalic</strong></em><tt>&lt;/i&gt;&lt;/b&gt;&lt;i&gt;</tt><em>italic</em><tt>&lt;/i&gt;</tt>normal</p>  <p>The first is shorter (and works in all the popular web browsers) while the second is well-formed. Well-formedness isn’t about being smaller. It’s also not about performance: it turns out that the parsers in browsers often process certain non-well-formed mark-up faster than if it had been well-formed.</p>  <p>Since browsers have to parse both alternatives and the HTML5 process is about ensuring that they do so in a predictable and interoperable way then should there be any weight behind well-formed documents? After all, the spec doesn’t prevent you from choosing to be well-formed if you want to.</p>  <p>The analogy I’ve been considering is about indentation in C++ source code: few people would probably write C++ without a sensible indentation strategy to help make the code readable. Yet the C++ spec doesn’t need to say anything about indentation – it’s a best practice but not a formal part of the language definition. Could writing well-formed HTML be a best practice that’s not a formal part of the language definition?</p>  <div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:328c2ad3-9c63-44a2-a7b3-891fc4eb963f" style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px;">Technorati Tags: <a href="http://technorati.com/tags/HTML" rel="tag">HTML</a>,<a href="http://technorati.com/tags/W3C" rel="tag">W3C</a></div><img height="1" src="http://adrianba.net/aggbug/438.aspx" width="1"/></div>
    </summary>
    <updated>2008-11-17T02:44:49Z</updated>
    <author>
      <name>Adrian Bateman</name>
    </author>
    <source>
      <id>http://adrianba.net/Default.aspx</id>
      <logo>http://adrianba.net/images/RSS2Image.gif</logo>
      <author>
        <name/>
        <email>adrian@adrianba.net</email>
      </author>
      <link href="http://adrianba.net/Default.aspx" rel="alternate" type="text/html"/>
      <link href="http://adrianba.net/Rss.aspx" rel="self" type="application/rss+xml"/>
      <rights>Adrian Bateman</rights>
      <subtitle>On land, on sea, and in the ether.</subtitle>
      <title>adrianba.net</title>
      <updated>2008-11-18T23:34:42Z</updated>
    </source>
  </entry>

  <entry>
    <id>http://stackoverflow.com/questions/289225/does-ie-8-support-html-5</id>
    <link href="http://stackoverflow.com/questions/289225/does-ie-8-support-html-5" rel="alternate" type="text/html"/>
    <link href="http://stackoverflow.com/feeds/question/289225/answers" rel="replies" type="application/atom+xml"/>
    <title>Does IE 8 support HTML 5?</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Does any HTML5 support in the IE8 betas?  Is it on the IE8 roadmap?</p></div>
    </summary>
    <updated>2008-11-14T08:04:59Z</updated>
    <published>2008-11-14T04:12:23Z</published>
    <category scheme="http://stackoverflow.com/feeds/tag/html5/tags" term="ie"/>
    <category scheme="http://stackoverflow.com/feeds/tag/html5/tags" term="ie8"/>
    <category scheme="http://stackoverflow.com/feeds/tag/html5/tags" term="html5"/>
    <author>
      <name>Bruno Tyndall</name>
    </author>
    <source>
      <id>http://stackoverflow.com/feeds/tag/html5</id>
      <link href="http://stackoverflow.com/feeds/tag/html5" rel="self" type="application/atom+xml"/>
      <link href="http://stackoverflow.com/questions/tagged/html5" rel="alternate" type="text/html"/>
      <link href="http://www.creativecommons.org/licenses/by-nc/2.5/rdf" rel="license"/>
      <subtitle>most recent 30 from stackoverflow.com</subtitle>
      <title>Questions tagged 'html5' - Stack Overflow</title>
      <updated>2008-11-18T23:32:22Z</updated>
    </source>
  </entry>

  <entry>
    <id>http://stackoverflow.com/questions/289225/so-when-is-microsoft-going-to-start-drinking-the-html5-juice</id>
    <link href="http://stackoverflow.com/questions/289225/so-when-is-microsoft-going-to-start-drinking-the-html5-juice" rel="alternate" type="text/html"/>
    <link href="http://stackoverflow.com/feeds/question/289225/answers" rel="replies" type="application/atom+xml"/>
    <title>So When Is Microsoft Going to Start Drinking the HTML5 Juice?</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>So When Is Microsoft Going to Start Drinking the HTML5 Juice? Is any HTML5 stuff going to make it into IE8?</p></div>
    </summary>
    <updated>2008-11-14T04:18:06Z</updated>
    <published>2008-11-14T04:12:23Z</published>
    <category scheme="http://stackoverflow.com/feeds/tag/html5/tags" term="ie"/>
    <category scheme="http://stackoverflow.com/feeds/tag/html5/tags" term="microsoft"/>
    <category scheme="http://stackoverflow.com/feeds/tag/html5/tags" term="html5"/>
    <author>
      <name>Bruno Tyndall</name>
    </author>
    <source>
      <id>http://stackoverflow.com/feeds/tag/html5</id>
      <link href="http://stackoverflow.com/feeds/tag/html5" rel="self" type="application/atom+xml"/>
      <link href="http://stackoverflow.com/questions/tagged/html5" rel="alternate" type="text/html"/>
      <link href="http://www.creativecommons.org/licenses/by-nc/2.5/rdf" rel="license"/>
      <subtitle>most recent 30 from stackoverflow.com</subtitle>
      <title>Questions tagged 'html5' - Stack Overflow</title>
      <updated>2008-11-14T04:33:38Z</updated>
    </source>
  </entry>

  <entry>
    <id>tag:www.w3.org,2008:/QA//1.590</id>
    <link href="http://www.w3.org/QA/2008/11/html_5_the_markup.html" rel="alternate" type="text/html"/>
    <title>HTML 5, the markup</title>
    <summary>People interested only the html 5 content model were not satisfied with the huge html 5 specification. Discover html 5, the markup language.</summary>
    <content type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml"><p>HTML 5 is a giant specification. It contains things related to the content model, the APIs, the DOM, the parsing algorithm, etc. We received many comments that it was very hard to read for simple implementers and documentation writers who would like to better understand how html 5 documents are written.</p>

<p>Discover the editor's draft of <a href="http://www.w3.org/html/wg/markup-spec/">HTML 5: The Markup Language</a>! <a href="http://people.w3.org/mike/">Mike Smith</a> has extracted the parts of HTML 5 related to the <strong>content model</strong>. This document is aimed at people who would like to focus on the content model, be reviewers, authoring tools implementers, documentation writers.</p>

<p>We hope that it will help everyone to have a better understanding of html 5 content model. An additional document should be provided in the future for learning about html 5 with the name Web Authoring Guidelines.</p></div>
    </content>
    <updated>2008-11-14T03:12:25Z</updated>
    <published>2008-11-14T03:01:22Z</published>
    <category term="HTML"/>
    <category term="Reference"/>
    <category term="Technology 101"/>
    <author>
      <name>Karl Dubost</name>
      <uri>http://www.w3.org/People/karl/</uri>
    </author>
    <source>
      <id>tag:www.w3.org,2008:/QA//1</id>
      <link href="http://www.w3.org/QA/" rel="alternate" type="text/html"/>
      <link href="http://www.w3.org/QA/atom.xml" rel="self" type="application/atom+xml"/>
      <title>W3C Q&amp;A Weblog</title>
      <updated>2008-11-18T08:21:29Z</updated>
    </source>
  </entry>

  <entry xml:lang="pl">
    <id>http://my.opera.com/ODIN/blog/show.dml/2723885</id>
    <link href="http://my.opera.com/ODIN/blog/show.dml/2723885" rel="alternate" type="text/html"/>
    <title>Opera Developer Network: US University Tour: Accessibility, standards and HTML 5</title>
    <updated>2008-11-12T10:50:57Z</updated>
    <author>
      <name>lid (Henny Swan</name>
      <email>address-withheld@my.opera.com.inva</email>
    </author>
    <source>
      <id>http://planet.operapl.net/</id>
      <logo>http://operapl.net/planet.styles/i/logorss.ping</logo>
      <author>
        <name>Planet Opera</name>
      </author>
      <link href="http://planet.operapl.net/" rel="alternate" type="text/html"/>
      <link href="http://planet.operapl.net/rss20lite.xml" rel="self" type="application/rss+xml"/>
      <subtitle>Planet Opera - http://planet.operapl.net/</subtitle>
      <title>Planet Opera</title>
      <updated>2008-11-18T23:34:17Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blog.whatwg.org/?p=356</id>
    <link href="http://blog.whatwg.org/the-road-to-html-5-getelementsbyclassname/feed" rel="replies" type="application/atom+xml"/>
    <link href="http://blog.whatwg.org/the-road-to-html-5-getelementsbyclassname" rel="alternate" type="text/html"/>
    <title xml:lang="en">The Road to HTML 5: getElementsByClassName()</title>
    <summary xml:lang="en">getElementsByClassName() is well-supported across all modern browsers except IE, and a performance-optimized open source wrapper script can cover IE and older browsers.</summary>
    <content type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml"><p>Welcome back to my semi-regular column, "The Road to HTML 5," where I'll try to explain some of the <a href="http://wiki.whatwg.org/wiki/Differences_from_HTML4">new elements, attributes, and other features</a> in the upcoming HTML 5 specification.</p>

<p>The feature of the day is <a href="http://code.google.com/p/doctype/wiki/DocumentGetElementsByClassNameMethod"><code>getElementsByClassName()</code></a>.  Long desired by web developers and implemented in Javascript libraries like <a href="http://www.prototypejs.org/api/element/getElementsByClassName">Prototype</a>, this function does exactly what it says on the tin: it returns a list of elements in the DOM that define one or more classnames in the <code>class</code> attribute.  <code>getElementsByClassName()</code> exists as a method of the <code>document</code> object (for searching the entire DOM), as well as on each <code>HTMLElement</code> object (for searching the children of an element).</p>

<p><a href="http://www.whatwg.org/specs/web-apps/current-work/#dom-document-getelementsbyclassname">The HTML 5 specification defines <code>getElementsByClassName()</code>:</a></p>

<blockquote cite="http://www.whatwg.org/specs/web-apps/current-work/#dom-document-getelementsbyclassname">
<p>The <code>getElementsByClassName(<var>classNames</var>)</code> method takes a string that contains an <a href="http://www.whatwg.org/specs/web-apps/current-work/#unordered-set-of-unique-space-separated-tokens">unordered set of unique space-separated tokens</a> representing classes. When called, the method must return a live <code>NodeList</code> object containing all the elements in the document, in <a href="http://www.whatwg.org/specs/web-apps/current-work/#tree-order">tree order</a>, that have all the classes specified in that argument, having obtained the classes by <a href="http://www.whatwg.org/specs/web-apps/current-work/#split-a-string-on-spaces">splitting a string on spaces</a>. If there are no tokens specified in the argument, then the method must return an empty <code>NodeList</code>. If the document is in <a href="http://www.whatwg.org/specs/web-apps/current-work/#quirks-mode">quirks mode</a>, then the comparisons for the classes must be done in an <a href="http://www.whatwg.org/specs/web-apps/current-work/#ascii-case-insensitive">ASCII case-insensitive</a> manner, otherwise, the comparisons must be done in a <a href="http://www.whatwg.org/specs/web-apps/current-work/#case-sensitive">case-sensitive</a> manner.</p>
</blockquote>

<h3>A Brief History of getElementsByClassName()</h3>

<ul>
<li>September 2005: <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2005-September/004685.html">getElementsByClassName() Implementation Questions</a> and followups discuss whether <code>getElementsByClassName()</code> should take a string with multiple classnames, and if so, what that would mean.  <a href="http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2005-September/004716.html">Despite early protests</a>, it was eventually decided that <code>getElementsByClassName()</code> <a href="http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2005-November/005064.html">should take multiple classnames in a single string, separated by spaces</a>, and that the function should return elements that define <em>all</em> of given classnames.</li>
<li>February 2006: "<a href="http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2006-February/005703.html">I see this is still an open issue</a>."</li>
<li>October 2006: "<a href="http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2006-October/007407.html">This omnibus edition of your WHATWG mail includes replies to 50 or so separate e-mails about getElementsByClassName()</a>."</li>
<li>February 2007: "<a href="http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2007-October/012651.html">I landed support for this on the Mozilla trunk, and it will appear in upcoming Firefox alphas and betas. The array argument turned out to be quite a pain to implement, so we cut it</a>."  Ian Hickson responds: "I've changed the spec to use a space-separated list. ... I've dropped the array form altogether."</li>
<li>March 2007: John Resig puts Firefox 3's implementation to the test in <a href="http://ejohn.org/blog/getelementsbyclassname-speed-comparison/">getElementsByClassName Speed Comparison</a>.</li>
<li>July 2007: "<a href="http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2007-July/012167.html">I suggest that participants in this thread reacquaint themselves with the discussion in the previous one before having it again</a>."  Good luck with that.</li>
<li>September 2007: "<a href="http://dev.opera.com/articles/view/new-development-techniques-using-opera-k/">A popular and useful feature [in Opera 9.5] will be the addition of native support for getElementByClassName from HTML5</a>."</li>
<li>December 2007: "<a href="http://webkit.org/blog/153/webkit-gets-native-getelementsbyclassname/">Last week WebKit joined upcoming versions of Firefox and Opera in supporting [getElementsByClassName]</a>."</li>
<li>December 2007: "<a href="http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2007-December/013119.html">Currently getElementsByClassName is specified as always being case sensitive. This would be fine, except that the primary other use of html class names (CSS selector matching) is only case sensitive in standards mode. This leads to situations ... in which CSS and getElementsByClassName match different results</a>."</li>
<li>July 2008: Ian Hickson responds: "<a href="http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2008-July/015391.html">I've made it consistent with how classes work in CSS (case-insensitive for quirks and case-sensitive otherwise)</a>."</li>
</ul>

<h3>Can We Use It?</h3>

<p>Yes We Can!  As you can tell from the timeline, <code>getElementsByClassName()</code> is supported natively in Firefox 3, Opera 9.5, Safari 3.1, and all versions of Google Chrome.  It is not available in any version of Microsoft Internet Explorer.  (IE 8 beta 2 is the latest version as of this writing.)  To use it in browsers that do not support it natively, you will need a wrapper script.  There are many such scripts; I myself am partial to <a href="http://www.robertnyman.com/2008/05/27/the-ultimate-getelementsbyclassname-anno-2008/">Robert Nyman's Ultimate GetElementsByClassName</a>.  It uses the native <code>getElementsByClassName()</code> method in modern browsers that support it, then falls back to the little-known <a href="http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/xpath.html#XPathEvaluator-evaluate"><code>document.evaluate()</code> method</a>, which is supported by older versions of Firefox (since at least 1.5) and Opera (since at least 9.27).  If all else fails, Robert's script falls back to recursively traversing the DOM and collecting elements that match the given classnames.</p>

<h3>And in conclusion</h3>

<p><code>getElementsByClassName()</code> is well-supported across all modern browsers except IE, and a performance-optimized open source wrapper script can cover IE and older browsers.</p></div>
    </content>
    <updated>2008-11-11T19:01:05Z</updated>
    <published>2008-11-11T19:01:05Z</published>
    <category scheme="http://blog.whatwg.org" term="Tutorials"/>
    <category scheme="http://blog.whatwg.org" term="WHATWG"/>
    <author>
      <name>Mark Pilgrim, Google</name>
      <email>mark@diveintomark.org</email>
      <uri>http://code.google.com/p/doctype/wiki/Welcome</uri>
    </author>
    <source>
      <id>http://blog.whatwg.org/feed/atom</id>
      <link href="http://blog.whatwg.org/feed" rel="self" type="application/atom+xml"/>
      <link href="http://blog.whatwg.org" rel="alternate" type="text/html"/>
      <rights xml:lang="en">Copyright 2008</rights>
      <subtitle xml:lang="en">Please leave your sense of logic at the door, thanks!</subtitle>
      <title xml:lang="en">The WHATWG Blog</title>
      <updated>2008-11-18T21:58:23Z</updated>
    </source>
  </entry>

  <entry>
    <author>
      <name>Sam Ruby</name>
    </author>
    <id>tag:intertwingly.net,2004:2922</id>
    <link href="http://intertwingly.net/blog/2008/11/11/Native-JSON-parser" rel="alternate" type="text/html"/>
    <link href="http://intertwingly.net/blog/2922.atom" rel="replies" type="text/html"/>
    <title>Native JSON parser</title>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><svg xmlns="http://www.w3.org/2000/svg" height="102" style="float: right;" viewBox="0 0 100 102" width="100">
  <radialGradient cx="65" cy="90" gradientUnits="userSpaceOnUse" id="jsongrad" r="100"><stop offset="0" stop-color="#EEF"/><stop offset="1"/></radialGradient>
  <path d="M61,02 A 49,49 0,0,0 39,98 C 9,79 10,24 45,25 C 72,24 65,75 50,75 C 93,79 91,21 62,02" fill="url(#jsongrad)" id="jsonswirl"/>
  <use xmlns:xlink="http://www.w3.org/1999/xlink" transform="rotate(180 50,50)" xlink:href="#jsonswirl"/>
</svg>
<p><a href="http://blog.whatwg.org/this-week-in-html-5-episode-12"><cite>Mark Pilgrim</cite></a>: <em>HTML 5 will not ... <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-July/015293.html">expose a native JSON parser for web content</a></em></p>
<p>HTML 5 may not, but the plan is that <a href="http://wiki.ecmascript.org/lib/exe/fetch.php?id=es3.1%3Aes3.1_proposal_working_draft&amp;cache=cache&amp;media=es3.1:tc39-es31-draft07nov08.pdf">ECMAScript will</a> (section 15.12).  It is <a href="http://blogs.msdn.com/ie/archive/2008/09/10/native-json-in-ie8.aspx">already supported in IE8 beta 2</a>.  Firefox has <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=387522">landed support</a>, and is <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=340987">tracking it</a> as a part of an overall plan to <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=445494">support ES3.1</a>.</p></div>
    </content>
    <updated>2008-11-11T12:11:03Z</updated>
    <source>
      <id>http://intertwingly.net/blog/index.atom</id>
      <icon>http://intertwingly.net/favicon.ico</icon>
      <author>
        <name>Sam Ruby</name>
        <email>rubys@intertwingly.net</email>
        <uri>http://intertwingly.net/blog/</uri>
      </author>
      <link href="http://intertwingly.net/blog/index.atom" rel="self" type="application/atom+xml"/>
      <link href="http://intertwingly.net/blog/" rel="alternate" type="text/html"/>
      <link href="http://creativecommons.org/licenses/BSD/" rel="license" type="text/html"/>
      <subtitle>It’s just data</subtitle>
      <title>Sam Ruby</title>
      <updated>2008-11-18T22:42:56Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blog.whatwg.org/?p=353</id>
    <link href="http://blog.whatwg.org/this-week-in-html-5-episode-12/feed" rel="replies" type="application/atom+xml"/>
    <link href="http://blog.whatwg.org/this-week-in-html-5-episode-12" rel="alternate" type="text/html"/>
    <title xml:lang="en">This Week in HTML 5 - Episode 12</title>
    <summary xml:lang="en">Topics this week: Almost-Standards mode, the keygen element, and an incomplete list of things that will NOT be in HTML 5.</summary>
    <content type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml"><p>Welcome back to "This Week in HTML 5," where I'll try to summarize the major activity in the ongoing standards process in the WHATWG and W3C HTML Working Group.  The primary editor was <a href="http://ln.hixie.ch/?start=1226346088&amp;count=1">traveling</a> this week, so there are very few spec changes to discuss.  Instead, I'd like to try something a little different.</p>

<p>It has been suggested (<a href="http://developers.slashdot.org/article.pl?sid=08/04/24/1455202">1</a>, <a href="http://ajaxian.com/archives/firefox-31-to-support-html-5-video-and-audio">2</a>, <a href="http://www.nczonline.net/blog/2008/02/28/thoughts-on-html-5/">3</a>, <a href="http://www.google.com/search?q=html+5+kitchen+sink">&amp;c.</a>) that HTML 5 is trying to bite off more than it can metaphorically chew.  It is true that it is a large specification, and <a href="http://lists.w3.org/Archives/Public/public-html/2008Oct/0127.html">it might benefit from being split into several pieces</a>.  But it is not true that it includes everything but the kitchen sink.</p>

<p>For example, HTML 5 will not</p>

<ul>
<li><a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/017050.html">deprecate <code>&lt;textarea&gt;</code></a></li>
<li><a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016768.html">allow arbitrary markup in <code>&lt;option&gt;</code></a></li>
<li><a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016773.html">include an <code>&lt;altinput&gt;</code> element</a> (<a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2005-August/004617.html">reference</a>)</li>
<li><a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/017030.html">allow authors to localize the "Browse" button that represents a file input control</a></li>
<li><a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/017045.html">allow authors to localize the open-file dialog that opens in response to activating a file input control</a></li>
<li><a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/017027.html">mandate that browsers display a progress bar during file upload</a></li>
<li><a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/017025.html">limit the number of selected checkboxes or options in a web form</a></li>
<li><a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016972.html">allow web authors to specify a regular expression constraint on a <code>&lt;textarea&gt;</code></a></li>
<li><a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016884.html">support form controls associated with more than one form</a></li>
<li><a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016874.html">change the default type of <code>&lt;button&gt;</code></a></li>
<li><a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016873.html">allow web authors to mark form fields as auto-tabbing</a></li>
<li><a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016849.html">support form seeding</a></li>
<li><a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-August/015747.html">rename the <code>HTMLCollection</code> <code>.length</code> attribute to <code>.count</code></a></li>
<li><a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-July/015293.html">expose a native JSON parser for web content</a></li>
<li><a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-August/015792.html">support client-side includes</a></li>
<li><a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-August/015848.html">try to compete with Docbook</a></li>
</ul>

<p>Daniel Schattenkirchner asked <a href="http://lists.w3.org/Archives/Public/public-html/2008Nov/0036.html">whether Almost-Standards mode is still needed</a>.  <a href="https://developer.mozilla.org/en/Gecko's_%22Almost_Standards%22_Mode">Almost-Standards mode is a form of </a><a href="http://hsivonen.iki.fi/doctype/">DOCTYPE sniffing</a> invented by Mozilla in 2002 to address <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=151620">line heights in table cells containing images</a>.  <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=153032">Bug 153032</a> implemented the new mode, which Mozilla called "Almost Standards mode" and HTML 5 calls "<a href="http://www.whatwg.org/specs/web-apps/current-work/#quirks-mode">limited quirks mode</a>."  Henri Sivonen made the point that <a href="http://lists.w3.org/Archives/Public/public-html/2008Nov/0040.html">it would probably be too expensive to get rid of the mode</a>.  Like it or not, we're probably stuck with it.</p>

<p>And finally, a gem that I missed when it was first discussed: back in July, <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-July/015300.html">"Lars"</a> provided <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20080714/07ea5534/attachment.txt">the best documentation of the <code>&lt;keygen&gt;</code> element, ever</a>.</p>

<p>Tune in next week for another exciting episode of "This Week in HTML 5."</p></div>
    </content>
    <updated>2008-11-11T02:37:39Z</updated>
    <published>2008-11-11T02:37:39Z</published>
    <category scheme="http://blog.whatwg.org" term="Weekly Review"/>
    <author>
      <name>Mark Pilgrim, Google</name>
      <email>mark@diveintomark.org</email>
      <uri>http://code.google.com/p/doctype/wiki/Welcome</uri>
    </author>
    <source>
      <id>http://blog.whatwg.org/feed/atom</id>
      <link href="http://blog.whatwg.org/feed" rel="self" type="application/atom+xml"/>
      <link href="http://blog.whatwg.org" rel="alternate" type="text/html"/>
      <rights xml:lang="en">Copyright 2008</rights>
      <subtitle xml:lang="en">Please leave your sense of logic at the door, thanks!</subtitle>
      <title xml:lang="en">The WHATWG Blog</title>
      <updated>2008-11-18T21:58:23Z</updated>
    </source>
  </entry>

  <entry>
    <author>
      <name>Sam Ruby</name>
    </author>
    <id>tag:intertwingly.net,2004:2920</id>
    <link href="http://intertwingly.net/blog/2008/11/07/Content-Drives-Demand" rel="alternate" type="text/html"/>
    <link href="http://intertwingly.net/blog/2920.atom" rel="replies" type="text/html"/>
    <title>Content Drives Demand</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p><a href="http://blog.codedread.com/archives/2008/11/07/the-start-of-something-good/">Jeff Schiller</a>: <em>These days, Internet Explorer is the last browser I look at… as long as all my textual content is actually visible, then that’s just fine by me.</em></p>
<p>I think I’ll take a bit of <a href="http://ln.hixie.ch/?start=1201080691&amp;order=-1&amp;count=5">Ian’s</a> advice, and drop my use of the <code>X-UA-Compatible</code> header.</p></div>
    </summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><svg xmlns="http://www.w3.org/2000/svg" height="100" style="float: right;" viewBox="0 0 100 100" width="100">
  <path d="M57,11c40-22,42-2,35,12c8-27-15-20-30-11z" fill="#47b"/>
  <path d="M36,56h56c4-60-83-60-86-6c13-16,26-26,36-30l-29,53c20,23,64,26,79-12h-30c0,14-26,12-25-5zM37,43c0-17,26-17,26,0zM39,89c-10,7-42,15-26-16l29-52c-15,6-36,40-37,48c-12,35,14,37,37,20" fill="#47b"/>
</svg>
<p><a href="http://blog.whatwg.org/the-road-to-html-5-episode-1-the-section-element"><cite>Mark Pilgrim</cite></a>: <em>The <code>&lt;section&gt;</code> element is a very straightforward HTML 5 feature that you can’t actually use yet.</em></p>
<p><a href="http://blog.codedread.com/archives/2008/11/07/the-start-of-something-good/">Jeff Schiller</a>: <em>These days, Internet Explorer is the last browser I look at… as long as all my textual content is actually visible, then that’s just fine by me.</em></p>
<p>With apologies to Mark (and I truly understand where he is coming from), it seems to me that we would all be a lot better off if less people listened to him and more listened to Jeff.</p>
<p>Frankly, I’m surprised that more WHATWG members don’t have the cojones to make use of straightforward markup innovations like the <code>section</code> element.</p>
<p>Meanwhile, I think I’ll take a bit of <a href="http://ln.hixie.ch/?start=1201080691&amp;order=-1&amp;count=5">Ian’s</a> advice, and drop my use of the <code>X-UA-Compatible</code> header, making my <a href="http://intertwingly.net/blog/">blog’s front page</a> simultaneously demonstrate both Mark and Jeff’s points.</p></div>
    </content>
    <updated>2008-11-07T21:40:46Z</updated>
    <source>
      <id>http://intertwingly.net/blog/index.atom</id>
      <icon>http://intertwingly.net/favicon.ico</icon>
      <author>
        <name>Sam Ruby</name>
        <email>rubys@intertwingly.net</email>
        <uri>http://intertwingly.net/blog/</uri>
      </author>
      <link href="http://intertwingly.net/blog/index.atom" rel="self" type="application/atom+xml"/>
      <link href="http://intertwingly.net/blog/" rel="alternate" type="text/html"/>
      <link href="http://creativecommons.org/licenses/BSD/" rel="license" type="text/html"/>
      <subtitle>It’s just data</subtitle>
      <title>Sam Ruby</title>
      <updated>2008-11-18T22:42:56Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blog.whatwg.org/?p=344</id>
    <link href="http://blog.whatwg.org/the-road-to-html-5-episode-1-the-section-element/feed" rel="replies" type="application/atom+xml"/>
    <link href="http://blog.whatwg.org/the-road-to-html-5-episode-1-the-section-element" rel="alternate" type="text/html"/>
    <title xml:lang="en">The Road to HTML 5 - Episode 1: the section element</title>
    <summary xml:lang="en">Welcome to a new semi-regular column, "The Road to HTML 5," where I'll try to explain some of the new elements, attributes, and other features in the upcoming HTML 5 specification.  This week: the section element.</summary>
    <content type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml"><p>Welcome to a new semi-regular column, "The Road to HTML 5," where I'll try to explain some of the <a href="http://wiki.whatwg.org/wiki/Differences_from_HTML4">new elements, attributes, and other features</a> in the upcoming HTML 5 specification.</p>

<p>The element of the day is <a href="http://code.google.com/p/doctype/wiki/SectionElement">the <code>&lt;section&gt;</code> element</a>.</p>

<blockquote cite="http://www.whatwg.org/specs/web-apps/current-work/#the-section-element">
<p>The <code>section</code> element represents a generic document or application section. A section, in this context, is a thematic grouping of content, typically with a header, possibly with a footer.  Examples of sections would be chapters, the various tabbed pages in a tabbed dialog box, or the numbered sections of a thesis. A Web site's home page could be split into sections for an introduction, news items, contact information.</p>
</blockquote>

<p>Discussion of sections and headers dates back several years. <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2004-November/002362.html">In November 2004, Ian Hickson wrote</a>:</p>

<blockquote>
<p>Basically I want three things:</p>

<ol>
<li>It has to be possible to take existing markup (which correctly uses <code/>&lt;h1&gt;-<code/>&lt;h6&gt;) and wrap the sections up with <code/>&lt;section&gt; (and the other new section elements) and have it be correct markup. Basically, allowing authors to replace <code/>&lt;div class="section"&gt; with <code/>&lt;section&gt;, <code/>&lt;div class="post"&gt; with <code/>&lt;article&gt;, etc.</li>
<li>It has to be possible to write new documents that use the section elements and have the headers be automatically styled to the right depth (and maybe automatically numbered, with appropriate CSS), and yet still be readable in legacy UAs, without having to think about old UAs. Basically, the header element has to be header-like in old browsers.</li>
<li>It shouldn't be too easy to end up with meaningless markup when doing either of the above. So a random <code/>&lt;h4&gt; in the middle of an <code/>&lt;h2&gt; and an <code/>&lt;h3&gt; has to be defined as meaning _something_.</li>
</ol>
<p>At the moment what I'm thinking of doing is this (most of these ideas are in the draft at the moment, but mostly in contradictory ways):</p>
<p>The section elements would be:</p>
<blockquote>
<p><code/>&lt;body&gt; <code/>&lt;section&gt; <code/>&lt;article&gt; <code/>&lt;navigation&gt; <code/>&lt;sidebar&gt;</p>
</blockquote>
<p>The header elements would be:</p>
<blockquote>
<p><code/>&lt;header&gt; <code/>&lt;h1&gt; <code/>&lt;h2&gt; <code/>&lt;h3&gt; <code/>&lt;h4&gt; <code/>&lt;h5&gt; <code/>&lt;h6&gt;</p>
</blockquote>
<p><code/>&lt;h1&gt; gives the heading of the current section.</p>
<p><code/>&lt;header&gt; wraps block-level content to mark the whole thing as a header, so that you can have, e.g., subtitles, or "Welcome to" paragraphs before a header, or "Presented by" kind of information. <code/>&lt;header&gt; is equivalent to an <code/>&lt;h1&gt;. The first highest-level header in the <code/>&lt;header&gt; is the "title" of the section for outlining purposes.</p>
<p><code/>&lt;h2&gt; to <code/>&lt;h6&gt; are subsection headings when used in <code/>&lt;body&gt;, and equivalent to <code/>&lt;h1&gt; when used in one of the section elements.</p>
<p><code/>&lt;h1&gt; automatically sizes to fit the current nesting depth. This could be a problem in CSS since CSS can't handle this kind of thing well -- it has no "or" operator at the simple selector level.</p>
<p><code/>&lt;h2&gt;-<code/>&lt;h6&gt; keep their legacy renderings for compatibility.</p>
</blockquote>

<p>Further discussion:</p>

<ul>
<li>August 2004: <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2004-August/thread.html#1989">&lt;section&gt; and headings</a></li>
<li>September 2004: <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2004-September/thread.html#2188">&lt;section&gt; and headings</a></li>
<li>November 2004: <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2004-November/thread.html#2443">The Section Header Problem</a></li>
<li>March 2005: <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2005-March/thread.html#3333">&lt;h1&gt; to &lt;h6&gt; in &lt;body&gt;</a></li>
<li>April 2005: <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2005-April/thread.html#3377">&lt;section&gt;and headings and other threads</a>
</li></ul>

<p>Fast-forward to modern times.  Using the <code>&lt;section&gt;</code> element instead of, say, <code>&lt;div class="section"&gt;</code>, seems like a no-brainer.  Unfortunately, there's a catch.  (Hey, it's the web; there's always a catch.)  Not all modern browsers recognize the <code>&lt;section&gt;</code> element, which means that they fall back to their default handling of unknown elements.</p>

<h3>A long digression into browsers' handling of unknown elements</h3>

<p>Every browser has a master list of HTML elements that it supports.  For example, Mozilla Firefox's list is stored in <a href="http://mxr.mozilla.org/seamonkey/source/parser/htmlparser/src/nsElementTable.cpp">nsElementTable.cpp</a>.  Elements not in this list are treated as "unknown elements."  There are two fundamental problems with unknown elements:</p>

<ol>
<li><b>How should the element be styled?</b>  By default, <code>&lt;p&gt;</code> has spacing on the top and bottom, <code>&lt;blockquote&gt;</code> is indented with a left margin, and <code>&lt;h1&gt;</code> is displayed in a larger font.</li>
<li><b>What should the element's DOM look like?</b>  Mozilla's <code>nsElementTable.cpp</code> includes information about what kinds of other elements each element can contain.  If you include markup like <code>&lt;p&gt;&lt;p&gt;</code>, the second paragraph element implicitly closes the first one, so the elements end up as siblings, not parent-and-child.  But if you write <code>&lt;p&gt;&lt;span&gt;</code>, the <code>span</code> does not close the paragraph, because Firefox knows that <code>&lt;p&gt;</code> is a block element that can contain the inline element <code>&lt;span&gt;</code>.  So the <code>&lt;span&gt;</code> ends up as a child of the <code>&lt;p&gt;</code> in the DOM.</li>
</ol>

<p>Different browsers answer these questions in different ways.  (Shocking, I know.)  Of the major browsers, Microsoft Internet Explorer's answer to both questions is the most problematic.</p>

<p>The first question should be relatively simple to answer: don't give any special styling to unknown elements.  Just let them inherit whatever CSS properties are in effect wherever they appear on the page, and let the page author specify all styling with CSS.  Unfortunately, Internet Explorer does not allow styling on unknown elements.  For example, if you had this markup:</p>

<blockquote><pre><code>&lt;style type="text/css"&gt;
  section { border: 1px solid red }
&lt;/style&gt;
...
&lt;section&gt;
&lt;h1&gt;Welcome to Initech&lt;/h1&gt;
&lt;p&gt;This is our &lt;span&gt;home page&lt;/span&gt;.&lt;/p&gt;
&lt;/section&gt;</code></pre></blockquote>

<p>Internet Explorer (up to and including IE8 beta 2) will not put a red border around the section.</p>

<p>The second problem is the DOM that browsers create when they encounter unknown elements.  Again, the most problematic browser is Internet Explorer.  If IE doesn't explicitly recognize the element name, it will insert the element into the DOM <em>as an empty node with no children</em>.  All the elements that you would expect to be direct children of the unknown element will actually be inserted as siblings instead.  I've posted <a href="http://code.google.com/p/doctype/wiki/SectionElement">an ASCII graph that illustrates this mismatch</a>.</p>

<p>Sjoerd Visscher discovered a workaround for this problem: after you <a href="http://xopus.com/devblog/2008/style-unknown-elements.html">create a dummy element with that name</a>, IE will recognize the element enough to let you style it with CSS.  You can put the script in the <code>&lt;head&gt;</code> of your page, and there is no need to ever insert it into the DOM.  Simply creating the element once (per page) is enough to teach IE to style the element it doesn't recognize.  Sample code and markup:</p>

<blockquote><pre><code>&lt;html&gt;
&lt;head&gt;
&lt;style type="text/css"&gt;
  section { display: block; border: 1px solid red }
&lt;/style&gt;
<b>&lt;script type="text/javascript"&gt;
  document.createElement("section");
&lt;/script&gt;</b>
&lt;/head&gt;
&lt;body&gt;
&lt;section&gt;
&lt;h1&gt;Welcome to Initech&lt;/h1&gt;
&lt;p&gt;This is our &lt;span&gt;home page&lt;/span&gt;.&lt;/p&gt;
&lt;/section&gt;
&lt;/body&gt;
&lt;/html&gt;</code></pre></blockquote>

<p>This hack works in IE 6, IE 7, and IE 8 beta 1, but it doesn't work in IE 8 beta 2.  (<a href="http://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=364356">bug report</a>, <a href="http://philip.html5.org/tests/ie8/cases/unknown-element-styling.html">test case</a>)  The purpose of this illustration is not to blame IE; there's no specification that says what the DOM ought to look like in this case, so IE's handling of the "unknown element" problem is not any more or less correct than any other browser.  With the <code>createElement</code> workaround, you can use the <code>&lt;section&gt;</code> element (or any other new HTML 5 element) in all browsers except IE 8 beta 2.  I am not aware of any workaround for this problem.</p>

<h3>And in conclusion</h3>

<p>The <code>&lt;section&gt;</code> element is a very straightforward HTML 5 feature that you can't actually use yet.</p></div>
    </content>
    <updated>2008-11-07T15:00:21Z</updated>
    <published>2008-11-05T23:00:20Z</published>
    <category scheme="http://blog.whatwg.org" term="Tutorials"/>
    <author>
      <name>Mark Pilgrim, Google</name>
      <email>mark@diveintomark.org</email>
      <uri>http://code.google.com/p/doctype/wiki/Welcome</uri>
    </author>
    <source>
      <id>http://blog.whatwg.org/feed/atom</id>
      <link href="http://blog.whatwg.org/feed" rel="self" type="application/atom+xml"/>
      <link href="http://blog.whatwg.org" rel="alternate" type="text/html"/>
      <rights xml:lang="en">Copyright 2008</rights>
      <subtitle xml:lang="en">Please leave your sense of logic at the door, thanks!</subtitle>
      <title xml:lang="en">The WHATWG Blog</title>
      <updated>2008-11-18T21:58:23Z</updated>
    </source>
  </entry>

  <entry>
    <id>http://labs.trolltech.com/blogs/2008/11/04/search-with-thumbnail-preview/</id>
    <link href="http://labs.trolltech.com/blogs/2008/11/04/search-with-thumbnail-preview/" rel="alternate" type="text/html"/>
    <title xml:lang="en">Search with thumbnail preview</title>
    <content type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml"><p>The following example is an improved version of what I showed in <a href="http://trolltech.com/about/events/qt-developer-days-usa">Redwood City Developer Days</a>: Google Search with thumbnail previews. This basically extends the previous demonstration of <a href="http://labs.trolltech.com/blogs/2008/11/03/thumbnail-preview-of-web-page/">creating a preview</a> using QtWebKit. The idea is fairly straightforward, just trigger Google Search with the search keywords, grab the result, iterate through the hits, get also the Google-served text snippet and then present everything using Graphics View. The challenge is to get the links pointed by Google. Because QtWebKit does not offer <a href="http://www.w3.org/DOM/">DOM API</a>, this is thus done by injecting some JavaScript code using the infamous  <a href="http://doc.trolltech.com/4.4/qwebframe.html#evaluateJavaScript">QWebFrame::evaluateJavaScript</a> method (the code could use some improvement since I just crafted few quick-and-dirty JavaScript one-liners based on <a href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-1938918D">getElementsByTagName</a> right before doing my WebKit talk). After that, generating the snapshot is easy, see the <a href="http://labs.trolltech.com/blogs/2008/11/03/thumbnail-preview-of-web-page/">previous example</a>.</p>
<p>Screenshot is provided below. However, much better if you just see the screencast (<a href="http://www.youtube.com/watch?v=8Co9tVCeyIc">YouTube</a>, <a href="http://blip.tv/file/1429482">blip.tv</a>, 3.3 MB <a href="http://blip.tv/file/get/Ariya-GoogleSearchWithThumbnailPreview634.ogv">Ogg Theora video</a>). Even better, just compile the code and give it a try!</p>
<pre>svn checkout svn://labs.trolltech.com/svn/graphics/dojo/searchsnap
cd searchsnap &amp;&amp; qmake &amp;&amp; make &amp;&amp; ./searchsnap</pre>
<p>Exercise for the reader: use <a href="http://jquery.com/">jQuery</a> to get the hit list. More exercise: with Qt 4.5’s WebKit, you have HTML5’s <a href="http://www.whatwg.org/specs/web-apps/current-work/#getelementsbyclassname">getElementsByClassName</a> at your disposal.</p>
<p><a href="http://picasaweb.google.com/lh/photo/HquTvOXdR1DfogB14m5Yhg"><img border="0" src="http://lh6.ggpht.com/_Oijhf1ZPv-4/SRAdKd_kW7I/AAAAAAAAAn8/-3CXh_D1SAA/s400/searchsnap.png"/></a></p></div>
    </content>
    <updated>2008-11-04T11:30:39Z</updated>
    <author>
      <name>ariya</name>
      <uri>http://labs.trolltech.com/blogs</uri>
    </author>
    <source>
      <id>http://labs.trolltech.com/blogs/feed/atom/?cat=9</id>
      <link href="http://labs.trolltech.com/blogs/feed/atom/?cat=9" rel="self" type="application/atom+xml"/>
      <rights xml:lang="en">Copyright 2008</rights>
      <subtitle xml:lang="en">the ramblings of engineers</subtitle>
      <title xml:lang="en">Qt Labs Blogs</title>
      <updated>2008-11-16T15:53:06Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blog.whatwg.org/?p=339</id>
    <link href="http://blog.whatwg.org/this-week-in-html-5-episode-11/feed" rel="replies" type="application/atom+xml"/>
    <link href="http://blog.whatwg.org/this-week-in-html-5-episode-11" rel="alternate" type="text/html"/>
    <title xml:lang="en">This Week in HTML 5 - Episode 11</title>
    <summary xml:lang="en">Topics this week include dates and times, the q element, and the ongoing work to integrate Web Forms 2 into HTML 5.</summary>
    <content type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml"><p>Welcome back to "This Week in HTML 5," where I'll try to summarize the major activity in the ongoing standards process in the WHATWG and W3C HTML Working Group.  Last Friday was <a href="http://en.wikipedia.org/wiki/Halloween#Around_the_world">Halloween for some of you</a>; in the United States, it involves dressing up in slutty costumes, begging your neighbors for handouts, and getting diabetes.  Yesterday, many of you set your clocks back one hour <a href="http://en.wikipedia.org/wiki/Daylight_saving_time_around_the_world">for Daylight Savings Time</a>.  And <a href="http://en.wikipedia.org/wiki/Gregorian_calendar#Adoption">for those of you on the Gregorian calendar</a>, it is now November.</p>

<p>Dates and times loom large in this week's updates.  "What is today's date?" is a deceptively simple question, matched in complexity only by the related question, "What time is it?"  <a href="http://www.twinsun.com/tz/tz-link.htm">Sources for Time Zone and Daylight Saving Time Data</a> gives a good overview of the current state of the art for answering both questions.  In the movie <a href="http://en.wikipedia.org/wiki/Crocodile_Dundee">Crocodile Dundee</a>, Mick says he once asked an Aboriginal elder when he was born; the elder replied, "in the summertime."</p>

<p><a href="http://html5.org/tools/web-apps-tracker?from=2380&amp;to=2381">r2381</a> defines <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#global-dates-and-times">global dates and times</a>:</p>

<blockquote cite="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#global-dates-and-times">
<p>A global date and time consists of a specific Gregorian date, consisting of a year, a month, and a day, and a time, consisting of an hour, a minute, a second, and a fraction of a second, expressed with a time zone, consisting of a number of hours and minutes.</p>
</blockquote>

<p><a href="http://html5.org/tools/web-apps-tracker?from=2381&amp;to=2382">r2382</a> defines <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#local-dates-and-times">local dates and times</a>:</p>

<blockquote cite="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#local-dates-and-times">
<p>A local date and time consists of a specific Gregorian date, consisting of a year, a month, and a day, and a time, consisting of an hour, a minute, a second, and a fraction of a second, but expressed without a time zone.</p>
</blockquote>

<p><a href="http://html5.org/tools/web-apps-tracker?from=2382&amp;to=2383">r2383</a> defines <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#months">a month</a>:</p>

<blockquote cite="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#months">
<p>A month consists of a specific Gregorian date with no timezone information and no date information beyond a year and a month.</p>
</blockquote>

<p><a href="http://html5.org/tools/web-apps-tracker?from=2383&amp;to=2384">r2384</a> and <a href="http://html5.org/tools/web-apps-tracker?from=2384&amp;to=2385">r2385</a> define <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#weeks">a week</a>:</p>

<blockquote cite="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#weeks">
<p>A week consists of a week-year number and a week number representing a seven day period. Each week-year in this calendaring system has either 52 weeks or 53 weeks, as defined below. A week is a seven-day period. The week starting on the Gregorian date Monday December 29th 1969 (1969-12-29) is defined as week number 1 in week-year 1970. Consecutive weeks are numbered sequentially. The week before the number 1 week in a week-year is the last week in the previous week-year, and vice versa.</p>
<p>A week-year with a number year that corresponds to a year year in the Gregorian calendar that has a Thursday as its first day (January 1st), and a week-year year where year is a number divisible by 400, or a number divisible by 4 but not by 100, has 53 weeks. All other week-years have 52 weeks.</p>
<p>The week number of the last day of a week-year with 53 weeks is 53; the week number of the last day of a week-year with 52 weeks is 52.</p>
<p>Note: The week-year number of a particular day can be different than the number of the year that contains that day in the Gregorian calendar. The first week in a week-year year is the week that contains the first Thursday of the Gregorian year year.</p>
</blockquote>

<p><code>&lt;input&gt;</code> form elements can be declared to take <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#local-date-and-time-state">a local date and time</a>, <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#date-and-time-state">a global date and time</a>, <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#date-state">a date</a>, <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#time-state">a time</a>, <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#month-state">a month</a>, or <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#week-state">a week</a>.  You can also declare a global date and time in a <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-time-element"><code>&lt;time&gt;</code> element</a> or in <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#attributes-common-to-ins-and-del-elements">the <code>datetime</code> attribute of <code>&lt;ins&gt;</code> and <code>&lt;del&gt;</code>.</a></p>

<p>HTML 5 does not define weekends or holidays, and therefore does not define business days.  <a href="http://memory-alpha.org/en/wiki/Stardate">Interstellar datekeeping</a> has been pushed back to HTML 6.</p>

<p>In other news, <a href="http://lists.w3.org/Archives/Public/public-html/2008Oct/0092.html">Chris Wilson suggested a different strategy for the much-maligned <code>&lt;q&gt;</code> element</a>, which <a href="http://lists.w3.org/Archives/Public/public-html/2008Oct/thread.html#msg92">kicked off a long discussion</a>, which in turn spawned several tangential discussions: <a href="http://lists.w3.org/Archives/Public/public-html/2008Oct/thread.html#msg181">&lt;q&gt; and commas</a>, <a href="http://lists.w3.org/Archives/Public/public-html/2008Oct/thread.html#msg279">&lt;q&gt; vs &lt;p&gt;</a>, <a href="http://lists.w3.org/Archives/Public/public-html/2008Oct/thread.html#msg268">UA style sheet for &lt;q&gt;</a>, <a href="http://lists.w3.org/Archives/Public/public-html/2008Oct/thread.html#msg299">&lt;q addmarks=true&gt;</a>, and the overly-optimistically-titled <a href="http://lists.w3.org/Archives/Public/public-html/2008Oct/thread.html#msg240">Final thoughts on &lt;q&gt;</a>.  The basic problem is that, while HTML 4 clearly states that <a href="http://www.w3.org/TR/html401/struct/text.html#idx-quoted_text-1">user agents should render with delimiting quotation marks</a>, Microsoft Internet Explorer (<a href="http://lists.w3.org/Archives/Public/public-html/2008Oct/0297.html">prior to IE8b2</a>) did not do so.  IE8b2 does do so, but it falls back to client-side regional settings to display quotation marks in pages where the author has not specified the language (which is <a href="http://code.google.com/webstats/2005-12/pageheaders.html">the vast majority of pages</a>).  Also, in some languages, convention dictates alternating single and double quotes for nested quotations, but HTML 4 did not specify how to handle this, and different browsers handle nested quotation marks in different ways.</p>

<p>Other interesting tidbits this week:</p>

<ul>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2360&amp;to=2361">r2361</a> clarifies that disabled form controls don't see <code>click</code> events.</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2361&amp;to=2362">r2362</a> suggests how to inform users about the acceptable patterns available in an <code>&lt;input pattern="..."&gt;</code> element.</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2362&amp;to=2363">r2363</a> changes the <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/serializing-html-fragments.html#serializing-html-fragments">serialization algorithm for HTML fragments</a>.  Less-than (<code>&lt;</code>) and greater-than (<code>&gt;</code>) characters are no longer escaped in attribute values.  This seems important.</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2370&amp;to=2371">r2371</a> defines the optional 4th argument, <code>selected</code>, which can be passed to <code>Option()</code> to create a new <code>&lt;option&gt;</code> element.  <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016844.html">Hat tip: Anne van Kesteren</a>.</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2378&amp;to=2379">r2379</a> defines <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#implicit-submission">implicit form submission</a>.</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2367&amp;to=2368">r2368</a> clarifies that <code>&lt;input value&gt;</code> attributes may not contain carriage returns or line feeds.</li>
<li>A controversial feature of the original Web Forms 2 was that <a href="http://www.whatwg.org/specs/web-forms/current-work/#form0">form controls could be associated with multiple forms</a>.  HTML 5 has now dropped this feature; <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#association-of-controls-and-forms">form controls can only be associated with (at most) one form</a>.  <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016884.html">Hat tip: Anne van Kesteren</a>.</li>
<li>Ian Hickson suggests a simple script <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016812.html">to test for Web Forms 2 support</a>.</li>
<li>Aaron Leventhal <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016915.html">provides feedback on the algorithm to associate table headers with table cells</a>, from the perspective of assistive technologies, which are the primary target audience for such an algorithm.</li>
<li><a href="http://lists.w3.org/Archives/Public/public-html/2008Oct/0127.html">Ian Hickson is asking for co-editors</a> for 10 parts of HTML 5 that could reasonably be split off into separate specifications.</li>
</ul>

<p>Tune in next week for another exciting episode of "This Week in HTML 5."</p></div>
    </content>
    <updated>2008-11-03T16:30:08Z</updated>
    <published>2008-11-03T16:28:58Z</published>
    <category scheme="http://blog.whatwg.org" term="Weekly Review"/>
    <author>
      <name>Mark Pilgrim, Google</name>
      <email>mark@diveintomark.org</email>
      <uri>http://code.google.com/p/doctype/wiki/Welcome</uri>
    </author>
    <source>
      <id>http://blog.whatwg.org/feed/atom</id>
      <link href="http://blog.whatwg.org/feed" rel="self" type="application/atom+xml"/>
      <link href="http://blog.whatwg.org" rel="alternate" type="text/html"/>
      <rights xml:lang="en">Copyright 2008</rights>
      <subtitle xml:lang="en">Please leave your sense of logic at the door, thanks!</subtitle>
      <title xml:lang="en">The WHATWG Blog</title>
      <updated>2008-11-18T21:58:23Z</updated>
    </source>
  </entry>

  <entry>
    <id>http://stackoverflow.com/questions/256953/html-5-versus-xhtml-10-transitional</id>
    <link href="http://stackoverflow.com/questions/256953/html-5-versus-xhtml-10-transitional" rel="alternate" type="text/html"/>
    <link href="http://stackoverflow.com/feeds/question/256953/answers" rel="replies" type="application/atom+xml"/>
    <title>HTML 5 versus XHTML 1.0 Transitional?</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>It seems that HTML 5 is going to be supported (partially) by Firefox 3.1 and other browsers. It is adding support for video and audio as tags, but these are new tags that XHTML 1.0 Transitional does not recognize. What is the behavior supposed to be if I use a new HTML 5 tag in a future version of Firefox but use the DTD for XHTML? And what if I mix HTML 5 markup with XHTML 1.0 Trans?</p>

<p>This is getting confusing. Why didn't they just add these tags to XHTML? How do we support both XHTML and HTML 5?</p>

<p>Video on HTML 5: <a href="http://www.youtube.com/watch?v=xIxDJof7xxQ" rel="nofollow">http://www.youtube.com/watch?v=xIxDJof7xxQ</a></p></div>
    </summary>
    <updated>2008-11-02T18:59:22Z</updated>
    <published>2008-11-02T15:10:14Z</published>
    <category scheme="http://stackoverflow.com/feeds/tag/html5/tags" term="web"/>
    <category scheme="http://stackoverflow.com/feeds/tag/html5/tags" term="html"/>
    <category scheme="http://stackoverflow.com/feeds/tag/html5/tags" term="xhtml"/>
    <category scheme="http://stackoverflow.com/feeds/tag/html5/tags" term="html5"/>
    <author>
      <name>Brennan</name>
    </author>
    <source>
      <id>http://stackoverflow.com/feeds/tag/html5</id>
      <link href="http://stackoverflow.com/feeds/tag/html5" rel="self" type="application/atom+xml"/>
      <link href="http://stackoverflow.com/questions/tagged/html5" rel="alternate" type="text/html"/>
      <link href="http://www.creativecommons.org/licenses/by-nc/2.5/rdf" rel="license"/>
      <subtitle>most recent 30 from stackoverflow.com</subtitle>
      <title>Questions tagged 'html5' - Stack Overflow</title>
      <updated>2008-11-18T23:32:22Z</updated>
    </source>
  </entry>

  <entry>
    <author>
      <name>Sam Ruby</name>
    </author>
    <id>tag:intertwingly.net,2004:2918</id>
    <link href="http://intertwingly.net/blog/2008/11/01/Benefits-of-Uniformity" rel="alternate" type="text/html"/>
    <link href="http://intertwingly.net/blog/2918.atom" rel="replies" type="text/html"/>
    <title>Benefits of Uniformity</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p><a href="http://blog.jonudell.net/2008/10/31/uri-xml-http-rest-and-the-azure-services-platform/">Jon Udell</a>: <em>These are, of course, best practices for an ecosystem sustained by web standards like URI, HTTP, and XML. But it was wonderful to see those best practices clearly demonstrated in a PDC keynote.</em></p>
<p>In many ways it feels like we are now about at the point in the evolution of the web where we were <a href="http://en.wikipedia.org/wiki/Common_User_Access">two decades ago</a> with respect to GUIs.  For that reason, it pleases me greatly to hear that Don Box was on stage demonstrating the value of <a href="http://www.pluralsight.com/community/blogs/dbox/archive/2006/03/18/20236.aspx">Hi-Rest</a>.  And it pleases me that Atom/AtomPub played a role in this.</p></div>
    </summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><svg xmlns="http://www.w3.org/2000/svg" height="100" style="float: right;" viewBox="0 0 100 100" width="100">
  <path d="M10,90.1v-2h80V90.1zM10,70.1v-2h80V70.1zM10,50.1v-2h80V50.1zM10,30.1v-2h80V30.1zM10,10.1v-2h80V10.1z"/>
  <path d="M44.4,20.8c1.5,1.6,13,15.7,13,15.7s-6.4,6.1-6.4,12.5c0,7.5,8.6,14.3,8.6,14.3l-0.9,1.1c-3.3-1.9-8.9-2.1-11.4,0.8c-3.1,3.6,3.9,9.1,3.9,9.1l-0.8,1.1c-2.4-1.8-12.6-11.4-8.3-16.1c2.6-2.9,5.8-3.8,10.3-1.4l-12.1-12.5c7-8.6,8.2-11.1,8.2-13.4c0-4.8-3.4-8.2-5.1-10.4c-0.6-0.9-1.7-1.6-1-2.2C43.1,18.9,43.5,19.7,44.4,20.8z" fill="#F33"/>
</svg>
<p><a href="http://blog.jonudell.net/2008/10/31/uri-xml-http-rest-and-the-azure-services-platform/"><cite>Jon Udell</cite></a>: <em>These are, of course, best practices for an ecosystem sustained by web standards like URI, HTTP, and XML. But it was wonderful to see those best practices clearly demonstrated in a PDC keynote.</em></p>
<p>In many ways it feels like we are now about at the point in the evolution of the web where we were <a href="http://en.wikipedia.org/wiki/Common_User_Access">two decades ago</a> with respect to GUIs.  For that reason, it pleases me greatly to hear that Don Box was on stage demonstrating the value of <a href="http://www.pluralsight.com/community/blogs/dbox/archive/2006/03/18/20236.aspx">Hi-Rest</a>.  And it pleases me that Atom/AtomPub played a role in this.</p>
<p>On the off chance that anybody is reading this, there is considerable value to be obtained from Lo-Rest.  But it comes at a great cost.  And the way forward is <b>not</b> to have <code>servicebus.windows.net</code> and <code>user-ctp.windows.net/V0.1/Mesh/MeshObjects</code> using different interfaces.  Instead it means adopting HTML as a carrier wave for your signal — which, yes, implies that you need to employ the modern equivalent of screen scraping.  And have to deal with cookies.  HTML is far from uniform: there are a lot of <b>different</b> tag soup parsers out there at various levels of quality.  Having everybody parse HTML consistently would be a huge step forward.  At the present time, <a href="http://www.w3.org/TR/html5/">HTML5</a> is the most comprehensive and complete approach to this.  Having Microsoft more actively participate, and spinning off and fast tracking just those parts of HTML5 necessary to implement this part of the HTML5 vision; well, that would be a <b>huge</b> win.</p>
<p>And there are Hi-Rest analogs to this.  I’m confident that the service documents and feeds produced for the PDC demo were all well-formed, and valid.  As more people try to emulate this with PHP and templates, this won’t be true quite as much.  The first time a “smart quote” or a non-Latin1 character gets into the stream, it will fall over.  Having everybody recover in the same manner would also be a big win, though not quite as huge as it is for HTML.  Anne calls his explorations into this topic <a href="http://annevankesteren.nl/2007/10/xml5">XML5</a>.</p></div>
    </content>
    <updated>2008-11-01T13:30:02Z</updated>
    <source>
      <id>http://intertwingly.net/blog/index.atom</id>
      <icon>http://intertwingly.net/favicon.ico</icon>
      <author>
        <name>Sam Ruby</name>
        <email>rubys@intertwingly.net</email>
        <uri>http://intertwingly.net/blog/</uri>
      </author>
      <link href="http://intertwingly.net/blog/index.atom" rel="self" type="application/atom+xml"/>
      <link href="http://intertwingly.net/blog/" rel="alternate" type="text/html"/>
      <link href="http://creativecommons.org/licenses/BSD/" rel="license" type="text/html"/>
      <subtitle>It’s just data</subtitle>
      <title>Sam Ruby</title>
      <updated>2008-11-18T22:42:56Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <author>
      <name>Anne van Kesteren</name>
    </author>
    <id>tag:annevankesteren.nl,2008-10-30:/210331/opera-university-tours-california</id>
    <link href="http://annevankesteren.nl/2008/10/opera-university-tours-california" rel="alternate" type="text/html"/>
    <title xml:lang="en">Opera University Tours: California</title>
    <summary xml:lang="en">Travel log.</summary>
    <content type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml"><p>After the W3C Technical Plenary I went back home for eight hours of solid sleep at which point I took a taxi straight back to Schiphol to make a flight to San Francisco. I did a few talks (HTML5 FTW!) for the first week of the Opera University Tours in the Northern California region. Has been a lot of fun discussing the Web with students around here.</p>
<p>I attended the <a href="http://blog.whatwg.org/bay-area-meetup-details">WHATWG meetup</a> as well and missed out on going to something at Google the next day due to being in downtown San Francisco with collegues instead of close to Google. We had some great food at a place close to the harbor. (Earlier that day I had a lemonade at a place called “Hot Dog on a Stick…”) Will be checking out the food at Mozilla tomorrow. Going there for lunch after which I will probably take the train back to the airport to get on the 4:25PM flight back to Amsterdam.</p>
<p>I arrive in Amsterdam Saturday around 11AM and will meet up with <a href="http://datadriven.com.au/">Marcos</a> later that day in Utrecht, probably around 2:30PM. The next day we will leave on a relatively early flight from Schiphol to Kilimanjaro, Tanzania. Awesomeness!</p>
<p>(When I get back from that I will be in the Netherlands for a few days at which point I will go to Germany for the second week of Opera University Tours in that country.)</p></div>
    </content>
    <updated>2008-10-30T21:03:31Z</updated>
    <published>2008-10-30T21:03:31Z</published>
    <source>
      <id>tag:annevankesteren.nl,2003:/weblog</id>
      <author>
        <name>Anne van Kesteren</name>
        <uri>http://annevankesteren.nl/about</uri>
      </author>
      <link href="http://annevankesteren.nl/feeds/weblog" rel="self" type="application/atom+xml"/>
      <link href="http://annevankesteren.nl/" rel="alternate" type="text/html"/>
      <rights xml:lang="en">Copyright © 2003-2007 Anne van Kesteren. All rights reserved.</rights>
      <subtitle xml:lang="en">Weblog on W3C, WHATWG, HTML, CSS, DOM, XML, HTTP and more.</subtitle>
      <title xml:lang="en">Anne’s Weblog</title>
      <updated>2008-10-30T21:03:31Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://lachy.id.au/log/?p=165</id>
    <link href="http://lachy.id.au/log/2008/04/target-attribute/feed" rel="replies" type="application/atom+xml"/>
    <link href="http://lachy.id.au/log/2008/04/target-attribute" rel="alternate" type="text/html"/>
    <title xml:lang="en">Conforming target Attribute</title>
    <summary xml:lang="en">An explanation of why the target attribute has been made conforming in HTML 5.</summary>
    <content type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml"><p>One of the biggest annoyances on the web, and something I really hate, is popup windows. It frustrates me, and many others, whenever a site attempts to forcibly open a new window for any reason whatsoever. So, it may be surprising to hear that <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/section-links.html#target3" title="HTML 5">the <code>target</code> attribute</a> has actually been made conforming in HTML5, even though it was non-conforming in HTML 4.01 Strict, and that this is a good thing. There are in fact several valid reasons for making it conforming, which I will attempt to explain.</p>

<p>When embedding documents within an <code>iframe</code>, it’s important to be able to set the target of links and forms to be the <code>iframe</code>.  This is a useful technique for cases where it’s undesirable to refresh the entire page to update a small section.  Although there are alternative techniques that could be used, such as the many AJAX solutions, the simplicity of using an <code>iframe</code> can outweigh the cost of using an alternative JavaScript solution.</p>

<p>Similarly, it’s important to be able to cause links within a framed document to be able to set the target to the <code>_parent</code> or <code>_top</code> in order to break out of frames. Without those values, links would default to opening within the frame itself, which is not always useful. When done well, using <code>target</code> in this way can actually be quite beneficial for the usability of a site.</p>

<p>The purpose of <code>_blank</code> value, however, is to cause a link to open within a new window or tab.  Although there are many valid arguments against forcing a new window, mostly related to usability and accessibility, the reason for allowing this becomes clear when you consider the alternatives.</p>

<p>There are many authors who, for whatever reason, really want to have links opened in new windows, and nothing will convince them otherwise. But experience has shown over the years that because it is non-conforming in HTML 4.01 Strict, many authors will go to sometimes extreme lengths to get a popup window, while still writing technically valid markup.</p>

<p>Such techniques range from dynamically adding the <code>target</code> attribute to the DOM with script, to using event handlers and calls to <code>window.open()</code>. Such approaches actually ignore the reason for making it non-conforming in the first place, which was presumably to avoid the usability issues, and in fact have chosen to give validity a higher priority.</p>

<p>When a new window is desired, the benefit of using the <code>target</code> attribute over many of the other techniques is that it is actually more beneficial to the user because it is easier to override. Many browsers offer options to cause such links to open in a new tab instead of a window, and some even allow it open in the same tab. While it is also possible to do that with <code>window.open()</code>, doing so can actually interfere with sites that depend upon the new window to function correclty.</p>

<p>Allowing authors to get what they want using the <em>least user-hostile method</em> is significantly better than inadvertently forcing them to find more harmful workarounds. So this is why the <code>target</code> attribute has been made conforming in HTML 5.</p></div>
    </content>
    <updated>2008-10-28T22:01:52Z</updated>
    <published>2008-04-30T22:40:28Z</published>
    <category scheme="http://lachy.id.au/log" term="MarkUp"/>
    <category scheme="http://lachy.id.au/log" term="Standards"/>
    <category scheme="http://lachy.id.au/log" term="W3C"/>
    <category scheme="http://lachy.id.au/log" term="WHATWG"/>
    <author>
      <name>Lachlan Hunt</name>
      <email>log@lachy.id.au</email>
      <uri>http://lachy.id.au/</uri>
    </author>
    <source>
      <id>http://lachy.id.au/log/feed/atom</id>
      <link href="http://lachy.id.au/log/feed" rel="self" type="application/atom+xml"/>
      <link href="http://lachy.id.au/log" rel="alternate" type="text/html"/>
      <rights xml:lang="en">Copyright 2008</rights>
      <subtitle xml:lang="en">If I start now, I'll be finished later!</subtitle>
      <title xml:lang="en">Lachy’s Log</title>
      <updated>2008-11-02T18:32:06Z</updated>
    </source>
  </entry>

  <entry>
    <author>
      <name>Reddit: Browsers</name>
    </author>
    <id>http://www.reddit.com/r/browsers/comments/79m36/firefox_31_to_support_html_5_video_and_audio/</id>
    <link href="http://www.reddit.com/r/browsers/comments/79m36/firefox_31_to_support_html_5_video_and_audio/" rel="alternate" type="text/html"/>
    <title>Firefox 3.1 to support HTML 5 video and audio</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">submitted by <a href="http://www.reddit.com/user/gst">gst</a> <br/> <a href="http://ajaxian.com/archives/firefox-31-to-support-html-5-video-and-audio">[link]</a> <a href="http://www.reddit.com/r/browsers/comments/79m36/firefox_31_to_support_html_5_video_and_audio/">[0 comments]</a></div>
    </summary>
    <updated>2008-10-27T13:42:35Z</updated>
    <source>
      <id>http://www.reddit.com/r/browsers/</id>
      <logo>http://www.reddit.comhttp://static.reddit.com/reddit.com.header.png</logo>
      <author>
        <name>Reddit: Browsers</name>
      </author>
      <link href="http://www.reddit.com/r/browsers/" rel="alternate" type="text/html"/>
      <link href="http://reddit.com/r/browsers/.rss" rel="self" type="application/rss+xml"/>
      <subtitle>A reddit for posting news about browsers, browser technology and web standards. Anyone can post.</subtitle>
      <title>browsers: what's new online</title>
      <updated>2008-11-18T23:34:12Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blog.whatwg.org/?p=336</id>
    <link href="http://blog.whatwg.org/bay-area-meetup-details/feed" rel="replies" type="application/atom+xml"/>
    <link href="http://blog.whatwg.org/bay-area-meetup-details" rel="alternate" type="text/html"/>
    <title xml:lang="en">Bay area meetup details</title>
    <summary xml:lang="en">The bay area meetup will be Tuesday 7PM (October 28) at St Stephen's Green in Mountain View. If you have any further questions feel free to ask them in a comment here or on IRC.

To be perfectly clear, the meeting is open to everyone who wants to come. All that is required is that you [...]</summary>
    <content type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml"><p>The bay area meetup will be Tuesday 7PM (October 28) at <a href="http://maps.google.com/maps?q=St+Stephen%27s+Green&amp;near=Mountain+View,+CA">St Stephen's Green in Mountain View</a>. If you have any further questions feel free to ask them in a comment here or on <a href="http://wiki.whatwg.org/wiki/IRC">IRC</a>.</p>

<p>To be perfectly clear, the meeting is open to everyone who wants to come. All that is required is that you actually show up at the pub. See you there!</p></div>
    </content>
    <updated>2008-10-27T13:01:32Z</updated>
    <published>2008-10-27T13:00:40Z</published>
    <category scheme="http://blog.whatwg.org" term="WHATWG"/>
    <author>
      <name>Anne van Kesteren</name>
      <email>annevankesteren@gmail.com</email>
      <uri>http://annevankesteren.nl/</uri>
    </author>
    <source>
      <id>http://blog.whatwg.org/feed/atom</id>
      <link href="http://blog.whatwg.org/feed" rel="self" type="application/atom+xml"/>
      <link href="http://blog.whatwg.org" rel="alternate" type="text/html"/>
      <rights xml:lang="en">Copyright 2008</rights>
      <subtitle xml:lang="en">Please leave your sense of logic at the door, thanks!</subtitle>
      <title xml:lang="en">The WHATWG Blog</title>
      <updated>2008-11-18T21:58:23Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://standardssuck.org/?p=17</id>
    <link href="http://standardssuck.org/benmillard" rel="alternate" type="text/html"/>
    <title>Ben Millard on contributing to the W3C HTML WG</title>
    <summary>While relaxing by the beach in Mandelieu, Ben Millard and Lachlan Hunt had a chat about contributing to HTML working group.  In particular, Ben discusses how he studied data tables used on the web and how that led to creating an improved algorithm for understanding the structure of a table, helping to improve accessibility.</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>While relaxing by the beach in Mandelieu, Ben Millard and Lachlan Hunt had a chat about contributing to HTML working group.  In particular, Ben discusses how he studied data tables used on the web and how that led to creating an improved algorithm for understanding the structure of a table, helping to improve accessibility.</p>
<p/></div>
    </content>
    <updated>2008-10-24T08:55:15Z</updated>
    <category term="Uncategorized"/>
    <category term="benmillard"/>
    <category term="htmlwg"/>
    <category term="lachlanhunt"/>
    <category term="mandelieu"/>
    <category term="standardssuckshow"/>
    <category term="tpac"/>
    <category term="tpac2008"/>
    <category term="w3c"/>
    <author>
      <name>Lachlan Hunt</name>
    </author>
    <source>
      <id>http://standardssuck.org</id>
      <link href="http://standardssuck.org/feed" rel="self" type="application/atom+xml"/>
      <link href="http://standardssuck.org" rel="alternate" type="text/html"/>
      <subtitle>Unbiased journalism on Web standards since May 2008</subtitle>
      <title>Standards Suck</title>
      <updated>2008-10-24T10:22:45Z</updated>
    </source>
  </entry>

  <entry>
    <author>
      <name>Sam Ruby</name>
    </author>
    <id>tag:intertwingly.net,2004:2912</id>
    <link href="http://intertwingly.net/blog/2008/10/23/Misdirection" rel="alternate" type="text/html"/>
    <link href="http://intertwingly.net/blog/2912.atom" rel="replies" type="text/html"/>
    <title>Misdirection</title>
    <summary type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p><a href="http://annevankesteren.nl/2008/10/w3ctp-plenary-day">Anne van Kesteren</a>: <em>What also was funny was that the Web was not about the browser except that lots of people here at TPAC wanted browsers to do things differently.</em></p>
<p>I’m not there, but I can’t believe that anybody there would ever say or even want to imply that the web does not include browsers.</p></div>
    </summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><svg xmlns="http://www.w3.org/2000/svg" height="100" style="float: right;" viewBox="0 0 100 100" width="100">
  <path d="M38,38c0-12,24-15,23-2c0,9-16,13-16,23v7h11v-4c0-9,17-12,17-27c-2-22-45-22-45,3zM45,70h11v11h-11z" fill="#371"/>
  <circle cx="50" cy="50" fill="none" r="45" stroke="#371" stroke-width="10"/>
</svg>
<p><a href="http://annevankesteren.nl/2008/10/w3ctp-plenary-day"><cite>Anne van Kesteren</cite></a>: <em>What also was funny was that the Web was not about the browser except that lots of people here at TPAC wanted browsers to do things differently.</em></p>
<p>I’m not there, but I can’t believe that anybody there would ever say or even want to imply that the web does not include browsers.  Perhaps the solution is to add the word “just” to the line, thus: the Web was not <b>just</b> about the browser.  There... all better.  Contradiction is all gone now.</p>
<p>It seems that the distributed extensibility discussion won’t go away like apparently some would hope it would.  <a href="http://www.intertwingly.net/blog/2007/08/02/HTML5-and-Distributed-Extensibility">This proposal</a> only affects the performance of web pages with element and attribute names which contain a colon in them, and only affects the <code>local name</code> and <code>namespace URI</code> of such elements and attributes.  Values that essentially are unused in HTML4.</p>
<p>It occurs to me that Anne may be intentionally being thick here.  <em>what is wrong with using XML for this?</em>  Come on.  I can answer that with two words: <a href="http://blog.whatwg.org/this-week-in-html-5-episode-9">IE</a>, and <a href="http://diveintomark.org/archives/2004/01/08/postels-law">Postel</a>.  Next question?</p></div>
    </content>
    <updated>2008-10-23T11:44:42Z</updated>
    <source>
      <id>http://intertwingly.net/blog/index.atom</id>
      <icon>http://intertwingly.net/favicon.ico</icon>
      <author>
        <name>Sam Ruby</name>
        <email>rubys@intertwingly.net</email>
        <uri>http://intertwingly.net/blog/</uri>
      </author>
      <link href="http://intertwingly.net/blog/index.atom" rel="self" type="application/atom+xml"/>
      <link href="http://intertwingly.net/blog/" rel="alternate" type="text/html"/>
      <link href="http://creativecommons.org/licenses/BSD/" rel="license" type="text/html"/>
      <subtitle>It’s just data</subtitle>
      <title>Sam Ruby</title>
      <updated>2008-11-18T22:42:56Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://standardssuck.org/?p=18</id>
    <link href="http://standardssuck.org/chris" rel="alternate" type="text/html"/>
    <title>Chris Wilson on Internet Explorer 8 and the W3C HTML Working Group</title>
    <summary>Since we cannot get enough of the Internet Explorer Team here at Standards Suck we had Lachlan Hunt talk with Chris Wilson on his perspective of Microsoft’s new browser and his W3C HTML Working Group chairing hat. As you can see in the background France is still lovely which makes you wonder why we sit [...]</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Since we cannot get enough of the Internet Explorer Team here at Standards Suck we had Lachlan Hunt talk with Chris Wilson on his perspective of Microsoft’s new browser and his W3C HTML Working Group chairing hat. As you can see in the background France is still lovely which makes you wonder why we sit inside most of the day.</p>
<p/>
<p>The W3C HTML Working Group is meeting Thursday and Friday this week by the way, in case you are interested in attending.</p></div>
    </content>
    <updated>2008-10-23T01:57:33Z</updated>
    <category term="Uncategorized"/>
    <category term="chriswilson"/>
    <category term="htmlwg"/>
    <category term="ie8"/>
    <category term="lachlanhunt"/>
    <category term="mandelieu"/>
    <category term="standardssuckshow"/>
    <category term="tpac"/>
    <category term="tpac2008"/>
    <author>
      <name>admin</name>
    </author>
    <source>
      <id>http://standardssuck.org</id>
      <link href="http://standardssuck.org/feed" rel="self" type="application/atom+xml"/>
      <link href="http://standardssuck.org" rel="alternate" type="text/html"/>
      <subtitle>Unbiased journalism on Web standards since May 2008</subtitle>
      <title>Standards Suck</title>
      <updated>2008-10-24T10:22:45Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <author>
      <name>Anne van Kesteren</name>
    </author>
    <id>tag:annevankesteren.nl,2008-10-23:/013334/w3ctp-plenary-day</id>
    <link href="http://annevankesteren.nl/2008/10/w3ctp-plenary-day" rel="alternate" type="text/html"/>
    <title xml:lang="en">W3CTP: The Technical Plenary Day</title>
    <summary xml:lang="en">Impressions from the plenary day on TPAC 2008.</summary>
    <content type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml"><p>Some impressions from the plenary day on W3C TPAC 2008 regarding HTML5:</p>
<ul>
 <li>Rough agreement HTML5 is needed.</li>
 <li>Concerns over HTML5 violating <a href="http://www.w3.org/TR/webarch/">Architecture of the World Wide Web, Volume One</a> though editors of that document pointed out the rules are not set in stone and use RFC 2119 SHOULD for a reason.</li>
 <li>Concerns that HTML5 does not have distributed extensibility. That is, namespaces. What people seem to want is to extend the browser with hundreds of markup languages. (How this keeps things simple to answer was not something I saw addressed.) You need something else than namespaces for that though, to start with. Also, what is wrong with using XML for this?</li>
</ul>
<p>At Standards Suck we are <a href="http://standardssuck.org/tag/tpac2008">reporting on TPAC 2008</a> with interviews of various people. More to come.</p>
<p>(Tomorrow the HTML Working Group meeting will start. Michael Smith posted the <a href="http://lists.w3.org/Archives/Public/public-html/2008Oct/0074.html">final agenda</a>. First meeting this week I am in that has an agenda upfront. Mike++)</p>
<p>What also was funny was that the Web was not about the browser except that lots of people here at TPAC wanted browsers to do things differently. E.g., implement XBL, provide some end user visible UI for errors in a site, et cetera. Not exactly consistent messaging.</p></div>
    </content>
    <updated>2008-10-23T01:39:33Z</updated>
    <published>2008-10-23T01:33:34Z</published>
    <source>
      <id>tag:annevankesteren.nl,2003:/weblog</id>
      <author>
        <name>Anne van Kesteren</name>
        <uri>http://annevankesteren.nl/about</uri>
      </author>
      <link href="http://annevankesteren.nl/feeds/weblog" rel="self" type="application/atom+xml"/>
      <link href="http://annevankesteren.nl/" rel="alternate" type="text/html"/>
      <rights xml:lang="en">Copyright © 2003-2007 Anne van Kesteren. All rights reserved.</rights>
      <subtitle xml:lang="en">Weblog on W3C, WHATWG, HTML, CSS, DOM, XML, HTTP and more.</subtitle>
      <title xml:lang="en">Anne’s Weblog</title>
      <updated>2008-10-30T21:03:31Z</updated>
    </source>
  </entry>

  <entry>
    <id>tag:www.w3.org,2008:/QA//1.582</id>
    <link href="http://www.w3.org/QA/2008/10/normative-references-conformance.html" rel="alternate" type="text/html"/>
    <title>Normative References to Moving Targets are Dangerous</title>
    <summary>When creating a requirement in a specification should I link to it or should I include it. The answer depends on the context.</summary>
    <content type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml"><p>The work of W3C is sometimes a bit opaque. It is not obvious to people outside of the Working Group. You often only read the end result, a Working Draft, even sometimes the specification.</p>

<p>Yesterday in the WebApps (Web Applications) Working Groups, a discussion has started about a <strong>normative reference from XMLHttpRequest to HTML 5</strong>. <a href="http://www.w3.org/TR/XMLHttpRequest/" title="The XMLHttpRequest Object">XMLHttpRequest</a> is the technology used in AJAX applications on the Web. XMLHttpRequest is more mature and in the final stages for going to last call and hopefully in a few months a W3C Recommendation. <a href="http://www.w3.org/TR/html5/" title="HTML 5">HTML 5</a> is still in high development and not stable at all. There is still work to do on it. Two options were proposed:</p>

<ul>
<li>Should the normative requirement in XMLHttpRequest <strong>be a reference</strong> to the specific prose in HTML 5?</li>
<li>Should the normative requirement in XMLHttpRequest <strong>be included in the prose</strong> of XMLHttpRequest?</li>
</ul>

<p>There is no formal Process requirement on this, because it is highly dependent on the type of the technology and its level of maturity. The <a href="http://www.w3.org/Consortium/Process/" title="World Wide Web Consortium Process Document">W3C Process Document</a> is here to help and be flexible to many use cases, and not be a hurdle. There is an internal W3C Technical Report publication processes. When a document is <a href="http://www.w3.org/2005/08/online_xslt/xslt?xmlfile=http://www.w3.org/2005/08/01-transitions.html&amp;xslfile=http://www.w3.org/2005/08/transitions.xsl&amp;docstatus=pr-tr" title="How to Organize a Recommendation Track Transition">moving to Proposed Recommendation</a>, it has to satisfy all exit criterias of Candidate Recommendation. In this document, we can read </p>

<blockquote>
  <p>Evidence that dependencies with other groups met (or not)</p>
  <li>Does this specification have any normative references to W3C specifications that are not yet Proposed Recommendations? Note: In general, documents do not advance to Recommendation with normative references to W3C specifications that are not yet Recommendations.</li>
  <li>Is there evidence that additional dependencies related to implementation have been satisfied?</li>
</blockquote>

<p>What does it simply mean? <strong>Normative references to moving targets are dangerous</strong>.</p></div>
    </content>
    <updated>2008-10-21T09:36:04Z</updated>
    <published>2008-10-20T14:22:10Z</published>
    <category term="Technology 101"/>
    <category term="W3C Life"/>
    <author>
      <name>Karl Dubost</name>
      <uri>http://www.w3.org/People/karl/</uri>
    </author>
    <source>
      <id>tag:www.w3.org,2008:/QA//1</id>
      <link href="http://www.w3.org/QA/" rel="alternate" type="text/html"/>
      <link href="http://www.w3.org/QA/atom.xml" rel="self" type="application/atom+xml"/>
      <title>W3C Q&amp;A Weblog</title>
      <updated>2008-11-18T08:21:29Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://standardssuck.org/?p=14</id>
    <link href="http://standardssuck.org/chaals" rel="alternate" type="text/html"/>
    <title>Chaals on Web Apps and HTML5</title>
    <summary>Here in Mandelieu Marcos Caceres interviewed Anne’s manager on Web Apps, being a chair, and RDF &amp; HTML5. Charles McCathieNeville works for Opera Software (duh) and is the Chief Standards Officer there. He travels around the world promoting standards and discussing them. And in some other time he chairs the W3C Web Apps Working Group [...]</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Here in Mandelieu Marcos Caceres interviewed Anne’s manager on Web Apps, being a chair, and RDF &amp; HTML5. Charles McCathieNeville works for Opera Software (duh) and is the Chief Standards Officer there. He travels around the world promoting standards and discussing them. And in some other time he chairs the W3C Web Apps Working Group and edits the <a href="http://www.w3.org/TR/progress-events/">progress events</a> specification.</p>
<p/></div>
    </content>
    <updated>2008-10-21T06:06:35Z</updated>
    <category term="Uncategorized"/>
    <category term="charlesmccathieneville"/>
    <category term="griddl"/>
    <category term="html5"/>
    <category term="mandelieu"/>
    <category term="marcoscaceres"/>
    <category term="rdf"/>
    <category term="rdfa"/>
    <category term="semanticweb"/>
    <category term="standardssuckshow"/>
    <category term="tpac"/>
    <category term="tpac2008"/>
    <category term="w3c"/>
    <category term="webappswg"/>
    <author>
      <name>admin</name>
    </author>
    <source>
      <id>http://standardssuck.org</id>
      <link href="http://standardssuck.org/feed" rel="self" type="application/atom+xml"/>
      <link href="http://standardssuck.org" rel="alternate" type="text/html"/>
      <subtitle>Unbiased journalism on Web standards since May 2008</subtitle>
      <title>Standards Suck</title>
      <updated>2008-10-24T10:22:45Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blog.whatwg.org/?p=332</id>
    <link href="http://blog.whatwg.org/this-week-in-html-5-episode-10/feed" rel="replies" type="application/atom+xml"/>
    <link href="http://blog.whatwg.org/this-week-in-html-5-episode-10" rel="alternate" type="text/html"/>
    <title xml:lang="en">This Week in HTML 5 - Episode 10</title>
    <summary xml:lang="en">Topics this week include offline caching, video accessibility, and the complexities of determining if a video can be played before actually playing it.</summary>
    <content type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml"><p>Welcome back to "This Week in HTML 5," where I'll try to summarize the major activity in the ongoing standards process in the WHATWG and W3C HTML Working Group.</p>

<p>The big news this week is <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html#appcache">offline caching</a>.  This has been in HTML 5 for a while, but this week Ian Hickson caught up with his email and integrated all outstanding feedback.  <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016723.html">He summarizes the changes</a>:</p>

<blockquote cite="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016723.html">
<ul>
<li>Made the online whitelist be prefix-based instead of exact match. [<a href="http://html5.org/tools/web-apps-tracker?from=2336&amp;to=2337">r2337</a>]</li>
<li>Removed opportunistic caching, leaving only the fallback behavior part. [<a href="http://html5.org/tools/web-apps-tracker?from=2337&amp;to=2338">r2338</a>]</li>
<li>Made fallback URLs be prefix-based instead of only path-prefix based (we no longer ignore the query component). [<a href="http://html5.org/tools/web-apps-tracker?from=2342&amp;to=2343">r2343</a>]</li>
<li>Made application caches scoped to their browsing context, and allowed iframes to start new scopes. By default the contents of an iframe are part of the appcache of the parent, but if you declare a manifest, you get your own cache. [<a href="http://html5.org/tools/web-apps-tracker?from=2343&amp;to=2344">r2344</a>]</li>
<li>Made fallback pages have to be same-origin (security fix). [<a href="http://html5.org/tools/web-apps-tracker?from=2341&amp;to=2342">r2342</a>]</li>
<li>Made the whole model treat redirects as errors to be more resilient in the face of captive portals when offline (it's unclear what else would actually be useful and safe behavior anyway). [<a href="http://html5.org/tools/web-apps-tracker?from=2338&amp;to=2339">r2339</a>]</li>
<li>Fixed a bunch of race conditions by redefining how application caches are created in the first place. [<a href="http://html5.org/tools/web-apps-tracker?from=2345&amp;to=2346">r2346</a>]</li>
<li>Made 404 and 410 responses for application caches blow away the application cache. [<a href="http://html5.org/tools/web-apps-tracker?from=2347&amp;to=2348">r2348</a>]</li>
<li>Made checking and downloading events fire on ApplicationCache objects that join an update process midway. [<a href="http://html5.org/tools/web-apps-tracker?from=2352&amp;to=2353">r2353</a>]</li>
<li>Made the update algorithm check the manifest at the start and at the end and fail if the manifest changed in any way. [<a href="http://html5.org/tools/web-apps-tracker?from=2349&amp;to=2350">r2350</a>]</li>
<li>Made errors on master and dynamic entries in the cache get handled in a non-fatal manner (and made 404 and 410 remove the entry). [<a href="http://html5.org/tools/web-apps-tracker?from=2347&amp;to=2348">r2348</a>]</li>
<li>Changed the API from .length and .item() to .items and .hasItem(). [<a href="http://html5.org/tools/web-apps-tracker?from=2351&amp;to=2352">r2352</a>]</li>
</ul>
</blockquote>

<p>And now, a short digression into video formats...</p>

<p>You may think of video files as "AVI files" or "MP4 files".  In reality, "AVI" and "MP4" are just container formats.  Just like a ZIP file can contain any sort of file within it, video container formats only define <em>how</em> to store things within them, not <em>what</em> kinds of data are stored.  (It's a little more complicated than that, because container formats do limit what codecs you can store in them, but never mind.)  A video file usually contains multiple <em>tracks</em> -- a video track (without audio), one or more audio tracks (without video), one or more subtitle/caption tracks, and so forth.  Tracks are usually inter-related; an audio track contains markers within it to help synchronize the audio with the video, and a subtitle track contains time codes marking when each phrase should be displayed.  Individual tracks can have metadata, such as the aspect ratio of a video track, or the language of an audio or subtitle track.  Containers can also have metadata, such as the title of the video itself, cover art for the video, episode numbers (for television shows), and so on.</p>

<p>Individual video tracks are <em>encoded</em> with a certain video codec, which is the algorithm by which the video was authored and compressed.  Modern video codecs include <a href="http://en.wikipedia.org/wiki/H.264">H.264</a>, <a href="http://en.wikipedia.org/wiki/DivX_Media_Format#DivX_Media_Format_.28DMF.29">DivX</a>, <a href="http://en.wikipedia.org/wiki/VC-1">VC-1</a>, but there are many, many others.  Audio tracks are also encoded in a specific codec, such as <a href="http://en.wikipedia.org/wiki/MP3">MP3</a>, <a href="http://en.wikipedia.org/wiki/Advanced_Audio_Coding">AAC</a>, or <a href="http://en.wikipedia.org/wiki/Vorbis">Ogg Vorbis</a>.  Common video containers are <a href="http://en.wikipedia.org/wiki/WMV#Container_format">ASF</a>, <a href="http://en.wikipedia.org/wiki/MPEG-4_Part_14">MP4</a>, and <a href="http://en.wikipedia.org/wiki/AVI">AVI</a>.  Thus, saying that you have sent someone an "MP4 file" is not specific enough for the recipient to determine if they can play it.  The recipient needs to know the container format (such as MP4 or AVI), but also the video codec (such as H.264 or Ogg Theora) and the audio codec (such as MP3 or Ogg Vorbis).  Furthermore, video codecs (and some audio codecs) are broad standards <a href="http://en.wikipedia.org/wiki/H.264#Profiles">with multiple profiles</a>, so saying that you have sent someone an "MP4 file with H.264 video and AAC audio" is <em>still</em> not specific enough.  An iPhone can play MP4 files with "baseline profile" H.264 video and "low complexity" AAC audio.  (These are well-defined technical terms, not laymen's terms.)  Desktop Macs can play MP4 files with "main profile" H.264 video and "main profile" AAC audio.  <a href="http://www.niallkennedy.com/blog/2007/08/flash-player-h264-aac.html">Adobe Flash can play</a> MP4 files with "high profile" H.264 video and "HE" AAC audio.  Of course, <a href="http://www.kaourantin.net/2007/08/what-just-happened-to-video-on-web_20.html">it's a little more complicated than that</a>.</p>

<p>Thus...</p>

<p><a href="http://html5.org/tools/web-apps-tracker?from=2331&amp;to=2332">r2332</a> adds a <a href="http://www.whatwg.org/specs/web-apps/current-work/#dom-navigator-canplaytype"><code>navigator.canPlayType()</code> method</a>.  This is intended for scripts to query whether the client can play a certain type of video.  There are two major problems with this: first, MIME types are not specific enough, as they will only describe the video container.  Learning that the client "can play" MP4 files is useless without knowing what video codecs it supports inside the container, not to mention what profiles of that video codec it supports.  The second problem is that, unless the browser itself ships with support for specific video and audio codecs (as <a href="http://www.bluishcoder.co.nz/2008/07/theora-video-backend-for-firefox-landed.html">Firefox 3.1 will do with Ogg Theora and Ogg Vorbis</a>), it will need to rely on some multimedia library provided by the underlying operating system.  Windows has DirectShow, Mac OS X has QuickTime, but <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016572.html">neither of these libraries can actually tell you whether a codec is supported</a>.  The best you can do is <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016575.html">try to play the video and notice if it fails</a>. [<a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/thread.html#16575">WHATWG thread</a>]

</p><p>Other interesting changes and discussions this week:</p>

<ul>
<li><p><a href="http://html5.org/tools/web-apps-tracker?from=2332&amp;to=2333">r2333</a> changes the data type of the <code>width</code> and <code>height</code> attributes on <code>&lt;embed&gt;</code>, <code>&lt;object&gt;</code>, and <code>&lt;iframe&gt;</code> elements to match current browser behavior.  These attributes reflect strings, not integers.  No one knows why.</p></li>
<li><p><a href="http://lists.w3.org/Archives/Public/public-html/2008Oct/0029.html">Ian Hickson kicked off another round</a> of video accessibility discussion, with this philosophical statement:</p>
<blockquote cite="http://lists.w3.org/Archives/Public/public-html/2008Oct/0029.html">
<p>Fundamentally, I consider <code>&lt;video&gt;</code> and <code>&lt;audio&gt;</code> to be simply windows onto pre-existing content, much like <code>&lt;iframe&gt;</code>, but for media data instead of for "pages" or document data. Just as with <code>&lt;iframe&gt;</code>s, the principle I had in mind is that it should make sense for the user to take the content of the element and view it independent of its hosting page. You should be able to save the remote file locally and open it in a media player and you should be able to write a new page with a different media player interface, without losing any key aspect of the media. In particular, any accessibility features must not be lost when doing this. For example, if the video has subtitles or PiP hand language signing, or multiple audio tracks, or a transcript, or lyrics, or metadata, _all_ of this data should survive even if the video file is saved locally without the embedding page.</p>
</blockquote>
<p>In other words, video accessibility should be handled within the video container, not in the surrounding HTML markup.  On the plus side, all modern video containers can handle subtitle tracks, secondary audio tracks, and so forth.  Unfortunately, authors may be hesitant to add to their bandwidth costs by including tracks that must be downloaded by everyone but appreciated (or even noticed) by very few.</p>
<p>[<a href="http://lists.w3.org/Archives/Public/public-html/2008Oct/thread.html#msg29">W3C discussion thread on video accessibility</a>]</p>
</li>
<li><p>Sander van Zoest <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016588.html">noticed the <code>pixelaspectratio</code> attribute</a> of the <code>&lt;video&gt;</code> element, and he asked why it was a float instead of a ratio of two rationals (as is standard practice in the video authoring world).  Ultimately, he agreed with Eric Carlson that <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/016669.html"><code>pixelaspectratio</code> should be dropped from HTML 5</a> because it doesn't really give enough information about how to scale the video properly.  As with so many other things in the video world, the problem is much more complicated that it first appears.</p></li>
</ul>

<p>Around the web:</p>

<ul>
<li>Chris Double <a href="http://www.bluishcoder.co.nz/2008/10/video-element-update.html">posted an update on Firefox 3.1's Ogg Theora video support</a> and <a href="http://www.bluishcoder.co.nz/2008/10/html-5-video-element-examples.html">a list of demo sites</a>.</li>
<li>WGBH outlines <a href="http://main.wgbh.org/wgbh/pages/mag/resources/guides/mag_guide_vol13.html">the regulations surrounding closed captioning and video description</a> and the state of the art for <a href="http://main.wgbh.org/wgbh/pages/mag/resources/guides/mag_guide_vol13.html">captioning and description for the Web</a>.</li>
<li>Joe Clark, in his book <cite>Building Accessible Websites</cite>, states "<a href="http://joeclark.org/book/sashay/serialization/Chapter13.html">Video is still a bit of a boondoggle</a>. And making video accessible is so difficult you had best leave the job to the experts. And at present, there is no way for you the Web developer to become an expert."  The book was published in 2002, but the point remains true today.</li>
<li><a href="http://wiki.whatwg.org/wiki/Video_accessibility">A list of use cases for video accessibility</a></li>
<li><a href="http://esw.w3.org/topic/HTML/MultimediaAccessibilty">Multimedia accessibility proposals</a></li>
</ul>

<p>Tune in next week for another exciting episode of "This Week in HTML 5."</p></div>
    </content>
    <updated>2008-10-20T21:05:51Z</updated>
    <published>2008-10-20T21:02:20Z</published>
    <category scheme="http://blog.whatwg.org" term="Weekly Review"/>
    <author>
      <name>Mark Pilgrim, Google</name>
      <email>mark@diveintomark.org</email>
      <uri>http://code.google.com/p/doctype/wiki/Welcome</uri>
    </author>
    <source>
      <id>http://blog.whatwg.org/feed/atom</id>
      <link href="http://blog.whatwg.org/feed" rel="self" type="application/atom+xml"/>
      <link href="http://blog.whatwg.org" rel="alternate" type="text/html"/>
      <rights xml:lang="en">Copyright 2008</rights>
      <subtitle xml:lang="en">Please leave your sense of logic at the door, thanks!</subtitle>
      <title xml:lang="en">The WHATWG Blog</title>
      <updated>2008-11-18T21:58:23Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://blog.whatwg.org/?p=317</id>
    <link href="http://blog.whatwg.org/this-week-in-html-5-episode-9/feed" rel="replies" type="application/atom+xml"/>
    <link href="http://blog.whatwg.org/this-week-in-html-5-episode-9" rel="alternate" type="text/html"/>
    <title xml:lang="en">This Week in HTML 5 - Episode 9</title>
    <summary xml:lang="en">Topics this week include the textarea element, distributed extensibility, several widely implemented features finally being standardized, and several other never-been-implemented features being removed from HTML 5.</summary>
    <content type="xhtml" xml:lang="en"><div xmlns="http://www.w3.org/1999/xhtml"><p>Welcome back to "This Week in HTML 5," where I'll try to summarize the major activity in the ongoing standards process in the WHATWG and W3C HTML Working Group.</p>

<p>Most of the changes in the spec this week revolve around <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-textarea-element">the <code>&lt;textarea&gt;</code> element</a>.</p>

<ul>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2304&amp;to=2305">r2305</a> covers editing a <code>&lt;textarea&gt;</code>.</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2308&amp;to=2309">r2309</a> defines the <code>rows</code> and <code>cols</code> attributes.</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2309&amp;to=2310">r2310</a> defines the <code>wrap</code> attribute.  (<a href="http://www.blooberry.com/indexdot/html/tagpages/t/textarea.htm">Long supported by Netscape</a> and <a href="http://msdn.microsoft.com/en-us/library/ms535152(VS.85).aspx">still supported in Internet Explorer</a>, the <code>wrap</code> attribute has never been standardized until now.)</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2310&amp;to=2311">r2311</a> defines the <code>maxlength</code> attribute.</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2311&amp;to=2312">r2312</a> defines the <code>required</code> attribute, also new in HTML 5.</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2312&amp;to=2313">r2313</a> <em>removes</em> support for the <code>accept</code> attribute, which has <a href="http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2005-August/004622.html">always been problematic</a> and <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2005-August/004583.html">its (limited) potential has never been implemented</a>.  This only affects the <code>&lt;textarea&gt;</code> element; <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#file-upload-state"><code>&lt;input type=file&gt;</code> elements still have an <code>accept</code> attribute</a> that controls what types of files may be uploaded.</li>
</ul>

<p><a href="http://realtech.burningbird.net/web/standards/distributed-extensibility">Shelley Powers pointed out</a> that I haven't mentioned the issue of distributed extensibility yet.  (The clearest description of the issue is <a href="http://lists.w3.org/Archives/Public/public-html/2007Aug/0134.html">Sam Ruby's message from last year</a>, which <a href="http://lists.w3.org/Archives/Public/public-html/2007Aug/thread.html#msg134">spawned a long discussion</a>.)  The short version: XHTML (served with the proper MIME type, <code>application/xhtml+xml</code>) supports embedding foreign data in arbitrary namespaces, including <a href="http://www.w3.org/Graphics/SVG/">SVG</a> and <a href="http://www.w3.org/Math/">MathML</a>.  None of these technologies (XHTML, SVG, or MathML) have had much success on the public web.  Despite <a href="http://lists.w3.org/Archives/Public/public-html/2008Aug/0046.html">Chris Wilson's assertion</a> that "we cannot definitively say why XHTML has not been successful on the Web," I think it's pretty clear that Internet Explorer's complete lack of support for the <code>application/xhtml+xml</code> MIME type has something to do with it.  (Chris is the project lead on Internet Explorer 8.)</p>

<p>Still, it is true that XHTML <em>does</em> support distributed extensibility, and many people believe that the web would be richer if SVG and MathML (and other as-yet-unknown technologies) could be embedded and rendered in HTML pages.  The key phrase here is "as-yet-unknown technologies."  In that light, the recent SVG-in-HTML proposal (which <a href="http://blog.whatwg.org/this-week-in-html-5-episode-4">I mentioned several weeks ago</a>) is beside the point.  The point of distributed extensibility is that it does not require approval from a standards body.  "Let a thousand flowers bloom" and all that, where by "flowers," I mean "namespaces."  This is an unresolved issue.</p>

<p>Other interesting changes this week:</p>

<ul>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2313&amp;to=2314">r2314</a> ensures that the <code>required</code> attribute only applies to form controls whose value can change.</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2315&amp;to=2316">r2316</a> defines the <code>name</code> attribute for form controls.</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2316&amp;to=2317">r2317</a> defines the <code>disabled</code> attribute for form controls.</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2319&amp;to=2320">r2320</a> defines all the different ways that a form control can fail to satisfy its constraints.  For example, an <code>&lt;input maxlength=20&gt;</code> element with a 21-character value.</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2321&amp;to=2322">r2322</a> defines exactly how <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#url-encoded-form-data">form data should be encoded</a> before being submitted to the server.  I've <a href="http://blog.whatwg.org/this-week-in-html-5-episode-5">previously mentioned character encoding</a> in this series; this revision marks the first time that an HTML specification has acknowledged the existence of <code>&lt;input type=hidden name=_charset_&gt;</code> method of specifying the character encoding of submitted form data.</li>
<li><a href="http://html5.org/tools/web-apps-tracker?from=2318&amp;to=2319">r2319</a> <em>removes</em> support for data templates and repetition templates.  These were inventions in the original Web Forms 2 specification, but they were never picked up by any major browser.</li>
</ul>

<p>Around the web:</p>

<ul>
<li><a href="http://openwebpodcast.com/episode-3-anne-van-kesteren-on-css-xhr-and-other-web-standards">Anne van Kesteren</a> gave an interview on the state of several bleeding edge web standards.</li>
<li>Simon Pieters <a href="http://lists.w3.org/Archives/Public/public-html/2008Oct/0027.html">ponders what to do about nested <code>&lt;h1&gt;</code> elements</a>.</li>
<li><a href="http://lists.w3.org/Archives/Public/public-html/2008Oct/0020.html">In response to Olivier Gendrin</a>, Anne van Kesteren points out that the CSSOM standard defines a <a href="http://lists.w3.org/Archives/Public/public-html/2008Oct/0020.html"><code>window.media</code> attribute</a>.  Unlike <a href="http://www.w3.org/TR/CSS2/media.html">CSS media types</a>, <code>window.media</code> would be directly queryable from Javascript.</li>
</ul>

<p>Tune in next week for another exciting episode of "This Week in HTML 5."</p></div>
    </content>
    <updated>2008-10-20T18:48:42Z</updated>
    <published>2008-10-14T20:42:46Z</published>
    <category scheme="http://blog.whatwg.org" term="Weekly Review"/>
    <author>
      <name>Mark Pilgrim, Google</name>
      <email>mark@diveintomark.org</email>
      <uri>http://code.google.com/p/doctype/wiki/Welcome</uri>
    </author>
    <source>
      <id>http://blog.whatwg.org/feed/atom</id>
      <link href="http://blog.whatwg.org/feed" rel="self" type="application/atom+xml"/>
      <link href="http://blog.whatwg.org" rel="alternate" type="text/html"/>
      <rights xml:lang="en">Copyright 2008</rights>
      <subtitle xml:lang="en">Please leave your sense of logic at the door, thanks!</subtitle>
      <title xml:lang="en">The WHATWG Blog</title>
      <updated>2008-11-18T21:58:23Z</updated>
    </source>
  </entry>

  <entry xml:lang="pl">
    <id>http://my.opera.com/ODIN/blog/show.dml/2659084</id>
    <link href="http://my.opera.com/ODIN/blog/show.dml/2659084" rel="alternate" type="text/html"/>
    <title>Opera Developer Network: My WebJam 8 presentation on Builder AU: Cool things with HTML5, SVG and SMIL</title>
    <updated>2008-10-20T06:45:36Z</updated>
    <author>
      <name>Andreas Bovens</name>
      <email>andreasb@opera.com</email>
    </author>
    <source>
      <id>http://planet.operapl.net/</id>
      <logo>http://operapl.net/planet.styles/i/logorss.ping</logo>
      <author>
        <name>Planet Opera</name>
      </author>
      <link href="http://planet.operapl.net/" rel="alternate" type="text/html"/>
      <link href="http://planet.operapl.net/rss20lite.xml" rel="self" type="application/rss+xml"/>
      <subtitle>Planet Opera - http://planet.operapl.net/</subtitle>
      <title>Planet Opera</title>
      <updated>2008-10-23T04:34:18Z</updated>
    </source>
  </entry>

  <entry xml:lang="en">
    <id>http://standardssuck.org/?p=13</id>
    <link href="http://standardssuck.org/standards-suck-goes-to-tpac-2008" rel="alternate" type="text/html"/>
    <title>Standards Suck goes to TPAC 2008!</title>
    <summary>Anne, Lachlan, and Marcos will be bringing you coverage from W3C’s most important event of the year:  Technical Plenary / Advisory Committee Meetings Week (TPAC). It’s basically W3C’s social event where all the working groups have a chance to intermingle, exchange ideas, eat too much and get really drunk! yes, we will have the [...]</summary>
    <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"><p>Anne, Lachlan, and Marcos will be bringing you coverage from W3C’s most important event of the year:  Technical Plenary / Advisory Committee Meetings Week (TPAC). It’s basically W3C’s social event where all the working groups have a chance to intermingle, exchange ideas, eat too much and get really drunk! yes, we will have the cameras ready to catch all the action!:) </p>
<p>In this episode, Marcos and Anne talk about which groups are meeting throughout the week and other happenings. </p>
<p/>
<p>If you want us to interview anyone in particular, please let us know!</p></div>
    </content>
    <updated>2008-10-19T10:06:21Z</updated>
    <category term="Uncategorized"/>
    <category term="annevankesteren"/>
    <category term="csswg"/>
    <category term="htmlwg"/>
    <category term="mandelieu"/>
    <category term="marcoscaceres"/>
    <category term="standardssuckshow"/>
    <category term="tpac"/>
    <category term="tpac2008"/>
    <category term="w3c"/>
    <category term="webappswg"/>
    <category term="whatwgcabal"/>
    <a