<?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>Designoplasty Web Design and Development Blog &#187; Web Browsers</title>
	<atom:link href="http://designoplasty.com/tag/web-browsers/feed/" rel="self" type="application/rss+xml" />
	<link>http://designoplasty.com</link>
	<description>HTML, Javascript, PHP, and Me</description>
	<lastBuildDate>Fri, 14 May 2010 01:22:38 +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>Why I Love The Web Standards Acid Tests</title>
		<link>http://designoplasty.com/2009/12/20/why-i-love-the-why-i-love-the-web-standards-acid-tests-acid-tests/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=why-i-love-the-why-i-love-the-web-standards-acid-tests-acid-tests</link>
		<comments>http://designoplasty.com/2009/12/20/why-i-love-the-why-i-love-the-web-standards-acid-tests-acid-tests/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 01:17:54 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Acid Tests]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Web Browsers]]></category>

		<guid isPermaLink="false">http://designoplasty.com/?p=1087</guid>
		<description><![CDATA[I generally design only for the latest browsers. If my code works on the most recent version of Safari, Opera, Firefox, and IE then I&#8217;m happy. However, Internet Explorer is such a piece of crap that sometimes atrocious errors on IE7 give me great pause. (As of this writing IE8 was the current browser.)

I&#8217;ve said [...]]]></description>
			<content:encoded><![CDATA[<p>I generally design only for the latest browsers. If my code works on the most recent version of Safari, Opera, Firefox, and IE then I&#8217;m happy. However, Internet Explorer is such a piece of crap that sometimes atrocious errors on IE7 give me great pause. (As of this writing IE8 was the current browser.)</p>

<p>I&#8217;ve said before that I used to work on Internet Explorer. But when I worked on it IE really was effectively the only browser out there. We actually took compatibility with Netscape very seriously, but then we went way ahead and implemented more features from the standards. The problem is, we made mistakes in those implementations and since there were no other browsers, our mistakes actually became a sort of standard.</p>

<p>But those days are long long gone. Now it&#8217;s far more often the case that my code works &#8220;the first time&#8221; on every browser out there except for Internet Explorer. The other browsers are all more standards compliant by far. They also score better on the Acid Tests, and that&#8217;s why I love the Acid Tests.</p>

<p>When asked, Microsoft will say that the Acid Tests are random, that they aren&#8217;t developed with real world scenarios in mind. There is a great Microspeak term invented at Microsoft: the Acid Tests are a <a href="http://blogs.msdn.com/oldnewthing/archive/2007/05/23/2802893.aspx">forcing function</a>.</p>

<p>A forcing function is a situation or constraint that forces you to make a decision you would not make otherwise. For instance, in my end days at Microsoft, while working on the Windows Presentation Framework, one of the high level managers told me to come up with a plan to implement a feature that I was very outspoken about not implementing. I was given a week (I think) before presenting this plan to a group of all the highest level managers in our group. They were very sneaky saying that they didn&#8217;t necessarily want to implement it but if we did, how would we do it? The idea was to get me to do the work under false pretenses, then they would force me to put it in the product since it was already done. While talking about this later, the term <cite>forcing function</cite> came up, I hadn&#8217;t heard it before that. That situation was one of the nails on the coffin of my relationship with Microsoft.</p>

<p>Now that I&#8217;ve finished with my Microsoft story, I&#8217;ll say that learning the term was the best part of the experience because it describes that kind of situation very concisely.</p>

<blockquote>
  <p>The snakes were the forcing function that made me decide to mow my lawn on a regular basis.</p>
  <p>If you decide to go live on the 10th, that&#8217;s going to be a forcing function for about five other required sub-projects and your bill is going to be a little higher than usual.</p>
</blockquote>

<p>So Microsoft, it&#8217;s time to take your own medicine. We don&#8217;t care if you don&#8217;t think the Acid Tests represent real world scenarios. The truth is, fixing these bugs to pass these tests will actually and truthfully make your browser better. All the other browsers have proven it&#8217;s quite possible. You&#8217;re not protesting, as I was, out of a belief that the forcing function will make you do the wrong thing. You&#8217;re protesting because you&#8217;re incapable of actually fixing your browser.</p>

<p>Microsoft, please get out of the browser business and make everyone&#8217;s life easier. I&#8217;m tired of waiting for you to figure out how to write software.</p>

]]></content:encoded>
			<wfw:commentRss>http://designoplasty.com/2009/12/20/why-i-love-the-why-i-love-the-web-standards-acid-tests-acid-tests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing my Mac Gamma from 1.8 to 2.2</title>
		<link>http://designoplasty.com/2009/08/07/changing-my-mac-gamma-from-1-8-to-2-2/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=changing-my-mac-gamma-from-1-8-to-2-2</link>
		<comments>http://designoplasty.com/2009/08/07/changing-my-mac-gamma-from-1-8-to-2-2/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 23:27:19 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Apple Inc.]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Web Browsers]]></category>

		<guid isPermaLink="false">http://designoplasty.com/?p=832</guid>
		<description><![CDATA[I was tired of creating theme images on my Mac that came out murky on the PC. I went to look at a theme on the PC and it looked horrible. I had to retouch all the images I had spent so long creating in Photoshop. With Snow Leopard, Apple is moving to a gamma [...]]]></description>
			<content:encoded><![CDATA[<p>I was tired of creating theme images on my Mac that came out murky on the PC. I went to look at a theme on the PC and it looked horrible. I had to retouch all the images I had spent so long creating in <a href="http://www.amazon.com/dp/B001EUIVZG/?tag=designoplasty-20">Photoshop</a>. With <a href="http://www.amazon.com/dp/B001AMHWP8/?tag=designoplasty-20">Snow Leopard</a>, Apple is moving to a gamma of 2.2 anyway, so given my issues it didn&#8217;t make sense to wait.</p>

<p>For those people using Macs with the gamma still set to 1.8, I&#8217;m happier with them getting brighter slightly washed out images than PC users getting murky, dirty looking images. Eventually all the Mac users will be at 2.2 anyway.</p>

<p>One thing I was really happy about was that <a href="http://www.amazon.com/dp/B0014X5XEK/?tag=designoplasty-20">iPhoto</a> images are not affected. They look the same with either gamma because of the use of color profiles. I wish the web would get the whole color profiles situation under control.</p>]]></content:encoded>
			<wfw:commentRss>http://designoplasty.com/2009/08/07/changing-my-mac-gamma-from-1-8-to-2-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working with the Selected Text in a TextArea Using JavaScript</title>
		<link>http://designoplasty.com/2009/07/31/working-with-the-selected-text-in-a-textarea-using-javascript/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=working-with-the-selected-text-in-a-textarea-using-javascript</link>
		<comments>http://designoplasty.com/2009/07/31/working-with-the-selected-text-in-a-textarea-using-javascript/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 05:18:30 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Web Browsers]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://designoplasty.com/?p=822</guid>
		<description><![CDATA[Fueling my hatred of Internet Exporer, today I had to process this code. This function is based on Alex King&#8217;s work which has been adopted by WordPress. I adjusted his function to allow me to easily place tags around the selected text in a textarea.

I find it so horribly annoying that this bit of code [...]]]></description>
			<content:encoded><![CDATA[<p>Fueling my hatred of Internet Exporer, today I had to process this code. This function is based on Alex King&#8217;s <a href="http://alexking.org/projects/js-quicktags">work</a> which has been adopted by WordPress. I adjusted his function to allow me to easily place tags <em>around</em> the selected text in a textarea.</p>

<p>I find it so horribly annoying that this bit of code is not standardized. As I search I&#8217;m not even quite sure who would standardize it. I don&#8217;t know if the API is part of the ECMAScript standard. But it needs to be a part of some standard and then tested in the ACID4 test.</p>

<p>Anyway, this is the code you&#8217;re looking for if you want to wrap an html tag around some selected text in a textarea. I use it in a WordPress plugin that creates a box on the edit post admin screen to allow that plugin to wrap bits of text with html code. I use Safari for development and the code works just fine in that browser.</p>

<pre><code>function selectionSurround(element_id, before, after)
{
    var element = document.getElementById(element_id);
    
    if (document.selection) 
    {
        //IE support
        
        element.focus();
        sel = document.selection.createRange();
        sel.text = before + sel.text + after;
    }
    else if (element.selectionStart || element.selectionStart == '0') 
    {
        //MOZILLA/NETSCAPE support
        
        var startPos = element.selectionStart;
        var endPos = element.selectionEnd;
        element.value = 
              element.value.substring(0, startPos)
            + before
            + element.value.substring(startPos, endPos)
            + after
            + element.value.substring(endPos, element.value.length);
    } 
    else
    {
        element.value += myValue;
    }
}
</code></pre>]]></content:encoded>
			<wfw:commentRss>http://designoplasty.com/2009/07/31/working-with-the-selected-text-in-a-textarea-using-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 3.0.8 Security Update Released</title>
		<link>http://designoplasty.com/2009/03/27/firefox-308-security-update-released/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=firefox-308-security-update-released</link>
		<comments>http://designoplasty.com/2009/03/27/firefox-308-security-update-released/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 02:35:26 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Standards]]></category>
		<category><![CDATA[Web Browsers]]></category>

		<guid isPermaLink="false">http://designoplasty.com/?p=386</guid>
		<description><![CDATA[

Firefox has released a security update. Firefox isn&#8217;t my primary browser, that&#8217;s Safari, so sometimes I feel like there&#8217;s a security update available every time I open Firefox or Opera.

Of course I test on them, though. I like that there are multiple browsers now, it&#8217;s a much healthier community. And they&#8217;re all better than Internet [...]]]></description>
			<content:encoded><![CDATA[<img src="http://photos.smugmug.com/photos/500185408_KAXwy-L.png" class="floatright" style="width: 256px; height: 256px;" alt="Firefox Icon" />

<p>Firefox has released a <a href="http://blog.mozilla.com/blog/2009/03/27/firefox-308-security-release-now-available/">security update</a>. Firefox isn&#8217;t my primary browser, that&#8217;s Safari, so sometimes I feel like there&#8217;s a security update available every time I open Firefox or Opera.</p>

<p>Of course I test on them, though. I like that there are multiple browsers now, it&#8217;s a much healthier community. And they&#8217;re all better than Internet Explorer. Open source also seems to really work for browsers. I think any time you need to conform to standards, your product should be open source. If there&#8217;s predefined work that people can do for free, by all means, allow them to do it! I wonder if Microsoft is aware of that concept?</p>

<p>One thing I would like is for Firefox to render form elements, such as text inputs, the same as other browsers. Firefox adds some space around them that&#8217;s not styleable, so firefox inputs are always a couple of pixels bigger than they are in other browsers.</p>]]></content:encoded>
			<wfw:commentRss>http://designoplasty.com/2009/03/27/firefox-308-security-update-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safari 4 Web Inspector</title>
		<link>http://designoplasty.com/2009/03/09/safari-4-web-inspector/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=safari-4-web-inspector</link>
		<comments>http://designoplasty.com/2009/03/09/safari-4-web-inspector/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 18:49:58 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Apple Inc.]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Web Browsers]]></category>
		<category><![CDATA[Web Inspector]]></category>

		<guid isPermaLink="false">http://designoplasty.com/?p=274</guid>
		<description><![CDATA[Safari 4 has a new web inspector. I talk about my favorite new features.]]></description>
			<content:encoded><![CDATA[<img src="http://photos.smugmug.com/photos/488211365_k4wwD-M.png" class="floatright" style="width: 600px; height: 348px;" alt="Safari 4 Web Inspector" />

<p>I&#8217;ve always relied heavily on the Safari web inspector. It&#8217;s indispensable for getting a clear view of what&#8217;s going on for both a page&#8217;s layout, and its CSS calculation process. I can&#8217;t imagine trying to do web work without it.</p>

<p>The great improvements in Safari 4 really help out:</p>

<ul>
  <li>Mousing over an element in the inspector causes a translucent blue rectangle to cover the element, there are different shades of blue indicating border and padding. I love that.</li>
  <li>The inspector now docks in the bottom of the window by default. In general this is a better place for it.</li>
  <li>The sub panes are now resizable. In the old inspector you couldn&#8217;t make the css properties window wider, which would cut off the values at times.</li>
  <li>Viewing images now works correctly. There were lots of bugs in this before. And now you can drag an image out onto your desktop as you would expect.</li>
</ul>

<p>It&#8217;s made me very happy. I&#8217;m sure there&#8217;s much more I&#8217;ll discover as I continue to work with Safari 4.</p>]]></content:encoded>
			<wfw:commentRss>http://designoplasty.com/2009/03/09/safari-4-web-inspector/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safari 4 Tabs</title>
		<link>http://designoplasty.com/2009/03/06/safari-4-tabs/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=safari-4-tabs</link>
		<comments>http://designoplasty.com/2009/03/06/safari-4-tabs/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 00:13:15 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Apple Inc.]]></category>
		<category><![CDATA[Mac Software]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Web Browsers]]></category>

		<guid isPermaLink="false">http://designoplasty.com/?p=221</guid>
		<description><![CDATA[I like the new Safari 4 tabs. So should you. Here's why.]]></description>
			<content:encoded><![CDATA[<img src="http://photos.smugmug.com/photos/486307664_xrnab-L.png" alt="Safari 4 Web Browser Tabs" class="floatright" style="width: 512px; height: 512px;" />

<p>There are a number of people complaining about the tabs in Safari 4 being at the top of the window. Well, I like them at the top of the window.</p>

<p>I like the extra space, and the truth is that space is basically wasted otherwise. I think people just don&#8217;t handle change well. You wouldn&#8217;t think something like browser tabs would create a &#8220;Who Moved My Cheese?&#8221; moment for so many people, but it does.</p>

<p>When I worked at Microsoft this was always an issue. People would freak out if you changed stuff, even if you made it better. So Microsoft, being lame, would either not change, or kind of try to do both, but do both poorly. This is why Vista sucked. This is why there are now both alt-tab and windows-tab that basically do the same thing.</p>

<p>People don&#8217;t realize it, but they created Vista. Their own resistance to change creates all sorts of problems in their life. I&#8217;m glad Apple is willing to change, it means hopefully it will take longer for their products to become crap. If you are one of these people who whines whenever the user interface changes, or you cry every time a new OS is released and isn&#8217;t exactly the same as the last OS, you are the problem.</p>

<p>So write your scripts and do whatever you can to run from change. But eventually, change is gonna get you, so maybe just start learning to deal with it.</p>]]></content:encoded>
			<wfw:commentRss>http://designoplasty.com/2009/03/06/safari-4-tabs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Safari 4, Add Bookmark For These Tabs</title>
		<link>http://designoplasty.com/2009/02/26/safari-4-add-bookmark-for-these-tabs/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=safari-4-add-bookmark-for-these-tabs</link>
		<comments>http://designoplasty.com/2009/02/26/safari-4-add-bookmark-for-these-tabs/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 05:00:22 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Web Browsers]]></category>

		<guid isPermaLink="false">http://designoplasty.com/?p=178</guid>
		<description><![CDATA[One other new feature I love in Safari 4 is the menu item Bookmarks &#62; Add Bookmark For These Tabs. It&#8217;s awesome. So often I have a group of tabs open that are helping me with a project or some research that I&#8217;m going to need again. I would never bookmark these before because I [...]]]></description>
			<content:encoded><![CDATA[<p>One other new feature I love in Safari 4 is the menu item <i>Bookmarks</i> &gt; <i>Add Bookmark For These Tabs</i>. It&#8217;s awesome. So often I have a group of tabs open that are helping me with a project or some research that I&#8217;m going to need again. I would never bookmark these before because I would never remember that they were related and it would take forever to recreate that situation. Now it&#8217;s as easy as <i>Add Bookmark For These Tabs</i>.</p>

<p>I just used it to save four pages on how to get mysql to start on boot for OS X Leopard. They are all basically the same, but I&#8217;m not doing it right now and want all of them for reference when I actually do it.</p>

<p>Web browsers are a very personal thing. I just like Safari, it feels right to me.</p>]]></content:encoded>
			<wfw:commentRss>http://designoplasty.com/2009/02/26/safari-4-add-bookmark-for-these-tabs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safari 4</title>
		<link>http://designoplasty.com/2009/02/25/safari-4/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=safari-4</link>
		<comments>http://designoplasty.com/2009/02/25/safari-4/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 22:48:14 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Web Browsers]]></category>

		<guid isPermaLink="false">http://designoplasty.com/?p=174</guid>
		<description><![CDATA[So far I am liking Safari 4. 1Password even has an automatic download already that works with it. This is essential.

One thing I notice though is that sometimes it gets hung up when trying to load a page, right at the beginning before you get any information. It&#8217;s going to be interesting to see what [...]]]></description>
			<content:encoded><![CDATA[<p>So far I am liking <a href="http://www.apple.com/safari/whats-new.html">Safari 4</a>. <a href="http://agilewebsolutions.com/products/1Password">1Password</a> even has an automatic download already that works with it. This is essential.</p>

<p>One thing I notice though is that sometimes it gets hung up when trying to load a page, right at the beginning before you get any information. It&#8217;s going to be interesting to see what kind of pressure these modern browsers put on Windows users to switch from Internet Explorer. There are four browsers now that are significantly better than Internet Explorer: Safari, Chrome, Opera, and Firefox. Businesses are bound to start making the switch sometime soon.</p>]]></content:encoded>
			<wfw:commentRss>http://designoplasty.com/2009/02/25/safari-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safari 4 Full Page Zoom</title>
		<link>http://designoplasty.com/2009/02/24/safari-4-full-page-zoom/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=safari-4-full-page-zoom</link>
		<comments>http://designoplasty.com/2009/02/24/safari-4-full-page-zoom/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 19:47:53 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Apple Inc.]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Web Browsers]]></category>

		<guid isPermaLink="false">http://designoplasty.com/?p=167</guid>
		<description><![CDATA[Safari 4 finally has the feature I&#8217;ve been wanting for years. Full page zoom! This zooms the whole page equally, essentially the images get larger at the same resolution but the text gets larger and crisper. Most importantly a website retains its layout.

When using a laptop that is actually on your lap, the text is [...]]]></description>
			<content:encoded><![CDATA[<p>Safari 4 finally has the feature I&#8217;ve been wanting for years. Full page zoom! This zooms the whole page equally, essentially the images get larger at the same resolution but the text gets larger and crisper. Most importantly a website retains its layout.</p>

<p>When using a laptop that is actually on your lap, the text is never big enough to read comfortably. You can read it, it&#8217;s just a pain. Now with full page zoom I can zoom the text without losing the feel of the web page. I have tried the text zoom on browsers in the past, but it usually just messes up the web sites.</p>

<p>Safari 4!</p>

<img src="http://photos.smugmug.com/photos/480068795_YUeWw-L.png" style="width: 480px; height: 250px; display: block; margin: 20px 0px;" alt="Safari Full Page Zoom" />
]]></content:encoded>
			<wfw:commentRss>http://designoplasty.com/2009/02/24/safari-4-full-page-zoom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
