<?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>Notes from Phazm &#187; firefox</title>
	<atom:link href="http://www.phazm.com/notes/category/firefox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phazm.com/notes</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 06 May 2010 09:46:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Firefox 3 &amp; Web Developers</title>
		<link>http://www.phazm.com/notes/browser-compatibility/firefox-3-web-developers/</link>
		<comments>http://www.phazm.com/notes/browser-compatibility/firefox-3-web-developers/#comments</comments>
		<pubDate>Wed, 28 Nov 2007 14:10:09 +0000</pubDate>
		<dc:creator>Jon Hughes</dc:creator>
				<category><![CDATA[browser compatibility]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.phazm.com/notes/browser-compatibility/firefox-3-web-developers/</guid>
		<description><![CDATA[
While it pains me to do so, the following warning is needed:
This entry best viewed in Firefox 3
Since Mozilla released the Firefox 3 Beta (Code Name: Minefield) there have been a rash of blog posts regarding the many new features, increased security, and enhanced UI. However, one thing I have yet to see is what [...]]]></description>
			<content:encoded><![CDATA[<img src="/images/blog/ff3/minefield-icon.png" alt="Minefield (Firefox Beta)" class="fr" />
<p><small>While it pains me to do so, the following warning is needed:</small></p>
<p class="alert">This entry best viewed in Firefox 3</p>
<p>Since Mozilla released the Firefox 3 Beta (Code Name: Minefield) there have been a rash of blog posts regarding the many new features, increased security, and enhanced UI. However, one thing I have yet to see is what I am really need to know: how does this affect web developers?</p>
<span id="more-13"></span>
<div class="adunit"><script type="text/javascript"><!--
google_ad_client = "pub-5882049241465959";
google_ui_features = "rc:";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_alternate_ad_url = "?adsensem-benice=468x60";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "A3C088";
google_color_text = "333333";
google_color_url = "";

//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</div>
<p>When I heard that Safari was releasing a PC version of their browser, I was overjoyed... <q>Now I don't need to boot up my Mac to test sites in Safari, right?</q> Well, as we all know, the answer to that very naive assumption is a resounding "Not even close" - We now have just one <strong>more</strong> browser we need to test in. <small>(Note: Safari did clean up its act a bit since release, but it's still not exactly the same as its Mac counterpart, and thus is simply more work.)</small></p>
<p>I had my apprehensions when I heard Firefox was jumping up a full version... I was determined to not make the same foolish mistake twice... So I did my research.</p>
<p>Good news? It passes the <a href="http://www.webstandards.org/files/acid2/test.html" rel="nofollow" title="Acid2 Test">Acid2 test</a>!</p>
<div class="thumbrow"> <a href="/images/blog/ff3/acid-ff2.png" title="Firefox 2 Acid2 Results" rel="lightbox[acid]"><img src="/images/blog/ff3/acid-ff2-th.png" alt="Firefox 2 Acid2 Results" /></a> <a href="/images/blog/ff3/acid-ff3.png" title="Firefox 3 Acid2 Results" rel="lightbox[acid]"><img src="/images/blog/ff3/acid-ff3-th.png" alt="Firefox 3 Acid2 Results" /></a> <a href="/images/blog/ff3/acid-ie7.png" title="Internet Explorer 7 Acid2 Results" rel="lightbox[acid]"><img src="/images/blog/ff3/acid-ie7-th.png" alt="Internet Explorer 7 Acid2 Results" /></a> <span>From left to right: Firefox 2, Firefox 3, Internet Explorer 7. Click for larger image.</span> </div>
<p>Looks like we aren't going to have to test in <em>both</em> Firefox 2 and 3*.</p>
<p><small class="inset">* That is, unless you are using the newly-proprietary/implemented enhancements, such as getElementsByClassName <ins class="bl">ALSO</ins> While it is fantastic that the newest Firefox fixes CSS issues, it's not retroactive, so visitors still using FF2 will still have the same problems as before. I recommend waiting until usage is below 5% to completely phase it out.</small></p>
<p>So, here are what I consider to be the most important things for us Web Designer/Developers to be aware of.</p>
<h3>1) Full-Page Zoom</h3>
<p>This new scaling scales everything on the page (a la Opera and IE7), not just text. I wouldn't say this means that we can stop using em's for text sizing, but it's good to see that accessibility is beginning to become more supported by the software we use, so it isn't dependant on the designer.</p>
<div class="thumbrow">
<a href="/images/blog/ff3/zoom-ff2.gif" title="Firefox 2 Zoom (Animated Gif)" rel="lightbox[zoom]"><img src="/images/blog/ff3/zoom-ff2-th.png" alt="Firefox 2 Zoom" /></a>
<a href="/images/blog/ff3/zoom-ff3.gif" title="Firefox 3 Zoom (Animated Gif)" rel="lightbox[zoom]"><img src="/images/blog/ff3/zoom-ff3-th.png" alt="Firefox 3 Zoom" /></a>
<span>Left: Firefox 2 Zoom, Right: Firefox 3 Zoom. Click for larger image.</span>
</div>
<p>tracker: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=4821">https://bugzilla.mozilla.org/show_bug.cgi?id=4821</a></p>
<h3>2) Animated PNG (APNG) Support</h3>
<p>While I don't look forward to seeing alpha-transparent rotating "Email Me" graphics all over the place like it's 1998 again, I am very pleased to see APNG finally getting implemented. While it wont become a standard for quite a while, it's a step in the right direction. One thing to note is that if your browser does not support APNG (but does support PNG) it will simply render the first frame of the PNG.</p>
<div class="thumbrow" id="apngcontainer">
<img src="/images/blog/ff3/apng-animation.gif" alt="Animated GIF" />
<img src="/images/blog/ff3/apng-animation.png" alt="Animated PNG" />
<span>Left: Animated GIF, Right: Animated PNG<br />
Use the links below to change background color (JavaScript Required)<br />
<!-- Please forgive the obtrusive JS! -->
<a href="javascript:void(0)" title="Swap Color" onclick="document.getElementById('apngcontainer').style.backgroundColor='green'">Green</a> | <a href="javascript:void(0)" title="Swap Color" onclick="document.getElementById('apngcontainer').style.backgroundColor='pink'">Pink</a> | <a href="javascript:void(0)" title="Swap Color" onclick="document.getElementById('apngcontainer').style.backgroundColor='red'">Red</a> | <a href="javascript:void(0)" title="Swap Color" onclick="document.getElementById('apngcontainer').style.backgroundColor='blue'">Blue</a> | <a href="javascript:void(0)" title="Swap Color" onclick="document.getElementById('apngcontainer').style.backgroundColor='black'">Black</a> | <a href="javascript:void(0)" title="Swap Color" onclick="document.getElementById('apngcontainer').style.backgroundColor='orange'">Orange</a> | <a href="javascript:void(0)" title="Swap Color" onclick="document.getElementById('apngcontainer').style.backgroundColor='white'">White</a>
<br />
Image Credits go to http://www.gamani.com/apng.htm</span>
</div>
<p>tracker: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=257197">https://bugzilla.mozilla.org/show_bug.cgi?id=257197</a></p>
<!-- Please fogive the misplaced script tags! -->
<script type="text/javascript">
navigator.registerProtocolHandler('mailto', 'https://mail.google.com/mail?view=cm&#038;tf=0&#038;to=%s', 'Google Mail');
navigator.registerProtocolHandler('validate', 'http://validator.w3.org/check?uri=%s', 'W3C HTML Validation')
</script>
<h3>3) Support for arbitrary protocols</h3>
<p>This will allow you to map protocols such as <a href="mailto:nobody@nowhere.com" title="Test 'mailto' Protocol Handler">mailto:nobody@nowhere.com</a> (Which will use Gmail) or <a href="validate:http://www.phazm.com/" title="Test 'Validate' Protocol Handler">validate:http://www.phazm.com/</a> (Which will use the W3C validation service) to a proprietary handler, which will allow you to select it instead of only using the default.</p>
<div class="thumbrow">
<a href="/images/blog/ff3/handler.png" title="Protocol Handler UI" rel="lightbox"><img src="/images/blog/ff3/handler-th.png" alt="Protocol Handler UI" /></a>
<span>UI for notification/accepting Protocol Handlers. Click for larger image.</span>
</div>
<p>tracker: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=372441">https://bugzilla.mozilla.org/show_bug.cgi?id=372441</a></p>
<h3>4) getElementsByClassName</h3>
<p>This has been available for some time using some frameworks, but now it's in the DOM! Now we will be able to loop through all elements with a specific class on our document. The original specification is in the HTML 5 working draft. (link: http://www.whatwg.org/specs/web-apps/current-work/#getelementsbyclassname).</p>
<p>tracker: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=357450">https://bugzilla.mozilla.org/show_bug.cgi?id=357450</a></p>
<h3>5) Support for offline web apps</h3>
<p>The support has been added to allow web applications to be run offline.  Unfortunately, it will require the apps to accommodate this new system, and thus far, there has been no word from Google saying they intend to code Gmail or any of their other apps to be used offline, but I'm sure it will come in time.</p>
<p>Demo: <a href="http://starkravingfinkle.org/blog/2007/02/firefox-3-offline-app-demo/" rel="nofollow">http://starkravingfinkle.org/blog/2007/02/firefox-3-offline-app-demo/</a><br />tracker: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=367447">https://bugzilla.mozilla.org/show_bug.cgi?id=367447</a></p>
<h3>Other useful additions:</h3>
<h4>Now properly supported:</h4>
<ul>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=18217"><code>display: inline-table</code></a></li>
<li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=9458"><code>display: inline-block</code></a></li>
</ul>
<h4>Added support for:</h4>
<ul>
<li><code>onCut</code></li>
<li><code>onCopy</code></li>
<li><code>onPaste</code></li>
<li><code>onBeforeCut</code></li>
<li><code>onBeforeCopy</code></li>
<li><code>onBeforePaste</code></li>
</ul>
<p>
demo: <a href="https://bugzilla.mozilla.org/attachment.cgi?id=272228">https://bugzilla.mozilla.org/attachment.cgi?id=272228</a><br />
tracker: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=280959">https://bugzilla.mozilla.org/show_bug.cgi?id=280959</a></p>
<h4>contentEditable</h4>
<p>contentEditable allows you to do inline editing of text.</p>
<p>demo: <a href="https://bugzilla.mozilla.org/attachment.cgi?id=157048">https://bugzilla.mozilla.org/attachment.cgi?id=157048</a><br />
tracker: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=237964">https://bugzilla.mozilla.org/show_bug.cgi?id=237964</a></p>
<h4>Resizable=<del>no</del><ins>yes</ins></h4>
<p>With Firefox 3 , the window.open property "resizable=no" is ignored, so all pop up windows will now be resizable.</p>
<p><a href="javascript:void(0)" onclick="window.open('http://www.google.com/', 'Can you resize?','width=100,height=100,resizable=no')">Click here to open a window with resizable=no</a><br />
tracker: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=177838">https://bugzilla.mozilla.org/show_bug.cgi?id=177838</a></p>
<h4>Long Tool tips</h4>
<p>Now, instead of having one huge line for a tool tip, they will wrap over several lines.</p>
<p>To test, hover over <abbr title="This is an intentionally long title attribute, which will wrap in Firefox 3, but not Firefox 2. This will allow you to create exceptionally descriptive alternate text for links and/or images, so you will no longer have any excuse. 'A picture means a thousand words' - I don't know if the tool tip will fit one thousand words, maybe one day I will find out.">this</abbr><br />
tracker: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=218223">https://bugzilla.mozilla.org/show_bug.cgi?id=218223</a></p>
<h4>Printing &amp; Absolute Position</h4>
<p>Containers that span multiple pages and are absolutely positioned will now correctly wrap to the next page instead of just being cut off.</p>
<p>tracker: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=154892">https://bugzilla.mozilla.org/show_bug.cgi?id=154892</a></p>
<h3>A few notes:</h3>
<p>By default, you will not be able to run any extensions that haven't been updated to be used with Firefox 3 . However, if you go into about:config, right click, then go to 'New' =&gt; '<code>Boolean</code>' - Enter, "<code>extensions.checkCompatibility</code>" and hit '<code>OK</code>' then click "<code>false</code>" and restart, you will be able to use the extensions that don't break.<br />
<strong>WARNING:</strong> Some extensions will actually crash Firefox 3, so if that happens, start up in safe mode with all extensions disabled, then either uninstall the extension(s) that are breaking it, or go set checkCompatibility to "true."</p>
<p><small>This is somewhat unrelated, but I don't want to make a new blog entry for it, and it is pretty useful: You can use <a href="https://addons.mozilla.org/en-US/firefox/addon/5972">RAMBack</a> in Firefox 3 to free up a bunch of memory that it uses.</small></p>
<h3>Thanks for listening</h3>
<p>If you found this helpful or informative, I would really appreciate it if you left a comment... it gets so lonely at nights!</p>
<p><small>A <a href="http://digg.com/design/5_Ways_Firefox_3_will_affect_Web_Developers_pics_examples" title="Digg it">digg</a> wouldn't hurt either...</small></p>
<div class="adunit"><script type="text/javascript"><!--
google_ad_client = "pub-5882049241465959";
google_ui_features = "rc:";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "A3C088";
google_color_text = "333333";
google_color_url = "";

//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.phazm.com/notes/browser-compatibility/firefox-3-web-developers/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.189 seconds -->
