<?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>San Bei Ji &#187; browsers</title>
	<atom:link href="http://www.sanbeiji.com/archives/tag/browsers/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sanbeiji.com</link>
	<description>三杯雞好吃!</description>
	<lastBuildDate>Wed, 18 Jan 2012 17:57:21 +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>When Can I Use posts a usage table</title>
		<link>http://www.sanbeiji.com/archives/1276</link>
		<comments>http://www.sanbeiji.com/archives/1276#comments</comments>
		<pubDate>Mon, 19 Sep 2011 15:50:19 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=1276</guid>
		<description><![CDATA[When Can I Use has posted a nice browser usage table, which includes mobile browsers and a breakdown by browser version. Compared with the browser market share analysis at Wikipedia, the numbers do line up quite well for the major &#8230; <a href="http://www.sanbeiji.com/archives/1276">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.sanbeiji.com%252Farchives%252F1276%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22When%20Can%20I%20Use%20posts%20a%20usage%20table%22%20%7D);"></div>
<p>When Can I Use has posted a nice <a href='http://caniuse.com/usage_table.php'>browser usage table</a>, which includes mobile browsers and a breakdown by browser version. Compared with the <a href="http://en.wikipedia.org/wiki/Browser_market_share">browser market share analysis at Wikipedia</a>, the numbers do line up quite well for the major categories, although there are some interesting discrepancies when you get down into the weeds.</p>
<p>I love looking at statistics and seeing what jumps out at you. What I see from these numbers today, here in September of 2011, is this:</p>
<ul>
<li>IE is only 39% of browser market share now. Remember ten years ago? Yeah, times have changed.</li>
<li>Chrome is doing quite well. It&#8217;s going to overtake Firefox at this rate. 21% &#8211; that&#8217;s amazing.</li>
<li>Going by the When Can I Use analysis, if you combine Chrome, Safari, iOS, and Android, you have about 29% market share for WebKit browsers.</li>
<li>If these trends continue, and I see every indication that they will, Google Chrome will become the dominant browser platform sometime in the first half of 2012.</li>
</ul>
<p>Fascinating. I&#8217;m going to need to make more popcorn.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/1276/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>In defense of the vendor prefix</title>
		<link>http://www.sanbeiji.com/archives/1090</link>
		<comments>http://www.sanbeiji.com/archives/1090#comments</comments>
		<pubDate>Mon, 22 Mar 2010 17:39:33 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=1090</guid>
		<description><![CDATA[PPK has written a thoughtful post titled CSS vendor prefixes considered harmful, and in it he outlines the case of why browser vendors should cease use of the vendor prefix condition. I sympathize with the case, but the very opening &#8230; <a href="http://www.sanbeiji.com/archives/1090">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.sanbeiji.com%252Farchives%252F1090%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22In%20defense%20of%20the%20vendor%20prefix%22%20%7D);"></div>
<p>PPK has written a thoughtful post titled <a href="http://www.quirksmode.org/blog/archives/2010/03/css_vendor_pref.html">CSS vendor prefixes considered harmful</a>, and in it he outlines the case of why browser vendors should cease use of the vendor prefix condition.</p>
<p>I sympathize with the case, but the very opening example we have a problem: <code>border-radius</code>. When varying corner values are involved, vendor implementation consistency breaks down:<br />
<code><br />
-webkit-border-top-left-radius: 10px;<br />
-webkit-border-top-right-radius: 30px;<br />
-webkit-border-bottom-right-radius: 40px;<br />
-webkit-border-bottom-left-radius: 20px;<br />
-moz-border-radius-topleft: 10px;<br />
-moz-border-radius-topright: 30px;<br />
-moz-border-radius-bottomright: 40px;<br />
-moz-border-radius-bottomleft: 20px;<br />
border-top-left-radius: 10px;<br />
border-top-right-radius: 30px;<br />
border-bottom-right-radius: 40px;<br />
border-bottom-left-radius: 20px;<br />
</code></p>
<p>I&#8217;d say vendor prefixes are an unfortunate but necessary construct until things are a bit more solidified &#8211; at the very least between browser vendors, and ultimately as written in a W3C recommendation.</p>
<p>What I think is important though is that developers do include the expected latest draft code of CSS3 at the end of their declaration blocks. Shipping code, both from the vendor perspective as well as the web developer perspective speaks volumes. If IE is going to drop vendor prefixes and is going with the latest draft examples, then good on &#8216;em.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/1090/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Waxing Firefox, Waning IE</title>
		<link>http://www.sanbeiji.com/archives/978</link>
		<comments>http://www.sanbeiji.com/archives/978#comments</comments>
		<pubDate>Sat, 03 Jan 2009 03:16:45 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=978</guid>
		<description><![CDATA[IE continues it&#8217;s downward spiral as the browser dips below 69% at the expense of Firefox and the WebKit-powered duo of Apple Safari and Google Chrome. The breakdown as paraphrased by TG Daily: Net Applications released updated global browser market &#8230; <a href="http://www.sanbeiji.com/archives/978">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.sanbeiji.com%252Farchives%252F978%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Waxing%20Firefox%2C%20Waning%20IE%22%20%7D);"></div>
<p>IE continues it&#8217;s downward spiral as the browser <a href="http://www.tgdaily.com/html_tmp/content-view-40800-113.html" title >dips below 69%</a> at the expense of Firefox and the WebKit-powered duo of Apple Safari and Google Chrome. The breakdown as paraphrased by TG Daily:</p>
<blockquote><p>Net Applications released updated <a href="http://marketshare.hitslink.com/report.aspx?qprid=0" title="Market share for browsers, operating systems and search engines">global browser market share</a> numbers today, indicating that IE is losing users at an accelerated pace. The browser’s share dropped from 69.77% in November to 68.15% in December. Most rivals were able to pick up a portion of what IE surrendered. Firefox gained more than half a point and ended up at 21.34%, Safari approaches the next big hurdle with 7.93% and Chrome came in at 1.04%, the first time Google was able to cross the 1% mark. Opera remained stable 0.71%, but it is clear that the Norwegian browser cannot attract any users IE loses.</p></blockquote>
<p>This is no surprise. Taking into account the seasonal fluctuation towards home users in December which point to higher &#8220;non-corporate&#8221; platforms and browsers, this is still a landmark statistic and shows that if the gradual decline continues, 60% and 50% are not that far off in the future. As the trend for Firefox and WebKit to rise at the expense of IE has been continuing for some time now. What surprises me are a couple of things though, specifically:</p>
<ol>
<li>The rate at which IE is losing overall market share: While I predicted a decline in market share over the long term, I didn&#8217;t think I&#8217;d ever see it declining at the rate it is currently declining on a month to month average. It just <em>seems</em> steep to me.</li>
<li>Opera adoption: I thought that more people would pick up Opera &#8211; at least I thought they&#8217;d have 2 or 3 percent by now. They are by far the most deployed browser on the mobile web, but nobody knows it really because they could care less what browser is being activated from their baked-up phone UI, and it&#8217;s unlikely that they use it much (which is the fault of the phone vendors &#8211; Opera Mobile by itself is great.) I like Opera. It&#8217;s not my default browsaer, but I find myself using it from time to time for certain things. Certainly for <a href="http://twitter.com/sanbeiji/status/1091780846" title="Twitter / Joe Lewis: finds it wrong that most o ...">print</a> and <a href="http://www.opera.com/browser/tutorials/operashow/" title="Opera: Tutorial - Opera Show">presentations</a>, and also it&#8217;s handy mobile web dev in Small Screen mode.</li>
</ol>
<p>I wonder how much of those Safari numbers are being driven from iPhone and iPod Touch users? What is also interesting in these metrics is the inclusion of Google&#8217;s <a href="http://www.google.com/chrome" title="Google Chrome - Download a new browser">Chrome</a> browser, which again is based on the WebKit core that Safari is founded upon. Chrome broke 1%, and at the same time they have begun recommending against IE and in favor of Firefox and Chrome for Google Gmail users. This is an interesting coup attempt to grab their Gmail base still floundering on IE6, and it is even more noteworthy that IE7 was not mentioned as an alternative. I am betting Chrome will be a major contender a year from now, and the overall WebKit market share might even approach Firefox&#8217;s levels. What is probably safe to predict is that IE will continue to lose out to Firefox and WebKit-based browsers and I would not be surprised at this point if the rate of increase in adoption of alternative browsers began to accelerate in 2009 towards these platforms.</p>
<p>It is nice to see strong lines of diversity returning to the browser market. The benefit will be for better browsers and stronger support overall for web standards.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/978/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The madness of screens vs. browsers on the mobile web</title>
		<link>http://www.sanbeiji.com/archives/969</link>
		<comments>http://www.sanbeiji.com/archives/969#comments</comments>
		<pubDate>Mon, 29 Dec 2008 06:10:41 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=969</guid>
		<description><![CDATA[This evening as I was doing some research on mobile web development, I got myself on a tear about the wild differences we face as web developers regarding screen sizes and default browser installations, and came up with this: Make &#8230; <a href="http://www.sanbeiji.com/archives/969">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.sanbeiji.com%252Farchives%252F969%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22The%20madness%20of%20screens%20vs.%20browsers%20on%20the%20mobile%20web%22%20%7D);"></div>
<p>This evening as I was doing some research on mobile web development, I got myself on a tear about the wild differences we face as web developers regarding screen sizes and default browser installations, and came up with this:</p>
<table summary="Table listing make, model, resolution, and default browser engine for mobile phone devices.">
<tr>
<th>Make</th>
<th>Model</th>
<th>Resolution</th>
<th>Default Browser Engine*</th>
</tr>
<tr>
<td>Amazon</td>
<td>Kindle</td>
<td>600 x 800</td>
<td>NetFront</td>
</tr>
<tr>
<td>Apple</td>
<td>iPhone</td>
<td>480 x 320</td>
<td>WebKit</td>
</tr>
<tr>
<td>Apple</td>
<td>iPod Touch</td>
<td>480 x 320</td>
<td>WebKit</td>
</tr>
<tr>
<td>BenQ</td>
<td>M315</td>
<td>128 x 128</td>
<td>Opera</td>
</tr>
<tr>
<td>HTC</td>
<td>G1</td>
<td>320 x 480</td>
<td>WebKit</td>
</tr>
<tr>
<td>Kyocera</td>
<td>Mako S4000</td>
<td>128 x 160</td>
<td>Openwave</td>
</tr>
<tr>
<td>Motorola</td>
<td>Hint QA30</td>
<td>320 x 240</td>
<td>Openwave</td>
</tr>
<tr>
<td>Motorola</td>
<td>Krave ZN4</td>
<td>240 x 400</td>
<td>Openwave</td>
</tr>
<tr>
<td>Motorola</td>
<td>KRZR K1</td>
<td>176 x 220</td>
<td>Opera</td>
</tr>
<tr>
<td>Motorola</td>
<td>RAZR V3</td>
<td>176 x 220</td>
<td>Opera</td>
</tr>
<tr>
<td>Motorola</td>
<td>ROKR E2</td>
<td>240 x 320</td>
<td>Opera</td>
</tr>
<tr>
<td>Motorola</td>
<td>SLVR L7</td>
<td>176 x 220</td>
<td>Opera</td>
</tr>
<tr>
<td>Motorola</td>
<td>V980</td>
<td>176 x 220</td>
<td>Opera</td>
</tr>
<tr>
<td>Motorola</td>
<td>VE240</td>
<td>128 x 128</td>
<td>Openwave</td>
</tr>
<tr>
<td>Motorola</td>
<td>ZINE ZN5</td>
<td>240 x 320</td>
<td>WebKit</td>
</tr>
<tr>
<td>Nokia</td>
<td>6300</td>
<td>240 x 320</td>
<td>Opera</td>
</tr>
<tr>
<td>Nokia</td>
<td>2605 Mirage</td>
<td>128 x 160</td>
<td>Openwave</td>
</tr>
<tr>
<td>Nokia</td>
<td>N81</td>
<td>240 x 320</td>
<td>WebKit</td>
</tr>
<tr>
<td>Nokia</td>
<td>N810</td>
<td>800 x 480</td>
<td>Gecko</td>
</tr>
<tr>
<td>Nokia</td>
<td>N82</td>
<td>240 x 320</td>
<td>WebKit</td>
</tr>
<tr>
<td>Nokia</td>
<td>N95</td>
<td>240 x 320</td>
<td>WebKit</td>
</tr>
<tr>
<td>Nokia</td>
<td>N96</td>
<td>240 x 320</td>
<td>WebKit</td>
</tr>
<tr>
<td>Palm</td>
<td>Centro</td>
<td>320 x 320</td>
<td>NetFront</td>
</tr>
<tr>
<td>Palm</td>
<td>Treo 680</td>
<td>320 x 320</td>
<td>NetFront</td>
</tr>
<tr>
<td>Palm</td>
<td>Treo 750</td>
<td>240 x 240</td>
<td>Internet Explorer</td>
</tr>
<tr>
<td>Palm</td>
<td>Treo 755p</td>
<td>320 x 320</td>
<td>NetFront</td>
</tr>
<tr>
<td>Palm</td>
<td>Treo 800w</td>
<td>320 x 320</td>
<td>Internet Explorer</td>
</tr>
<tr>
<td>Palm</td>
<td>Treo Pro</td>
<td>320 x 320</td>
<td>Internet Explorer</td>
</tr>
<tr>
<td>RIM</td>
<td>Blackberry Bold</td>
<td>480 x 360</td>
<td>Blackberry Browser</td>
</tr>
<tr>
<td>RIM</td>
<td>Blackberry Pearl</td>
<td>240 x 320 </td>
<td>Blackberry Browser</td>
</tr>
<tr>
<td>RIM</td>
<td>Blackberry Storm</td>
<td>480 x 360</td>
<td>Blackberry Browser</td>
</tr>
<tr>
<td>Samsung</td>
<td>Behold T919</td>
<td>240 x 400</td>
<td>NetFront</td>
</tr>
<tr>
<td>Samsung</td>
<td>BlackJack SGH-i607</td>
<td>240 x 320</td>
<td>Internet Explorer</td>
</tr>
<tr>
<td>Samsung</td>
<td>Epix i907</td>
<td>320 x 320</td>
<td>Internet Explorer</td>
</tr>
<tr>
<td>Samsung</td>
<td>Eternity SGH-A867</td>
<td>240 x 400</td>
<td>Openwave</td>
</tr>
<tr>
<td>Samsung</td>
<td>Highnote M630</td>
<td>176 x 220</td>
<td>Polaris</td>
</tr>
<tr>
<td>Samsung</td>
<td>Omina i910</td>
<td>240 x 400</td>
<td>Internet Explorer &amp; Opera</td>
</tr>
<tr>
<td>Samsung</td>
<td>Rant M540</td>
<td>176 x 220</td>
<td>Polaris</td>
</tr>
<tr>
<td>Samsung</td>
<td>Rugby A837</td>
<td>176 x 220</td>
<td>NetFront</td>
</tr>
<tr>
<td>Samsung</td>
<td>Saga i770</td>
<td>320 x 320</td>
<td>Internet Explorer &amp; Opera</td>
</tr>
<tr>
<td>Samsung</td>
<td>SPH-Z400</td>
<td>176 x 220</td>
<td>Obigo</td>
</tr>
<tr>
<td>Siemens</td>
<td>SX66</td>
<td>240 x 320</td>
<td>Internet Explorer</td>
</tr>
<tr>
<td>Sonim</td>
<td>XP3</td>
<td>128 x 160</td>
<td>Opera</td>
</tr>
<tr>
<td>Sony Ericsson</td>
<td>C702a</td>
<td>240 x 320</td>
<td>NetFront</td>
</tr>
<tr>
<td>Sony Ericsson</td>
<td>C905a</td>
<td>240 x 320</td>
<td>NetFront</td>
</tr>
<tr>
<td>Sony Ericsson</td>
<td>TM506</td>
<td>240 x 320</td>
<td>NetFront</td>
</tr>
<tr>
<td>Sony Ericsson</td>
<td>W595a</td>
<td>240 x 320</td>
<td>NetFront</td>
</tr>
<tr>
<td>Sony Ericsson</td>
<td>W760</td>
<td>240 x 320</td>
<td>NetFront</td>
</tr>
<tr>
<td>Sony Ericsson</td>
<td>X1</td>
<td>800 X 480</td>
<td>Internet Explorer &amp; Opera</td>
</tr>
</table>
<p><em>*Some service providers will opt to use a different browser than the ones listed here.</em></p>
<p>It is interesting to note the diversity on these fronts. Screen sizes are all over the map, and the browsers here are not the usual suspects we see on the desktop. As for browsers, while it is certainly possible on many of these platforms to install a different browser (Opera being the usual choice), most users don&#8217;t bother. Regardless, Opera is the dominant player in this space, with significant marketshare owned by all the other actors on the mobile stage. As I research this topic, the WebKit engine proves to be the vast trendsetter and it is interesting to see how many platforms besides the iPhone are picking this one up. And trends show that this landscape is evolving rapidly as mobile capabilities increase and users begin surfing the web on their mobile devices with greater and greater frequency. <a href="http://www.abiresearch.com/press/1299-As+Mobile+Web+Usage+Explodes%2C+Full-Featured+Browsers+on+Smartphones+See+Strongest+Growth" title="As Mobile Web Usage Explodes, Full-Featured Browsers on Smartphones See Strongest Growth | Press Release | ABI Research">ABI Research sees</a> web browser installations on smartphones expanding from 130 million in 2008 to 530 million by 2013. The mobile web is a vastly unexplored frontier in web design and we should start seeing more and more attention getting paid to this aspect of the online world.</p>
<p><em>Update:</em> Amazon Kindle&#8217;s Basic Web is based on NetFront &#8211; table updated to reflect this.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/969/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The woes of CSS color in print typography</title>
		<link>http://www.sanbeiji.com/archives/953</link>
		<comments>http://www.sanbeiji.com/archives/953#comments</comments>
		<pubDate>Mon, 08 Dec 2008 04:57:21 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[typography]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=953</guid>
		<description><![CDATA[As I was working through some documentation on styling CSS for print recently, I came across an oddity. Colors that I was specifying in my print styles were not getting represented properly at print time. Specify a nice shade of &#8230; <a href="http://www.sanbeiji.com/archives/953">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.sanbeiji.com%252Farchives%252F953%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22The%20woes%20of%20CSS%20color%20in%20print%20typography%22%20%7D);"></div>
<p><a href="http://www.flickr.com/photos/sanbeiji/406392716/" title="Smoking Room/Prayer Room by sanbeiji, on Flickr"><img src="http://farm1.static.flickr.com/186/406392716_a2e4e12ccf_m.jpg" alt="Smoking Room/Prayer Room" class="right" /></a></p>
<p>As I was working through some documentation on styling CSS for print recently, I came across an oddity. Colors that I was specifying in my print styles were not getting represented properly at print time. Specify a nice shade of gray for some text? Maybe want to ghost print something very lightly on the printed page. No &#8211; not in Firefox. In fact, any shade of gray comes out as black in Gecko browsers. This behavior is only slightly more intelligent in Safari and IE7, but in all cases the user agent makes an assumption about what color of text constitutes being &#8220;too light&#8221; and then defaults to a darker shade of pale that is handled inconsistently across the various browsers. Printing font colors appears to be a messy situation.</p>
<p>Now the reason why the browser vendors have made this assumption is clear: Printing light text on what is almost always white paper is largely unreadable. Furthermore, printing in pure black, devoid of any complex color mixing, can make printing much faster, because the printer doesn&#8217;t have to mix in any red, green, or blue ink and can focus on getting the task done. But what is maddening to the designer trying to achieve accurate color representation in print from their web pages is that all of the major browsers assume that they are smarter than the designer, and recolor the text based on their own inconsistent algorithms. Actually, that may be assuming a bit much on the part of the browsers &#8211; sometimes the results defy logic. </p>
<p>To investigate further, I created a <a href="http://sanbeiji.com/tests/textcolor.php" title="Print CSS Text Color Test">testing page</a>. This page runs through some of the various color gamuts and creates a list entry for a number of color variations. The results are surprising&#8230; Here are some findings:</p>
<ul>
<li>
<p>Safari 3: Between rgb(0,0,0) and rgb(107,107,107), things appear fine. But then there is a breakdown between rgb(108,108,108) and rgb(127,127,127) where the text will randomly jump to a light gray &#8211; equivalent of rgb(199,199,199). For lack of a better term, I call this area &#8220;The Dead Zone,&#8221; and we will see it again soon. At rgb(128,128,128), the text color then jumps to black and as you ascend the values towards an expected white color, Safari yields a progressive amount of additional lightness to the text until it finally winds up at around rgb(171,171,171) where it should be 255 for all values.</p>
<p>The Dead Zone also occurs in the red, green, and blue colorspaces. If you fix red at 127, about halfway between the minimum value of 0 and the maximum value of 255, we get a dead zone between rgb(127,100,100) and rgb(127,127,127). Same ratios happen starting at rgb(100,127,100), and at rgb(100,100,127).</p>
<p>Finally, Safari renders rgb(0,255,255), rgb(255,0,255), and rgb(255,255,0) inconsistently from their adjacent color values.</p>
</li>
<li>
<p>Gecko browsers such as Firefox, Camino, and Flock print the entire gray space in black. (Exception: Firefox 3 will actually print the color exactly right &#8211; see below.) You cannot specify a light gray such as rgb(127,127,127) or anything else. It will always default to pure black whether you like it or not. If you fix a color bucket at 0, you will get semi-accurate color for the rest of the gamut, but the other color combinations will trend towards black text the lighter it gets.</p>
</li>
<li>
<p>In Opera 9, gray shades render accurately up until rgb(185,185,185), and then higher values default to black. In the points tested, the same conversion to black happens after values higher than rgb(127,211,211), rgb(255,156,156), rgb(87,255,255), rgb(209,209,0), rgb(193,193,127), and rgb(177,177,255).</p>
</li>
<li>
<p>IE7 never gets any lighter than rgb(108,104,102) for grayscale, and the rest of the color spaces don&#8217;t seem to allow anything lighter than a midrange hue equivalent to around 110 for any given value.</p>
</li>
<li>
<p>One last thing about Gecko browsers: The marker (the little bullet to the left of each list item) will display the correct color value in print, even though the text itself won&#8217;t match! Underlines/Overlines/strikethrough will match whatever color the text is though. So at least here you can see what the color was <em>supposed</em> to be&#8230;</p>
</li>
<li>
<p>The exception as mentioned above is Firefox 3. Firefox 3 has been tested to print the colors exactly as you see them on screen, and is the only browser thus far that works this way in a predictable manner.</p>
</li>
</ul>
<p>The conclusion I draw from all of this is that color in CSS print typography is woefully inconsistent, and I do recommend defaulting to black text in most cases simply because it is so problematic to predict what color you will actually wind up with in print. If you need color, go with a darker shade and <a href="http://sanbeiji.com/tests/textcolor.php" title="Print CSS Text Color Test">test your print output</a> in the four major modern browsers (IE, Safari, Firefox, Opera) to see what you can get away with.</p>
<p>Please feel free to <a href="http://sanbeiji.com/tests/textcolor.php" title="Print CSS Text Color Test">try the test suite for yourself</a> and let me know your findings in the comments or via a pingback. </p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/953/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Browser Joy</title>
		<link>http://www.sanbeiji.com/archives/869</link>
		<comments>http://www.sanbeiji.com/archives/869#comments</comments>
		<pubDate>Wed, 18 Jun 2008 03:43:31 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/archives/869</guid>
		<description><![CDATA[Downloaded Firefox Three Point Oh this evening and I must say I&#8217;m impressed. Last check was a few beta revisions ago, and this is much improved in the one area I am most concerned with: stability. I have been running &#8230; <a href="http://www.sanbeiji.com/archives/869">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.sanbeiji.com%252Farchives%252F869%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Browser%20Joy%22%20%7D);"></div>
<p>Downloaded <a href="http://www.mozilla.com/">Firefox Three Point Oh</a> this evening and I must say I&#8217;m impressed. Last check was a few beta revisions ago, and this is much improved in the one area I am most concerned with: stability. I have been running it all evening and she&#8217;s been perfectly stable so far.</p>
<p>PPK has posted a <a href="http://www.quirksmode.org/blog/archives/2008/06/quick_browser_n.html">quick roundup</a> of the current browser state of affairs today. Seems we have beta 2 of IE8 due out in August, which is good because I don&#8217;t want to deal with it until then. <img src='http://www.sanbeiji.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  Of course Firefox 3 is out and looking fabulous, and a Firefox 3.1 alpha is now available with alleged full CSS3 selector support. Safari 4 is a developer preview, and Opera 9.5 is already live.</p>
<p>So the great news is, things are not stagnant &#8211; things are moving forward at a lovely clip. IE6 is soon to be ancient history &#8211; two revisions old &#8211; and the rest of the browser market is vibrant and embracing standards and innovating on coolness all around.</p>
<p>Gruber has noted that when you hit the Firefox 3 page you get a <a href="http://www.flickr.com/photos/gruber/2587856391/">comparison with Safari</a> if you&#8217;re on Mac, and other users seem to be getting the <a href="http://www.flickr.com/photos/bz/2588385467/">IE to FF comparison</a>. </p>
<p>Most of my essential plugins are working great. There is a Firebug 1.1 beta available on the <a href="http://getfirebug.com/releases/">releases page</a> if you&#8217;re missing that. <a href="http://www.scribefire.com/">ScribeFire</a> and the <a href="http://del.icio.us/help/firefox/extensionnew">del.icio.us</a> plugins seem to be fine and really the del.icio.us plugin wins in the most improved category. Still no<a href="http://users.skynet.be/mgueury/mozilla/download.html"> HTML Validator</a> yet for Mac, but I&#8217;ll be watching the skies on that one&#8230;</p>
<p>OK back to to practicing&#8230;</p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/869/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Flock</title>
		<link>http://www.sanbeiji.com/archives/831</link>
		<comments>http://www.sanbeiji.com/archives/831#comments</comments>
		<pubDate>Thu, 29 Nov 2007 01:12:16 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Flock]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/archives/831</guid>
		<description><![CDATA[Thanks to @mrsnap and @bikracer for turning me on to Flock. It seems to like my favorite web developer extensions, namely the Web Developer Toolbar and Firebug, and the social network features are a bonus. I was getting bummed out &#8230; <a href="http://www.sanbeiji.com/archives/831">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.sanbeiji.com%252Farchives%252F831%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Flock%22%20%7D);"></div>
<p>Thanks to <a href="http://twitter.com/mrsnap">@mrsnap</a> and <a href="http://twitter.com/bikracer">@bikracer</a> for turning me on to <a href="http://www.flock.com/">Flock</a>. It seems to like my favorite web developer extensions, namely the <a href="http://chrispederick.com/work/web-developer/">Web Developer Toolbar</a> and <a href="http://www.getfirebug.com/">Firebug</a>, and the social network features are a bonus. I was getting bummed out by Firefox&#8217;s incessant crashing, and this browser seems faster, more stable, and has some really interesting features. The user interface is a bit cluttered, although I&#8217;m doing it no favors by adding so much cruft on top of it, but other than that it seems pretty fun to use so far.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/831/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.sanbeiji.com @ 2012-02-12 02:13:30 -->
