<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mozilla Standards Blog &#187; WHATWG</title>
	<atom:link href="http://blog.mozilla.com/standards/category/whatwg/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/standards</link>
	<description>Open Standards.  Open Source.  Open Platform.</description>
	<lastBuildDate>Thu, 13 May 2010 18:41:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Web Standards In the Device Era</title>
		<link>http://blog.mozilla.com/standards/2009/12/30/web-standards-in-the-device-era/</link>
		<comments>http://blog.mozilla.com/standards/2009/12/30/web-standards-in-the-device-era/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 15:00:39 +0000</pubDate>
		<dc:creator>aruner</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Khronos]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[WHATWG]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/standards/?p=25</guid>
		<description><![CDATA[Last year, some prominent web developers weighed in on an increasingly spirited discussion about the App Store model versus The Web. Discussion about how to build really compelling mobile web applications that work on multiple mobile web browsers continues. But questions of market economics aside, some important technical questions crop up: is the web as [...]]]></description>
			<content:encoded><![CDATA[<p>Last year, some <a href="http://joehewitt.com/post/on-middle-men/">prominent web developers</a> weighed in on an <a href="http://www.quirksmode.org/blog/archives/2009/11/apple_is_not_ev.html">increasingly</a> <a href="http://almaer.com/blog/iphone-developers-are-not-arrogant-and-stupid">spirited</a> <a href="http://farukat.es/journal/2009/11/347-iphone-developers-arent-stupid-ppk">discussion</a> about the <em>App Store model</em> versus <em>The Web</em>.  Discussion about how to build really compelling mobile web applications that work on <a href="http://www.quirksmode.org/blog/archives/2010/02/the_iphone_obse.html#more">multiple mobile web browsers</a> continues.  But questions of market economics aside, some important technical questions crop up: is the web as <em>an application platform</em> capable of all the things we expect from a good platform?  How do web pages integrate with the devices that they run on, and how can even more APIs be coined?  And of course, the perennial: can the web platform (and web applications) replace the use of native code?</p>
<p>Let us define our terms.  We already know that many of the <em>really interesting</em> native applications in the mobile space (written, for example, in Objective C) make use of web technologies, either using established web APIs from third-party providers (making use of HTTP and JSON or markup payloads) or using HTML and CSS for presentation.  This is also true for applications on the desktop.  For example, the iTunes Music Store uses a <a href="http://www.satine.org/archives/2009/09/09/does-itunes-9-use-webkit/">browser-based presentation layer</a>.  We are <strong>not</strong> talking about that kind of use of web technologies here.  We are also <strong>not talking</strong> about <a href="http://www.w3.org/TR/widgets/">widgets</a> of <a href="http://www.apple.com/downloads/dashboard/">any kind</a> here.  Those are <em>web-like veneers</em>, but not quite <em>The Web</em> as we have in browsers, with the same security considerations of an HTML page served up from a URL.  What we are talking about here is web pages in a web browser.  Are we safely evolving capabilities that these need, so that future applications can safely take advantage of these capabilities?  Let&#8217;s take a look at a few of these capabilities, and how they fit in with the web page.</p>
<p><span id="more-25"></span></p>
<p>Before the advent of <a href="http://www.w3.org/TR/FileAPI/">HTML5 File API</a>, integration with the underlying file system was pretty primitive: you&#8217;d use the <code>&lt;input type="file" /&gt;</code> element in forms, and couldn&#8217;t really do much <em>with</em> the selected file.  Now that Firefox 3.6 implements the File API, you can do stuff like <em>asynchronously</em> <a href="http://hacks.mozilla.org/2009/12/firefox-36-fileapi-demo-reading-exif-data-from-a-local-jpeg-file/">examine the EXIF content of an image</a>, or the ID3 tags within an MP3 file.  The asynchronous part is important &#8212; we don&#8217;t want a page to block on read operations, especially on the main thread. While there is the introduction of a new top level object (<a href="https://developer.mozilla.org/en/DOM/FileReader"><code>FileReader</code></a>), the actual file is selected only by user interaction with the standard <code>&lt;input type="file"&gt;</code> element.  <a href="http://www.w3.org/DOM/">DOM</a> methods are used to access the selected file data from the <em>file element</em>.  The resulting API integrates with the web page&#8217;s intrinsic element-based model, using the DOM to obtain a handle to the data, and asynchronous read operations on top of it.    The new device capability is a natural extension of the web page model.</p>
<p>In addition to being able to access the device&#8217;s native file system, <em>hardware acceleration for graphics</em> is another important area for the web to take advantage of, especially with Graphical Processing Units (GPUs) becoming more sophisticated, and with driver support for <a href="http://www.khronos.org/opengles/">OpenGL ES 2.0</a> become more prevalent.  We&#8217;ve already seen <a href="http://www.watersheep.org/~markh/html_canvas/game.html">really creative uses</a> of the <a href="https://developer.mozilla.org/en/Canvas_tutorial">HTML5 Canvas2D drawing API </a>on the web.  The next task was to take the same HTML5 Canvas element, and provide interfaces to access hardware-accelerated 3D graphics.  This is what <a href="http://webgl.org">WebGL</a> does: it takes the same notion of providing an &#8220;immediate mode&#8221; drawing context made available to 2D graphics in JavaScript, and adds support for a 3D API (which closely resembles <a href="http://www.khronos.org/opengles/">OpenGL ES 2.0</a>, but with judicious concessions made for how the API would look like in a memory-managed language like JavaScript).  Again, the goal is integration with the web.  WebGL relies on the Canvas element (a part of the DOM), and provides interfaces to programmatically draw into the Canvas.</p>
<p>Both <a href="http://webgl.org">WebGL</a> and the <a href="http://www.w3.org/TR/FileAPI/">File API</a> provide examples of <em>integrating device capabilities</em> with an existing HTML element.  Other device capabilities also integrate with <a href="http://www.w3.org/TR/DOM-Level-3-Events/#dom-event-architecture">DOM Events</a>, the event model for web pages.  For instance, the <a href="https://developer.mozilla.org/En/DragDrop/Drag_and_Drop">HTML5 Drag and Drop API</a>, which allows you to <a href="http://hacks.mozilla.org/category/drag-and-drop/">drag resources from your device</a> to a web page, generates events that a web page can listen for, a model that web developers have been familiar with ever since the introduction of <a href="https://developer.mozilla.org/en/DOM/element.onclick"><code>onclick</code></a> back in JavaScript&#8217;s infancy.  And then, there&#8217;s <a href="http://hacks.mozilla.org/2009/10/orientation-for-firefox/">Orientation Events</a>, supported in Firefox 3.6 (with <a href="http://dougt.org/random/orientationdemo/index.xhtml">a really compelling demo</a> &#8212; try it on the MacBook Pro or the Nokia N900 and Fx 3.6).  Every time you tilt or &#8220;orient&#8221; your device, the web page can listen to events and do something interesting accordingly.  While the<a href="http://hacks.mozilla.org/2009/10/orientation-for-firefox/"> Orientation API</a> isn&#8217;t yet a web standard, we&#8217;d welcome further discussion with other browser vendors about it.  These device capabilities integrate with the web page&#8217;s event model, just as other device capabilities integrate with the HTML element structure.</p>
<p>The <a href="https://developer.mozilla.org/En/Using_geolocation">W3C Geolocation API</a> is one device capability that isn&#8217;t integrated with the DOM of a page, or its event model.  Rather, it is an extension to the <code>navigator</code> object, and provides an <em>asynchronous API</em> to get access to the device&#8217;s location, and (after user consent is obtained), provides that information back to the web page.  It is now used by <a href="http://www.twitter.com/">Twitter</a>, <a href="http://maps.google.com/">Google Maps</a>, and <a href="http://www.flickr.com/maps">Flickr</a>, to name a few (run these web applications on Firefox 3.6).  This is an asynchronous API; user-consent is also obtained asynchronously, blocking the feature until the user grants consent.  We posited some of these principles as <a href="http://arunranga.com/articles/2008/position-paper.html"><em>general design guidelines for Device APIs</em></a> just before the formation of the nascent <a href="http://www.w3.org/2009/05/DeviceAPICharter.html">W3C Device APIs WG</a>, which we&#8217;re a tentative member of.</p>
<p>Web pages are becoming <em>more and more capable</em>, and some of the need for proprietary plugins can be obviated.  When we consider further device capabilities, we&#8217;re really looking for:</p>
<ul>
<li>An asynchronous design</li>
<li>Whether the new capability can integrate with a known HTML element as a starting point.  We&#8217;re watching the evolution of the <a href="http://dev.w3.org/html5/html-device/">HTML5 <code>&lt;device&gt;</code></a> stuff pretty closely.</li>
<li>Whether the new capability can integrate with the event model for web pages.</li>
<li>And finally, whether we need a new top level object</li>
</ul>
<p>We want the web of web pages and hyperlinked applications to be the platform of choice for developers, based on open standards and a well-understood security model.  Whether this will eventually supplant native platforms is an open question, but talk of a web operating system is <a href="http://developer.palm.com/">popular</a> in <a href="http://dev.chromium.org/chromium-os">some circles</a>.  </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/standards/2009/12/30/web-standards-in-the-device-era/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>(R)evolution Number 5</title>
		<link>http://blog.mozilla.com/standards/2009/07/02/revolution-number-5/</link>
		<comments>http://blog.mozilla.com/standards/2009/07/02/revolution-number-5/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 18:55:57 +0000</pubDate>
		<dc:creator>aruner</dc:creator>
				<category><![CDATA[ECMA]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[WHATWG]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/standards/?p=21</guid>
		<description><![CDATA[The launch of Firefox 3.5 comes at a time when there's a lot of general hype about HTML5.  Here's a little history to put things into context.]]></description>
			<content:encoded><![CDATA[<p>Cross-posted from <a href="http://hacks.mozilla.org/2009/07/revolution-number-5/">hacks.mozilla.org</a></p>
<p>We&#8217;ve just launched <a href="http://www.mozilla.com/en-US/">Firefox 3.5</a>, and <a href="http://www.flickr.com/photos/gen/3677579248/"/> we&#8217;re</a> <a href="http://www.flickr.com/photos/nitot/3675934390/">incredibly</a> <a href="http://www.flickr.com/photos/29142435@N08/3674981992/">proud</a>.  Naturally, we have engaged in plentiful Mozilla advocacy &#8212; this site is, amongst other things, a vehicle for showcasing the latest browser&#8217;s new capabilities.  We like to think about this release as an upgrade for the <em>whole World Wide Web</em>, because of the new developer-facing features that have just been introduced into the web platform.  When talking about some of the next generation standards, the appearance of the number &#8220;5&#8243; is almost uncanny &#8212; consider <a href="http://dev.w3.org/html5/spec/Overview.html">HTML5</a> and <a href="http://www.ecma-international.org/publications/files/drafts/tc39-2009-025.pdf">ECMAScript 5 (PDF)</a>.   The recent (and very welcome) hype around HTML5 in the press is what motivates this article.  Let&#8217;s take a step back, and consider some of Mozilla&#8217;s web advocacy in the context of events leading up to the release of Firefox 3.5.</p>
<p>Standardization of many of these features often came after much spirited discussion, and we&#8217;re pleased to see the prominent placement of HTML5 as a <a href="http://radar.oreilly.com/2009/05/google-bets-big-on-html-5.html">key strategic initiative</a> by major web development companies.  Indeed, <a href="http://news.cnet.com/8301-17939_109-10252252-2.html">exciting new web applications</a> hold a great deal of promise, and really showcase what the future of the web platform holds in store for aspiring developers.  Many herald the triumphant arrival of the <a href="http://news.cnet.com/8301-17939_109-10250196-2.html">browser as the computer</a>, an old theme that <a href="http://developer.palm.com/webos_book/book1.html">gets bolstered</a> with the arrival of <a href="http://htmlfive.appspot.com/">attractive HTML5 platform features</a> that are implemented across <a href="http://www.apple.com/safari/">Safari</a>, <a href="http://www.google.com/chrome/intl/en/features.html">Chrome</a>, <a href="http://www.opera.com/">Opera</a>, and of course, <a href="http://www.getfirefox.com/">Firefox</a> (with <a href="http://www.microsoft.com/windows/internet-explorer/default.aspx">IE8</a> getting an honorable mention for having both some HTML5 features and some ECMAScript, 5th Edition features).</p>
<p>Call it what you will &#8212; Web 5.0, Open Web 5th Generation (wince!), or, (R)evolution # 5, the future is now.  But lest anyone forget, HTML5 is not a completed standard yet, as the <a href="http://www.w3.org/QA/2009/05/_watching_the_google_io.html">W3C was quick to point out</a>.  The editor doesn&#8217;t anticipate completion till 2010.  The path taken from the start of what is now called HTML5 to the present-day era of (very welcome) hype has been a long one, and Mozilla has been part of the journey from the very beginning.</p>
<p>For one thing, we were there to <a href="http://weblogs.mozillazine.org/roadmap/archives/2004/06/the_nonworld_no_1.html">point out, in no uncertain terms</a>, that the <a href="http://www.w3.org/">W3C</a> had perhaps <a href="http://dbaron.org/log/2004-06#e20040609a">lost its way</a>.  Exactly 5 summers ago (again, with that magic number!), it became evident that the W3C was no longer able to serve as sole custodian of the standards governing the open web of browser-based applications, so Mozilla, along with Opera, started the <a href="http://www.whatwg.org/">WHATWG</a>.  Of course, back then, we didn&#8217;t call it HTML5, and while Firefox itself made a splash in 2004, the steps taken towards standardization were <a href="http://ln.hixie.ch/?start=1088526392&#038;count=1">definitive but tentative</a>.  Soon, other browser vendors joined us, and by the time <a href="http://dig.csail.mit.edu/breadcrumbs/node/166">the reconciliation with W3C</a> occurred two years later, the innovations introduced into the web platform via the movement initiated by Mozilla had gained substantial momentum.  </p>
<p>The net result is a specification that is not yet complete called &#8220;HTML5&#8243; which is implemented piecemeal by most modern browsers.  The features we choose to implement as an industry are in response to developers, and our <em>modus operandi</em> is (for the most part) <a href="http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/">in</a> the <a href="http://lists.w3.org/Archives/Public/public-html/">open</a>.  Mozilla funds the <a href="http://validator.nu/">HTML5 Validator</a>, producing the first real HTML5 parser, which now drives <a href="http://validator.w3.org/">W3C&#8217;s markup validation</a> for HTML5.  That parser has made its way back into Firefox.  It&#8217;s important to note that capabilities that are of greatest interest (many of which are showcased on this blog) are not only developed within the HTML5 specification, but also as part of the <a href="http://www.w3.org/2008/geolocation/">W3C Geolocation WG</a>, the <a href="http://www.w3.org/2008/webapps/">Web Apps WG</a>, and the <a href="http://www.w3.org/Style/CSS/current-work">CSS WG</a>.</p>
<p>The release of Firefox 3.5, along with updates to other modern browsers, seems to declare that HTML5 has arrived.  But with the foresight that comes with having been around this for a while, we also know that we have a lot of work ahead of us.  For one thing, we&#8217;ve got to finish HTML5, or at least publish a subset of it that we all agree is ready for implementation, <strong>soon</strong>.  We&#8217;ve also got to ensure that <a href="http://lists.w3.org/Archives/Public/public-html/2009Jun/0661.html">accessibility serves as an important design principle</a> in the emerging web platform, and resolve sticky differences here.  Also, an open standard <em>does not</em> an open platform make, as debates about <a href="http://cwilso.com/2008/07/23/fonts-embedding-vs-linking/">web</a> <a href="http://dbaron.org/log/20090317-fonts">fonts</a> and <a href="http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-June/020363.html">audio/video</a> <a href="http://lists.w3.org/Archives/Public/public-html/2009Jun/0825.html">codecs</a> show.  We&#8217;ve got a lot of work ahead of us, but for now, 5 years after the summer we started the ball rolling, we&#8217;re enjoying the hype around (R)evolution Number 5.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/standards/2009/07/02/revolution-number-5/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fear and Loathing on the Standards Trail (with an Upbeat Coda)</title>
		<link>http://blog.mozilla.com/standards/2008/08/19/fear-and-loathing-on-the-standards-trail-with-an-upbeat-coda/</link>
		<comments>http://blog.mozilla.com/standards/2008/08/19/fear-and-loathing-on-the-standards-trail-with-an-upbeat-coda/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 23:16:26 +0000</pubDate>
		<dc:creator>aruner</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[WHATWG]]></category>
		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/standards/?p=5</guid>
		<description><![CDATA[At the Mozilla Summit, I held a session on Standards. The organizational powers that be gave me the Big Room, and before long I stood in relative darkness on stage discussing standards with the mavens within our community that pay attention to such things. Now, standards are a big deal to us &#8212; everything we [...]]]></description>
			<content:encoded><![CDATA[<p>At the Mozilla Summit, I <a href="http://arunranga.com/presentations/Summit2008/standards.html">held a session on Standards</a>.  The organizational powers that be gave me the Big Room, and before long I stood in relative darkness on stage discussing standards with the mavens within our community that pay attention to such things.</p>
<p>Now, standards are a big deal to us &#8212; everything we do here at Mozilla is, for <em>the most part</em>, a contribution to the Web platform.  I <a href="http://blog.mozilla.com/standards/2008/07/16/building-the-web-one-spec-at-a-time/">blogged previously about the low esteem</a> I reserve for arguments that favor proprietary platforms (which typically pit <em>rapid proprietary innovation</em> against <em>dawdling Web Platform standardization</em> cycles), but even in that upbeat blog post, I acknowledge that <em>the standards process</em> leaves much room for improvement.</p>
<p>My <a href="http://arunranga.com/presentations/Summit2008/standards.html">slides</a> basically summarize the <em>numerous places we go</em> to build interoperable specifications, even though some of these places are theoretical at the moment (meaning we aren&#8217;t quite going there yet), and the activities we&#8217;re currently involved in.  But, I was most interested in the audience participation part.  That&#8217;s where I got to talk to folks working on stuff pertinent to standards, and to listen to their points of view.</p>
<p><span id="more-5"></span></p>
<p>Basically, many of the comments from the floor were in a plaintive vein.  People <em>love</em> to air grouses about the standards process when given a chance.  Some complained about having to read far too much email (on the <a href="http://lists.w3.org/Archives/Public/public-html/">W3C HTML5 WG listserv</a>, for instance).  I took a poll to see how many people followed HTML5&#8242;s progress exclusively on the <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/">WHATWG mailing lists</a>, and how many people followed the progress of HTML5 on the <a href="http://lists.w3.org/Archives/Public/public-html">W3C listserv</a>.   Slightly more hands went up showing a following of progress on the <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/">WHATWG listservs</a>; a few people claimed to do both listservs.  More than one person complained about the signal-to-noise ratio on the <a href="http://lists.w3.org/Archives/Public/public-html/">W3C HTML5 listserv</a>, saying that there was a lot of cruft that burned up bandwidth and not enough really useful material to warrant the sifting.  I tut-tutted sympathetically, but dealing with email isn&#8217;t just a standards involvement problem.    I maintain that several were invited to W3C&#8217;s latest HTML party; few are experts.  Some &#8220;topic sieve&#8221; mechanism for filtration is probably a good thing; there does seem to be relatively clean use of the email subject line, so developing a mail management strategy is really a mitigable problem (you&#8217;re on your own for that one, kids <img src='http://blog.mozilla.com/standards/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ).</p>
<p>Two general themes can be distilled from the open discussion we had:  </p>
<ul>
<li>There continues to be the perception that <a href="http://www.w3.org/">W3C</a> is too slow, especially given <a href="http://blog.mozilla.com/standards/2008/07/16/building-the-web-one-spec-at-a-time/">the rapidity with which Mozilla is moving</a>.  I asked an open question about where <a href="http://weblogs.mozillazine.org/roc/archives/2008/06/applying_svg_ef.html">Robert O&#8217;Callahan&#8217;s</a> cool <a href="http://people.mozilla.com/~roc/SVG-CSS-Effects-Draft.html">SVG-in-CSS</a> stuff should live.  A modest amendment to the <a href="http://www.w3.org/Style/2004/css-charter-long">CSS charter</a>?  A W3C note?  Or perhaps within the <a href="http://www.w3.org/2004/CDF/">Compound Document Formats (CDF) WG</a>?  Naturally, we think it&#8217;s a great new capability to add to the Web platform &#8212; it&#8217;s an elegant stitching together of two standards, unleashed by an element id.  Where should it <em>live</em>, though?  How can it gradually become behavior that developers can count on?  The pervasive sentiment was that the discussion of where it should live seemed prosaic, and that the time taken to even get it under way at W3C would be too long.  The reasoning was that there would be a process impediment raised by those inimical to SVG or CSS doing things it doesn&#8217;t normally do (are there user agents that <em>just don&#8217;t</em> support SVG?  Really?).  <a href="http://www.whatwg.org/">WHATWG</a>, however, just seems to get on with it.  Maybe it was best off there?
<p>The argument that <a href="http://www.whatwg.org/">WHATWG</a> moves much more rapidly than <a href="http://www.w3.org/">W3C</a> is certainly true; WHATWG just doesn&#8217;t have closed door &#8220;Advisory Committee Review&#8221; sessions on charter amendments to deal with, and there isn&#8217;t really a lot of process overhead to getting a new idea put to text by a rapid editor.  Even charter amendments to the successful <a href="http://www.w3.org/2008/webapps/charter/">W3C Web Applications</a> WG would require an Advisory Committee Review cycle, which might result in lengthy discussions or a stalemate on controversial, &#8220;big patent&#8221; areas, like the Geolocation API, which will soon have <a href="http://lists.w3.org/Archives/Public/public-geolocation/">its own working group</a>.  Who wants a stalemate?  And few would venture that time spent waiting for a home for a new idea to live is time well spent, especially when you can just get on with it within the WHATWG.</li>
<li>But every coin has a flip side.  The big problem with the <a href="http://www.whatwg.org/">WHATWG</a> is that <a href="http://ln.hixie.ch/">Ian Hickson</a>, its main editor (great guy) isn&#8217;t scalable (he&#8217;s mostly human, and this is a human failing).  Plus, with one person as the gatekeeper of the important but floating HTML5 specification, disagreements are bound to arise.  Those attending the summit <em>did</em> complain about changes to specifications that happened without their blessing &#8212; I heard terms like <em>ninja insertions</em>, and anecdotal stories about the rightness or wrongness of specification changes without a developer&#8217;s consent.  For the most part, these dissipate with time &#8212; that&#8217;s just part of the process, which explicitly is NOT based on W3C-style consensus (by design).  There&#8217;s a benevolent dictatorship at work here, which can be justified as being sound technically, but the fact of the matter is, you aren&#8217;t just dealing with an editor who puts in &#8220;majority rules&#8221; text.  The editor is very, very opinionated.  &#8220;Ninja insertions&#8221; in the specification can happen if you don&#8217;t monitor the email (which goes back to large cycles spent looking at email &#8212; just an occupational hazard, I suppose).  Sure, WHATWG may be an imperfect system, someone pointed out, <em>but it works</em> and <em>it&#8217;s fast</em>.</li>
</ul>
<p>So the two standards bodies which are of importance to Mozilla either have painful consensus building overheads or explicit legislation from the editor, both of which have pros and cons.  Where&#8217;s the upbeat coda I promised, if there&#8217;s only problems and tricky nuances?</p>
<p>Actually, I took a poll of the audience to see who would be willing to edit specifications.  The room was silent for a while, and then some of the usual suspects tentatively raised their hands.  I&#8217;m upbeat not necessarily because I get to chase people up to do work and officially commit to documenting things for the Web Platform (which is great), but because of the <em>number</em> of people that attended my session, and because of the fact that as a community, we collectively spent an hour or so strategizing about future directions.  The Web is a riotous assembly, too impatient for lengthy consensus cycles and too big to have a bottleneck of size one.  We&#8217;ll work this out yet, and it will be imperfectly functional, with standards getting crafted in more than one place.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/standards/2008/08/19/fear-and-loathing-on-the-standards-trail-with-an-upbeat-coda/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Building the Web, One Spec at a Time</title>
		<link>http://blog.mozilla.com/standards/2008/07/16/building-the-web-one-spec-at-a-time/</link>
		<comments>http://blog.mozilla.com/standards/2008/07/16/building-the-web-one-spec-at-a-time/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 00:18:26 +0000</pubDate>
		<dc:creator>aruner</dc:creator>
				<category><![CDATA[ECMA]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[WHATWG]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[W3C]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/standards/?p=3</guid>
		<description><![CDATA[(Cross-posted from arunranga.com) I&#8217;m admittedly being a bit glib in my title. Can innovation and advancement of the web platform occur at all, given the temporal straight jacket that standards bodies sometimes impose? There are certainly proprietary platforms that leverage the web (Flash and Silverlight) and developers do happily bivouac in them, building some fairly [...]]]></description>
			<content:encoded><![CDATA[<p>(Cross-posted from <a href="http://arunranga.com/blog/2008/07/building-the-web-one-spec-at-a-time/">arunranga.com</a>)</p>
<p>I&#8217;m admittedly being a bit glib in my title.  Can innovation and advancement of the web platform occur at all, given the temporal straight jacket that standards bodies sometimes impose?  There are certainly proprietary platforms that leverage the web (<a href="http://www.macromedia.com/software/flash/about/">Flash</a> and <a href="http://silverlight.net/">Silverlight</a>) and developers <em>do</em> happily bivouac in them, building <a href="http://memorabilia.hardrock.com/">some fairly compelling stuff</a>.  Some even argue that <a href="http://pseudosavant.com/blog/2008/07/08/a-proprietary-web-blame-the-w3c/">these proprietary platforms</a> push the envelope <a href="http://blogs.zdnet.com/carroll/?p=1855">more than what the web can do by itself,</a> given the <a href="http://blogs.zdnet.com/Stewart/?p=881">stagnancy of standards bodies</a>.</p>
<p>But let&#8217;s talk about the web platform.  Stagnant, really?  Innovation at Mozilla ultimately manifests itself as innovation for the web platform.  Let&#8217;s leave the intricacies of the standards process for another discussion &#8212; it isn&#8217;t ideal, and big questions about consortia (like <a href="http://www.w3.org/">W3C</a> and <a href="http://www.ecma-international.org/">ECMA</a>) are probably valid ones.  Great ideas are vetted for interoperability in forums such as the <a href="http://www.whatwg.org/">WHATWG</a>, and the <a href="http://www.w3.org/2008/webapps/">W3C&#8217;s WebApps WG</a>, and we browser vendors deliver as rapidly as feasible on implementations (some are slower than others &#8212; you know who you are).  Both IE8 Beta and Firefox 3 now support <a href="http://ejohn.org/blog/postmessage-api-changes/">postMessage</a>, for example, so talk of AJAX methodologies being stagnant ought to be revisited.  And support of <a href="http://www.whatwg.org/specs/web-apps/current-work/#the-2d">Canvas2D</a> in browsers such as Opera, Safari, and Firefox results in <a href="http://blog.wired.com/monkeybites/2008/05/new-javascript.html">stellar innovations such as processing.js</a>, which &#8212; any &#8220;open platform&#8221; chauvinism on my part notwithstanding &#8212; gives Flash a royal run for its money.</p>
<p>Mozilla&#8217;s involvement in standards encompasses enhancements to JavaScript, graphics, and APIs for new capabilities.  Below is a breakdown of the work that will eventually be a part of the web platform.  Don&#8217;t stop and stare for too long &#8212; there is nothing stagnating here <img src='http://blog.mozilla.com/standards/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><span id="more-3"></span></p>
<ul>
<li>
<p>Evolving the <em>AJAX backbone</em> essentially means adding new capabilities to the <code>XMLHttpRequest</code> object, which is really the skinny man on stilts behind the AJAX wizard.  Currently, the <code>XMLHttpRequest</code> object (abbreviated XHR) can&#8217;t cross the single domain threshold, but we&#8217;re working on a &#8220;mitigation&#8221; mechanism to allow cross-domain access called <a href="http://dev.w3.org/2006/waf/access-control/">Access Control</a>, which will be used by API containers such as <a href="http://www.w3.org/TR/XMLHttpRequest2/">XHR Level 2</a>.  Allowing Cookies and HTTP-Authentication mechanisms for safer cross-domain mashups is <a href="http://lists.w3.org/Archives/Public/public-webapps/2008JulSep/0011.html">controversial, certainly</a>, and safety is paramount.  Amongst the topics to consider are interoperability with Microsoft&#8217;s equally controversial <code>XDomainRequest</code> object, introduced in IE8 Beta.  The <a href="http://www.w3.org/2008/webapps/">WebApps Working Group&#8217;s</a> progress has been good; I expect this feature to be released in Firefox 3.next.  Our long term goals ought to be to <a href="http://people.mozilla.com/~bsterne/site-security-policy/">clean up</a> the existing legacy of <a href="http://www.arunranga.com/articles/browser-cross-site.html">&#8220;ad-hoc&#8221; cross-domain access mechanisms</a> on the web, and introduce safer primitives to give developers the capability of doing safe mashups.</p>
</li>
<li>
<p>The <em>Canvas3D initiative</em> brings 3D graphics to the web, exposing <a href="http://blog.vlad1.com/2007/11/26/canvas-3d-gl-power-web-style/">an OpenGL 3D context to JavaScript via the canvas element</a>.  Pretty cool, eh?  This allows 3D modeling on the web, with the potential of a low-level API that does the <a href="http://www.khronos.org/opengles/">OpenGL stuff</a>, possibly allowing for use of a shading language and even modeling formats like <a href="http://www.khronos.org/collada/">Collada</a>.  There&#8217;s also the possibility of a higher level layer of abstraction for 3D graphics in general.  We&#8217;re raring to talk to the appropriate standards group, as well as get feedback on early implementations (check out <a href="http://blog.vlad1.com/2007/11/26/canvas-3d-gl-power-web-style/">Vlad&#8217;s extension</a>).</p>
</li>
<li>
<p><em>Worker Threads in JavaScript</em> allow for abstraction around multiple threads exposed to web content, and allows for inter-thread communication using an API like <code>postMessage</code>.  Use cases envision dedicated &#8220;background&#8221; processes happening asynchronously (and communicating with other processes on the spawning page).  Proposals abound; <a href="http://code.google.com/apis/gears/api_workerpool.html">Google Gears</a>, <a href="http://hixie.ch/specs/dom/workers/0.9">WHATWG</a>, and <a href="http://wiki.mozilla.org/DOMWorkerThreads">Mozilla&#8217;s DOM Worker Threads</a> all have skin in the game, and we&#8217;re all working to arrive at a single straw person which will evolve either in the <a href="http://www.whatwg.org/">WHATWG</a> or in the <a href="http://lists.w3.org/Archives/Public/public-webapps/2008AprJun/0416.html/">W3C WebApps WG, where it was proposed</a>.</p>
</li>
<li>
<p>Introducing <em>SVG capabilities in CSS</em> goes some of the way towards addressing the concern that the web stack consists of separate technologies that don&#8217;t &#8220;live together&#8221; well.  Mozilla&#8217;s Robert O&#8217;Callahan blogged first about <a href="http://weblogs.mozillazine.org/roc/archives/2008/06/applying_svg_ef.html">extending SVG&#8217;s notions of <code>filter</code>, <code>mask</code> and <code>clip-path</code></a>, and then about <a href="http://weblogs.mozillazine.org/roc/archives/2008/07/svg_paint_serve.html">extending SVG paint servers</a>.  The resultant demos are &#8230;. just <em>pretty darn awesome</em>.  In an ideal world, these would be <a href="http://www.w3.org/Style/2004/css-charter-long.html">extensions to the CSS charter</a>, since these make the <a href="http://people.mozilla.com/~roc/SVG-CSS-Effects-Draft.html">capabilities of SVG exposed to CSS</a>.</p>
</li>
<li>
<p>The birth of the <em>Geolocation API</em> for JavaScript was originally fraught with some small dissonance about where in the W3C the activity would live.  In the WebApps Working Group, or in a newly minted Geolocation Working Group?  It looks a lot like for reasons of corporate machinery (as well as, honestly, modular specification management), the Geolocation work will take place in a separate working group, despite objections from Mozilla, Opera, Apple, and Google (we&#8217;ll all still likely participate).  Andrei Popescu from Google is a promising editor of the <a href="http://dev.w3.org/geo/api/spec-source.html">nascent specification</a>, which reconciled ideas from <a href="http://code.google.com/p/google-gears/wiki/GeolocationAPI">Google&#8217;s Gears team</a> as well as <a href="http://azarask.in/blog/post/geolocation-in-firefox-and-beyond/">Mozilla&#8217;s Geolocation proposal.</a> </p>
</li>
<li>
<p><em>ECMAScript 3.1 and ECMAScript 4</em> are both enhancements to the defacto programming language of the web (and will manifest themselves in JavaScript <em>and</em> ActionScript &#8212; some things aren&#8217;t <em>totally</em> proprietary anymore, and both &#8220;proprietary&#8221; and &#8220;open&#8221; are words that ought to be used in an informed way).  <a href="http://wiki.ecmascript.org/doku.php?id=es3.1:es3.1_proposal_working_draft">ECMAScript 3.1</a> proposes to recognize some &#8220;reality on the web&#8221; as well as introduces notions around safe subsets.  <a href="http://www.ecmascript.org/docs.php">ECMAScript 4</a> introduces &#8220;evolutionary&#8221; enhancements to ECMAScript &#8212; think <code>class</code>es and structural types in JavaScript <img src='http://blog.mozilla.com/standards/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
</li>
</ul>
<p>Anyone that thinks the web is standing still while proprietary models out-maneuver us ought to be disabused of that notion.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/standards/2008/07/16/building-the-web-one-spec-at-a-time/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

