<?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>Infrequently Noted &#187; webkit</title>
	<atom:link href="http://infrequently.org/tag/webkit/feed/" rel="self" type="application/rss+xml" />
	<link>http://infrequently.org</link>
	<description></description>
	<lastBuildDate>Fri, 18 Nov 2011 16:25:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WebKit, Mobile, and Progress</title>
		<link>http://infrequently.org/2009/10/webkit-mobile-and-progress/</link>
		<comments>http://infrequently.org/2009/10/webkit-mobile-and-progress/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 16:32:01 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ppk]]></category>
		<category><![CDATA[progress]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://alex.dojotoolkit.org/?p=1157</guid>
		<description><![CDATA[PPK posted some great new compat tables for various flavors of WebKit-based browsers the other day, editorializing that: &#8230;Acid 3 scores range from a complete fail to 100 out of 100. This is not consistency; it’s thinly veiled chaos. But I&#8217;m not convinced that the situation is nearly that bad. The data doesn&#8217;t reflect how [...]]]></description>
			<content:encoded><![CDATA[<p>PPK posted <a href="http://www.quirksmode.org/webkit.html">some great new compat tables</a> for various flavors of WebKit-based browsers the other day, editorializing that:</p>
<blockquote><p>&#8230;Acid 3 scores range from a complete fail to 100 out of 100.</p>
<p>This is not consistency; it’s thinly veiled chaos.</p></blockquote>
<p>But I&#8217;m not convinced that the situation is nearly that bad.</p>
<p>The data doesn&#8217;t reflect how fast the mobile market changes. The traditional difference between mobile and desktop, after all, has been that mobile is <em>moving at all</em>. If you figure a conservative 24 month average replacement cycle for smartphones, then the <em>entire</em> market for browsers turns over every two years. And that&#8217;s the historical view. An increasing percentage of smartphone owners now receive regular software updates that provide new browsers even faster. What matters then is how old the WebKit version in a particular firmware is and how prevalant that firmware is in the real world. As usual, distribution and market share are what matters in determining real-world compatibility, and if that&#8217;s a constantly changing secnario, the data should at least reflect how things are changing.</p>
<p>So what if we add a column to represent the vintage of the tested WebKit versions? Here&#8217;s a slightly re-formatted version of PPK&#8217;s summary data, separated by desktop/mobile and including rough WebKit vintages (corrections and new data much appreciated if you happen to know!):</p>
<h5>Desktop</h5>
<table class="data" cellspacing="0">
<thead>
<tr>
<th>Browser</th>
<th align="right">Score (max 216)</th>
<th>Vintage</th>
</tr>
</thead>
<tbody>
<tr>
<td>Safari 4.0</td>
<td align="right">204</td>
<td>2009</td>
</tr>
<tr>
<td>Chrome 3</td>
<td>192</td>
<td>2009</td>
</tr>
<tr>
<td>Chrome 2</td>
<td>188</td>
<td>Early 2009</td>
</tr>
<tr>
<td>Safari 3.1</td>
<td>159</td>
<td>2008</td>
</tr>
<tr>
<td>Chrome 1</td>
<td>153</td>
<td>Early 2008</td>
</tr>
<tr>
<td>Safari 3.0</td>
<td>108</td>
<td>2007</td>
</tr>
<tr>
<td>Konqueror 3.5.7</td>
<td>103</td>
<td>2007</td>
</tr>
<tr>
<td>Konqueror (newer, untested)</td>
<td>0</td>
<td>??</td>
</tr>
</tbody>
</table>
<h5>Mobile</h5>
<table class="data">
<thead>
<tr>
<th>Browser</th>
<th>Score (max 216)</th>
<th>Vintage</th>
</tr>
</thead>
<tbody>
<tr>
<td>Ozone (version?)</td>
<td>185</td>
<td>(?) Late 2009</td>
</tr>
<tr>
<td>iPhone 3.1</td>
<td>172</td>
<td>2009</td>
</tr>
<tr>
<td>Iris (version?)</td>
<td>163</td>
<td>(??) 2008</td>
</tr>
<tr>
<td>JIL Emulator (version?)</td>
<td>162</td>
<td>??</td>
</tr>
<tr>
<td>Bolt (version?)</td>
<td>155</td>
<td>??</td>
</tr>
<tr>
<td>iPhone 2.2</td>
<td>152</td>
<td>2008</td>
</tr>
<tr>
<td>Android G2 (version? 1.6?)</td>
<td>144</td>
<td>(??) Late 2008</td>
</tr>
<tr>
<td>Palm Pre (version?)</td>
<td>134</td>
<td>??</td>
</tr>
<tr>
<td>Android G1 (1.5?)</td>
<td>108</td>
<td>(??) 2008</td>
</tr>
<tr>
<td>Series 60 v5</td>
<td>93</td>
<td>(??) 2008</td>
</tr>
<tr>
<td>Series 60 v3 (feature pack?)</td>
<td>45</td>
<td>2005</td>
</tr>
</tbody>
</table>
<p>PPKs data is missing some other columns too, namely a rough estimate of the percent of mobile handsets running a particular version, rates of change in that landscape over the past 18 months, and whether or not these browsers are on the whole better than the deployed fleet of desktop browsers. Considering that web devs today <em>still</em> can&#8217;t target everything in Acid2, knowing how the mobile world compares to desktops will provide some much-needed context for these valuable tables. Perhaps those are things that we as a community can chip in to help provide.</p>
<p>Even without all of that, just adding the rough vintages adds an arc to the story; one that&#8217;s not nearly so glum and dreary. What we can see is that newer versions of WebKit are <em>much</em> more capable and compatible, even at the edges. None of PPK&#8217;s data yet tests where the baseline is, so remember that the numbers presented mostly describe new-ish features on the platform. We also see clearly that the constraints of the mobile environment force some compromises vs. desktop browsers of the same lineage. This is all in line with what I&#8217;d expect from a world where:</p>
<ul>
<li>WebKit is becoming the dominant smartphone rendering engine, finding its way into myriad devices due to its performance, compatibility with web content, clean C++ codebase, and straightforward API</li>
<li>Vendors upgrade the version of WebKit they ship when they release new OS versions. Very few mobile devices enjoy long-term OTA updates (yet).</li>
<li>Deployed smartphone stock turns over every 2 years</li>
</ul>
<p>The important takeaway for web developers in all of this is that WebKit is winning and that <em>that is a good thing</em>. The dynamics of the marketplace have thus far ensured that we don&#8217;t get &#8220;stuck&#8221; the way we did on the desktop. That is real progress.</p>
<p>Where do we go from here? Given that the mobile marketplace is changing at a rate that&#8217;s nearly unheard of on the desktop, I think that when new charts and comparisons are made, we&#8217;ll need to couch them in terms of &#8220;how does this affect the difference in capabilities across the deployed base&#8221;, rather than simply looking at instantaneous features. Mobile users are at once more likely tied to their OSes choice of browser and more likely to get a better browser sooner. That combination defies how we think about desktop browsers, so we&#8217;ll need to add more context to get a reasonable view of the mobile world.</p>
]]></content:encoded>
			<wfw:commentRss>http://infrequently.org/2009/10/webkit-mobile-and-progress/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Beautiful.</title>
		<link>http://infrequently.org/2009/03/beautiful/</link>
		<comments>http://infrequently.org/2009/03/beautiful/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 23:24:01 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[font-face]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://alex.dojotoolkit.org/?p=892</guid>
		<description><![CDATA[So if you&#8217;re using Windows and reading this blog, I can easily assume you&#8217;re using (or at least have installed) a Chrome Dev Channel build. Drive that bad boy over here and behold the beauty of @font-face. Awww yeah. Thanks, as always, go to Chrome&#8217;s good friends over at Apple and WebKit who are doing [...]]]></description>
			<content:encoded><![CDATA[<p>So if you&#8217;re using Windows and reading this blog, I can easily assume you&#8217;re using (or at least have installed) a <a href="http://www.google.com/chrome">Chrome</a> <a href="http://dev.chromium.org/getting-involved/dev-channel">Dev Channel</a> build. Drive that bad boy <a href="http://opentype.info/demo/webfontdemo.html">over here</a> and behold the beauty of <code>@font-face</code>.</p>
<p>Awww <em>yeah</em>.</p>
<p>Thanks, as always, go to Chrome&#8217;s good friends over at Apple and <a href="http://webkit.org/">WebKit</a> who are doing amazing work to help deliver a more beautiful web.</p>
]]></content:encoded>
			<wfw:commentRss>http://infrequently.org/2009/03/beautiful/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>WebKit == Mobile</title>
		<link>http://infrequently.org/2009/01/webkit-mobile/</link>
		<comments>http://infrequently.org/2009/01/webkit-mobile/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 18:05:02 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[openweb]]></category>
		<category><![CDATA[pre]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://alex.dojotoolkit.org/?p=869</guid>
		<description><![CDATA[With the Pre/Mojo announcement, it&#8217;s becoming clear that WebKit has mobile all sewn up. It bears listing who&#8217;s betting on WebKit and where: Apple iPhone, Safari Google Android, Chrome Nokia Series 60 browser Plam WebOS Adobe AIR web runtime From deep integration with the platform to being the platform, WebKit in various forms is how [...]]]></description>
			<content:encoded><![CDATA[<p>With the <a href="http://alex.dojotoolkit.org/2009/01/whoa/">Pre/Mojo announcement</a>, it&#8217;s becoming clear that <a href="http://webkit.org/">WebKit</a> has mobile all sewn up. It bears listing who&#8217;s betting on WebKit and where:</p>
<dl>
<dt>Apple</dt>
<dd>iPhone, Safari</dd>
<dt>Google</dt>
<dd>Android, Chrome</dd>
<dt>Nokia</dt>
<dd>Series 60 browser</dd>
<dt>Plam</dt>
<dd>WebOS</dd>
<dt>Adobe</dt>
<dd>AIR web runtime</dd>
</dl>
<p>From deep integration with the platform to <em>being</em> the platform, WebKit in various forms is how nearly every credible smartphone now &#8220;does&#8221; the web. The major outliers here are the WinCE devices, Blackberry, and whatever Sony&#8217;s doing this week, but the writing is on the wall for them too. Mobile IE is a joke and the Blackberry succeeds in spite of its web experience. iPhone, Android, and Pre have raised the bar. The sucky-web center will not hold.</p>
<p>For a sizable chunk of the mobile browsers that a web developer would like to target today, that means that WebKit == Mobile. <a href="http://alex.dojotoolkit.org/06/EuroOSCON/MobileAjax.pdf">As predicted, the mobile world has beaten the desktop to the web of the future</a>. It doesn&#8217;t hurt that WebKit is making deep inroads into the desktop, either&#8230;.but then you could reasonably assume that <a href="http://code.google.com/chromium/">they pay me to say that</a>.</p>
<p>So what does a WebKit-only world look like? And how portable are our desktop-web skills and tools? I did a quick set of experiments this past weekend to see how much of Dojo you&#8217;d still need and what we could leave behind. The results are encouraging. The headline numbers for <code>dojo.js</code> are roughly:</p>
<table class="simpleStats">
<thead>
<tr>
<th></th>
<th>ShrinkSafe</th>
<th>+gzip</th>
</tr>
</thead>
<tbody>
<tr>
<td>Standard Build</td>
<td>79K</td>
<td>27K</td>
</tr>
<tr>
<td>webkitMobile=true</td>
<td>56K</td>
<td>20K</td>
</tr>
<tr>
<td>Savings</td>
<td>23K (29%)</td>
<td>7K (26%)</td>
</tr>
</tbody>
</table>
<p>You can grab a copy of this pre-1.3.0 version <a href="http://alex.dojotoolkit.org/09/webkitMobile.dojo.js">here (webkitMobile.dojo.js)</a>.</p>
<p>The big size wins (in decreasing order) were:</p>
<ol>
<li>Moving to a QSA-only version of <code>dojo.query()</code></li>
<li>Being able to use intrinsics for <code>dojo.forEach</code>, etc.</li>
<li>Dropping IE and FF-specific rendering, XHR, and style hacks</li>
<li>Using a common closure wrapper for the entire core</li>
</ol>
<p>And there&#8217;s even more fruit on the vine. I think without too much more work I&#8217;ll be able to drop the current animation system in favor of pure CSS animations and can significantly simplify the XHR code which doesn&#8217;t do the straightforward thing to avoid terrible memory leaks on IE and very old versions of FF.</p>
<p>All of this points to where we <em>could</em> be if the browsers just got collectively awesome all of a sudden. That&#8217;s the good news. The downside is that still leaves a lot of janktastic spec mistakes to be worked around at nearly every level of the platform. This experiment suggests that there is still a price to be paid just to get the platform to a usable state. If we look at the APIs of Dojo, Prototype, or jQuery as a set of suggestions for the APIs that the web <em>should</em> expose, then it becomes pretty clear that we&#8217;ve still got a long long way to go. But we can do at least 30% better in the short run, and I&#8217;m very glad of that.</p>
<p>My friends over at <a href="http://www.sitepen.com/blog/2009/01/22/platform-optimization-strategies-for-ajax-toolkits/">SitePen beat me to the punch</a> on <a href="http://bugs.dojotoolkit.org/ticket/8447">my own patches</a>, but that&#8217;s how it goes sometimes. Props to them for that.</p>
]]></content:encoded>
			<wfw:commentRss>http://infrequently.org/2009/01/webkit-mobile/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>The Importance Of Chrome</title>
		<link>http://infrequently.org/2008/09/the-importance-of-chrome/</link>
		<comments>http://infrequently.org/2008/09/the-importance-of-chrome/#comments</comments>
		<pubDate>Mon, 01 Sep 2008 23:28:44 +0000</pubDate>
		<dc:creator>alex</dc:creator>
				<category><![CDATA[dhtml]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[openweb]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[strategy]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://alex.dojotoolkit.org/?p=747</guid>
		<description><![CDATA[The rumors seem to have been true&#8230;the gBrowser is real. And it looks like it will simply be awesome. To my friends who have been toiling on it in deep secrecy for so very long, congratulations. Yes, yes, more to do, blah blah&#8230;screw that. You shipped! Huzzah! So what does Chrome mean for those of [...]]]></description>
			<content:encoded><![CDATA[<p>The rumors seem to have been true&#8230;<a href="http://googleblog.blogspot.com/2008/09/fresh-take-on-browser.html">the gBrowser is real</a>. And it looks like it will simply be awesome. To my friends who have been toiling on it in deep secrecy for so very long, congratulations. Yes, yes, more to do, blah blah&#8230;screw that. You shipped! Huzzah!</p>
<p>So what does Chrome mean for those of us who aren&#8217;t breaking out the champagne? Well, first, it&#8217;s the second sign (after <a href="http://gears.google.com/">Gears</a> and YBP (<a href="http://alex.dojotoolkit.org/2008/06/gears-de-brands-2/">har!</a>)) that the content authors are taking back the web from the &#8220;browser guys&#8221;. I&#8217;ve been fascinated for the last 6 months or so by the strategic mis-alignment which results when both the browsing and authoring experience in the hands of organizations only care about one but not the other. Mozilla gets paid by search-box revenue and users download it because it&#8217;s better for browsing, therefore Mozilla is incented to <a href="http://www.adaptivepath.com/aurora/">build new ways to browse</a>, but their investments in content are somewhat mis-aligned (and, frankly, <a href="http://labs.mozilla.com/">it shows</a>). Google and Yahoo, on the other hand, are critically dependent on the content getting better, so they produce plugins to augment HTML in un-intrusive ways. Chrome crosses over into the browser business <em>from the perspective of content</em>, and it also shows, albeit in a good-ish way. I guess we&#8217;ll need to wait and see how browsing-oriented Chrome gets (e.g., will it sprout an extensions platform &ndash; ala Firefox &ndash; or will the propsect of an ad-blocking plugin for the Google browser make that proposal D.O.A.?).</p>
<p>Regardless of how Chrome evolves as a product, the important question now is: how will it be distributed? The obviously non-evil thing to do is to say &#8220;look, it&#8217;s great, it&#8217;s free&#8221; and hope that the world discovers it on its own thanks to word-of-mouth and/or leverage of the Google brand. Given that Chrome delivers new awesome things which are end-user-visible (some &#8220;end-user-awesome&#8221;, if you will), there&#8217;s some real chance that Chrome can get to roughly Firefox level market-share without breaking too much of a sweat. Not that Firefox&#8217;s market share is anything to really covet, given that MoFo/MoCo have been toiling at it for a decade now. To get real, honest-to-god leverage out of this process, Chrome is going to need something like 60+% market share, and that means changing ingrained user habits. I put the probability of that happening without distribution channel love at roughly bupkis.</p>
<p>Microsoft killed Netscape by bundling the browser with the OS. Apple is <a href="http://marketshare.hitslink.com/report.aspx?sample=15&#038;qprid=22&#038;qpdt=1&#038;qpct=5&#038;qptimeframe=M&#038;qpsp=101&#038;qpnp=12&#038;qprid2=3&#038;qpcustom2=Firefox+3.0">making inroads by bundling</a>. Firefox is even <a href="http://marketshare.hitslink.com/report.aspx?sample=15&#038;qprid=22&#038;qpdt=1&#038;qpct=5&#038;qptimeframe=M&#038;qpsp=101&#038;qpnp=12&#038;qprid2=3&#038;qpcustom2=Firefox+3.0#">getting aggressive</a>. So where does this leave &#8220;don&#8217;t be evil&#8221;? Given the <a href="http://weblogs.java.net/blog/kgh/archive/2005/10/java_se_and_the.html">toolbar promotional deals</a> which Google has cut in the past, I think there&#8217;s some organizational capacity inside the Goog to use the distribution channels they&#8217;ve already created as a way of getting to critical mass. What I don&#8217;t see, though, is a view of how to bring the mission of Gears into alignment with Chrome (or vice versa). They&#8217;re both important, but Chrome is a long-term bet while Gears is the near-future solution. They are not in opposition, but their strategies for gaining leverage over the problems facing content authors are very different.</p>
<p>We need what Gears can offer to every browser <em>right now</em> while Chrome dukes it out for market share on the browsing experience merits. Hopefully, if nothing else, the Chrome installer will add Gears to other browsers on the system that users install Chrome to. Even if they don&#8217;t pick the googly experience for browsing day-to-day, perhaps Chrome can still serve to give new tools to the content-author side of the house. Other browser vendors won&#8217;t do such a thing since they win or loose on an exclusive &#8220;I must replace the other guy&#8221; basis. Here, Google (and by &#8220;Google&#8221;, I mean &#8220;the open web&#8221;) wins either way. Hopefully Google&#8217;s interest in making the content experience better trumps the &#8220;we&#8217;re all browser guys now&#8221; instinct in this case.</p>
<p>We&#8217;ll find out tomorrow, I guess. Here&#8217;s to hoping.</p>
]]></content:encoded>
			<wfw:commentRss>http://infrequently.org/2008/09/the-importance-of-chrome/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>

