378 points · by etaty · 15y ago · 173 comments
And while I agree with the article that IE9 is still very lacking, I also just went through making the application I'm working on IE9 compliant including rounded corners and shadows plus some CSS transformations. Here's the steps I had to do:
1) don't load IE specific CSS hacks
2) don't load IE specific JS hacks
3) ?
there was no step 3.
So if you are not using all the latest and greatest features in HTML5, but try using the essentials, you will get a very good experience while trying to make stuff work in IE9: The features it has seem to work correctly for a change and it has enough features to be useful in many webapps.
Of course it's still far away from being cutting-edge in feature support, but at least the usual crap of "try to open an existing website in a new IE version: see barely any page rendered until you add a ton of hacks" has gone.
Now, if IE9 would actually run on the (still) most-used operating system (Windows XP), I would be really happy as I could tell people to get a very good experience by just upgrading their browsers (as opposed to switching browser brand).
Yea, it is unlikely any more rendering modes are needed, because IE9's standard mode finally deserves the name.
The Number constructor is supposed to call ToNumber on its parameter, which is supposed to return NaN if it can't parse StringNumericLiterals, which would be the case with "".
I think the confusion came from "" being treated as "false" in JavaScript, and Number is supposed to return 0 if it isn't given a parameter. I could imagine the code in the Number constructor looking like this for non-IE browsers:
if (param)
num = ToNumber(param)
else
num = 0
whereas in IE, it probably looks more like this: if (param != undefined)
num = ToInteger(param)
else
num = 0They need to implement strict js mode in IE9. That mode really set some good rules on some weird js behaviors.
Firstly, neither IE 9 nor Firefox 4 has been released, and neither HTML5 nor CSS3 is a standard, nor will either be for several years at a minimum. The entire argument in this post boils down to not liking one experimental piece of software over another because the author's personal preferences for experimental features are not supported.
Secondly, when it comes to performance, IE has been getting better with every version while Firefox has been getting worse. If you want to talk about modern browsers in a useful way, instead of about bleeding edge features that no-one will be using on mainstream web sites for a while anyway, consider that Firefox is the only one of the major browsers that does not handle each tab independently, leading to obvious performance and security problems.
Thirdly, the trend for Google and now apparently Mozilla to release updates every few weeks is not necessarily a good thing. The major advantage is supposedly that it allows browsers to develop faster, but as any Linux advocate can tell you, it's no good having a great platform if no-one is building great stuff on top of it. For developers, automated updates every few weeks are often unhelpful, because you're always trying to test against a moving target. When you have to deal with inconvenient realities like contracts and customer approvals on major projects, it's now almost impossible to include testing against Chrome and soon Firefox because you don't even have a stable version to use as a basis for tests. I have no problem with pushing security patches more regularly, but they shouldn't be changing functionality and obviously Microsoft does this for IE anyway.
Maybe I'm just weird, but I consider issues like performance, reliability, and having a stable foundation to build on to be far more important than supporting your own browser's take on some hypothetical future "standard", which is just IE vs. Netscape all over again. On that basis, IE is currently the only one of the big three that is actually going in the right direction. It's just a shame they're not providing it on XP.
and your continuous dismissal of new web technology as "hypothetical / experimental" and talking about when html5 will become a w3c standard shows a complete lack of understanding as to how the web + browser development works to an extent that its really hard to not see irony in this comment calling the OP a troll
I respectfully disgaree. New Chrome releases have broken both cosmetics (rounded corners, just as the CSS3 version was starting to take off) and basic functionality (H.264 support for the HTML5 video element is disappearing in about five weeks, even though it's there and basically working today, as far as I can tell for purely political reasons).
By the way, the word "performant" is real but does not mean what you think it does. Even if it did, I think you'd still be overstating the case. Chrome is probably faster than Firefox and IE in some respects today, particularly where JavaScript is concerned, but the gap has been closing for some time now. Once IE 9 and Firefox 4 are out, it looks unlikely that Chrome will still be significantly faster for typical real world browsing, which as I've noted previously, I consider to be more important than things like synthetic benchmarks or the speed of features no-one is using yet.
h264 was a conscious choice, nothing "broke", I dont know which rounded corner issue you are referring to, it certainly isnt "broken" and remember you are referring to features which do not yet exist in any release of ie
I can tell you what its market penetration will be in 3 years: less than 0.1%. IE6 could learn from this.
It has been a good... forever since MS has been a proper team player when it came to working well with websites that run on all other browsers with minimal modification.
This is closer than we've ever ever been in the past to having a remotely sane reality.
So pretty please, with sugar on top, fix the fucking browser.
Google and Mozilla are committed to security. Microsoft is too, and that is why they postponed the ending of support. It will be a chaotic world if Microsoft stops releasing security fixes to XP when it still has a big market share and allows malwares, botnets, etc. to be installed and propagated easily.
So pretty please, with sugar on top, stop making flippant demands for multi-billion-dollar companies to do things you don't fully understand the implications of.
Also, it's not terribly difficult to support more than one drawing API as long as you abstract the drawing code, as is most likely done for Direct2D in Firefox 4.
But now that you mention it, I guess we'll just leave it up to the Other Browsers to put accelerated 2D on XP. They're open source if MS wants to see how they did it.
I understand the sentiment, but I don't think that kind of hyperbole advances the debate in any useful way. Obviously Microsoft are under no legal obligation to support an operating system first released many years ago and when two successors have been out for a while now. It may be commercially sensible for them to do so, but that depends on many other factors beyond the preferences of the web development community.
> Do you know what it's like to target IE8 with a web app that was built for a modern browser?
Yes, I do that for a living, on multiple projects, and so far I have encountered no serious difficulties in doing so. What problem(s) have you found with running "a web app that was built for a modern browser" on IE8?
> It has been a good... forever since MS has been a proper team player when it came to working well with websites that run on all other browsers with minimal modification.
So people often seem to say, yet I find very few portability/compatibility issues with running my web apps on any recent browser. I was surprised to find that in the last problem that did arise, it was actually IE that was compliant and Chrome and Firefox that were implementing non-standard behaviour. And as I noted before, IE is one of the only major browsers that hasn't been playing silly political games with blocking useful video-related technologies lately.
> This is closer than we've ever ever been in the past to having a remotely sane reality.
I guess we just have very different points of view, perhaps born of different real world experiences. In my world in 2011, we are closer than we have been for many years to the hell of IE vs. Netscape, everything working differently in every browser, and having no stable target for development. As I see it, the blame for this lies almost entirely with Mozilla, Google, and to some extent the standards bodies, not with IE.
Just take any project dependent on something on the list in the original article, and implement it on IE9.
But there are also a number of things like rounded corners, transparency, and event handling that are irksome. Thank God for jQuery. Seriously.
> As I see it, the blame for this lies almost entirely with Mozilla, Google, and to some extent the standards bodies, not with IE.
Different experiences, I guess. The last major web app I wrote (last year) ran on Safari, Chrome, and Firefox, on Windows, Mac, and Linux. No browser detection was required. IE8 and below were simply too feature-poor to even begin to run it (start with missing canvas, and work from there). Maybe no IE9-specific code will be required to run it--we'll see.
When I read your last sentence, though, I see "the problem is with everyone else, not IE". And that's definitely one perspective.
Go on ... I've come across this once before several years ago but would be interested to know the details of this?
It's not within Microsoft's strategy of planned obsolescence. For their continued survival they need people buying newer versions of the same software.
"It's more than a shame Microsoft's not providing IE9 on XP. It's positively criminal. Do you know what it's like to target IE8 with a web app that was built for a modern browser? And XP has 60% of the market!"
Considering that, within the UK, IE7.0 is the most popular choice of browser out of the IE range, followed by IE6.0.
So supporting IE8 needs a small fraction of the time needed to support IE7 and IE6. Fixing IE8.0 isn't going to significantly reduce support time and cost. (Juxtaposing that with the XP market share figure of 60%...).
Thank goodness for progressive enhancement.
Fast speed-up happens in developmental builds. There's more to improve than in a finely-tuned end-product that you can't change significantly. And apparently you haven't compared FF 4 to 3 on the same machine. Page-rendering and especially JavaScript are significantly faster on 4. Start-up seems to be slower though, yes; I gather that's partly because they don't intend to optimize it much until the release version.
I'll take moving targets that net-improve with backwards compatibility over years and years of non-change, though I'll admit a) I'm not running a business on this opinion, and b) others may disagree. Web development is extremely highly paced right now, being stuck for years is complete and utter death.
Out of curiosity: what's the "right direction" you think IE is taking? Stability over incremental updates? Or something else?
Well, yes, I am in favour of a certain level of stability over lightning-fast development. No-one who is actually developing web sites can use all the bleeding edge stuff the day it's released anyway, and releasing functionality changes every few weeks just means yet another round of reading release notes and blog posts to make sure nothing is about to break. I would far rather have a new version released, say, every 1-2 years, with a clearly defined set of new major features, and with every major browser implementing those new features at roughly the same time and in the same way. This is, after all, the point of standards. (Security patches can be released ASAP of course, but shouldn't change any functionality anyway.)
More than that stability, though, I feel that the IE team is focussing on better support for important technologies that are out there right now and experienced by real people and not just geeks and web designers who like the shiny new toys. For example, while Google, Adobe, Apple, and Mozilla are having a big pissing match and actively dropping support for various things, IE will be happily running Flash, H.264 in an HTML5 video tag, etc.
Along similar lines, recent versions of IE have dramatically improved both JS performance and standards compliance, so most arguments about IE being slow or needing things like CSS hacks are out of date anyway. Moreover, Microsoft have much improved their handling of security issues in recent years, and as I mentioned before, IE has long since moved to running tabs independently. I've been shopping on-line for a lot of networking components recently, and while Firefox has been my default browser for a while, I've been getting awfully tired of waiting around because one of the 20+ tabs I opened to compare products/prices was loading slowly and locking up the whole browser.
Apparently I've gone into super-verbose mode today so I'll stop there. Basically, I do think IE's approach to releases is more practically useful and sustainable, but I also think the IE team is focussing their efforts on technologies that are in widespread use today, while some of the other browser teams seem more preoccupied with bragging rights about trendy-but-currently-worthless new ideas and politics, neither of which ever did much to help real users trying to get real stuff done.
... mostly because it's not supported in IE. If it was, people would use it.
Progressive enhancement disagrees. OK well maybe not quite but all the new features ...
I've used a few sites in the last couple of days using the new HTML5-ish drag+drop file uploads in the wild (not yet officially released browsers working to not yet officially completed specs).
Your point about the lack of out-of-process tabs is legitimate, but I'm unsure as to how Firefox is getting worse. Could you elaborate? As far as I can tell, Firefox 4 is better than 3.6 in terms of performance on virtually every measure.
Actually, HTML5 will never be a standard (at least not one released by the WHATWG), see: http://www.h-online.com/open/news/item/HTML5-to-become-a-liv...
(Yes, I know that the W3C plans to release an HTML5 standard based on the WHATWG work in several years from now. But based on the current track record of the W3C I predict that this will either fail, or that the standard will be outdated by then.)
1. Text shadow 2. Offline applications 3. Multiple column layout 4. Border images 5. Web workers, File API, Geolocation
A lot of these are in the working draft phase, so I can get the "we don't support any feature where the spec is in draft form" argument from IE. But if they want to play a part with the future of the web, IE needs to stop being boring and actually try to implement some draft features and help contribute to developing these standards.
But the second this happens, I guarantee that people will loudly complain. IE10 comes out with a slew of new features and MS puts them on the docket for standardization. People will say that MS is trying to hijack the web or standards process.
For all the grief MS is getting by being behind, they'd get a lot more grief if they were active and out front w/ respect to features.
All the stuff that Firefox/Chrome/Safari/Opera are doing now is exactly what IE did for it's entire history up to version 6. And really, IE very quickly became the superior browser of the day. But from then on, they appear to only be putting in minimal effort with no innovation.
Well, here's the reality: having each tab in individual process greatly reduces performance and increases memory consumption. When you open many tabs in Chrome or IE they become as slow as FF with perhaps 5-10 times more tabs.
While performance generally isn't a field where FF does a good job, I think reliability of FF is unmatched by other browsers despite the dirty tricks with tabs. Let's just wait 'till they stop losing the list of tabs that were open in the previous session from time to time, it's the thing that did happen to all of them, but never to FF with Session Manager addon.
Really? I use IE 8 at work and opening a new empty tab takes ten seconds. I'd hate to see what it was like in 7.
>> and neither HTML5 nor CSS3 is a standard,
If Microsoft are referring to HTML5, Mozilla should be allowed too.
However, I do try to look at situations objectively and consider the facts, both quantitative and qualitative, and that in an industry that moves this fast, those facts can lead to different conclusions rather quickly. I honestly see Microsoft's current direction for their browser as healthier and more sustainable than that of say Google or Mozilla.
I don't think more frequent releases of new toys or a factor of 5 difference in synthetic benchmarks can trump an emphasis on providing/speeding up core functionality that real users depend on today and tomorrow. Also, so far Microsoft are mostly rising above the silly political games that Apple/Adobe/Google have been playing lately in terms of knocking out functionality for non-technical reasons.
Meanwhile, I have been less impressed with each successive version of Firefox, as performance of the UI slowed, things got moved around or more cluttered, and they didn't keep up with what I regard as essential features in a web app world like running tabs independently.
I have nothing serious against Chrome, except that their release schedule and tendency to break stuff makes my life difficult as a developer. However, I also see little practical advantage in the areas they have been speeding up lately, since they were fast enough even for the web projects I work on that do fairly intensive DOM manipulation and such. As anyone reading my posts here can probably figure out, once functionality is fast enough to use in practice, I am more impressed with making it easy to use, robust, and/or easy to develop than I am with getting another notch up on some benchmark.
You mean like satisfying current internet standards and meeting the draft standards head on to allow browsers to exploit the latest advances in web design and development off the bat rather than having to wait years-and-years and drag back the whole development of the www as a medium.
>Meanwhile, I have been less impressed with each successive version of Firefox, as performance of the UI slowed, things got moved around or more cluttered, and they didn't keep up with what I regard as essential features in a web app world like running tabs independently.
What do you mean by "performance of the UI slowed". You've stated quite clearly that performance is only a factor for you up to the point it is fast enough. So, it seems something in the UI is so slow as to be unusable for you - the UI is pretty much non existent though isn't it. There's an address bar, couple of buttons, search bar - what is significantly slowing you down there? The actual user interfaces save a few niceties (like Chrome's tab closing, optional tabs on top in Chrome/FF/Op, etc.) are pretty similar in their standard forms.
You mention running tabs independently (as independent processes presumably) I didn't know that IE8 did this?
You obviously think Microsoft is doing great by the Internet with IE. Obviously most people hear disagree. Regardless, you cannot say they are in any way leading nor innovating anymore. For the company that made AJAX possible, it is a sad state.
Better browsers get a better experience, IE users continue to reload the full page for each link, and everyone uses the same non-hashbang'ed URL.
Sucks for IE users, but I'll just continue to not give a damn now that it's apparent IE9 won't be improved any more between now and release.
I humbly submit this number must be very low, because fixing a bug in a widely deployed product is not as easy as you believe it is.
For instance maybe fixing the bug in crashie8.com would break a lot of websites relying (indirectly) on that bug.
It's easy to have your very own definition of "modern" and then say "This is not modern, because modern means having a yellow status bar".
Actually when you said that PHP is a modern language I must say that your definition of modern sounded pretty different than mine.
Lastly, I challenge you to find a single currently working crash-the-computer bug in IE9. Crash the tab, yes. Crash the browser, maybe. Crash the computer, very unlikely.
The thing is, web browsers are always going to have to deal with two kinds of people: The malicious and the incompetent. They both write web pages, and neither can be avoided completely.
And, when you get down to it, it's impossible to distinguish sufficiently advanced incompetence from malice. (This sentiment seems quite appropriate when discussing Microsoft's browsers.)
If I were to say anything to the IE team it woud be, "Great job! Now keep going, please."
If trends continue, IE9 might constitute 10% of my total traffic in 2 or 3 years. I 'm not looking forward to supporting yet another quirky MS based browser.
Don't get me wrong, IE9 is certainly a step in the right direction for Microsoft but it still doesn't stack up. Luckily there are a lot fewer hacks needed.
Also, I don't think Microsoft plans on supporting in in IE10. Afraid of the competition with their own tech I guess.
I'm getting all my user to switch to chrome and firefox 4, I haven't gotten a lot of complaint about it. (none actually so far)
I'm still a die-hard fan of Firefox because of all the plugins, but damn I wish everyone were using rendering engines as good as the one in IE9. I hope FF and Chrome will close this gap soon.
If IE stays one rev behind Mozilla in terms of standards conformance, but keeps up the great perf work they're doing then I think that's actually really good. Especially considering where they were coming from.
I've been using IE9 RC (after having to revert IE9 beta -- too many bugs and issues) and it has been near flawless. I'm not sure if its a better browser than Chrome now... but its close enough that I don't miss Chrome.
It looks like WebSockets have issues beyond lack of support in IE. I agree on the rest, but this isn't just MS not supporting them.
For example, look at the source for W3Schools.com. Then use Firebug or curl to look at the headers. That is an HTML page that thinks it's XHTML. The poor thing is addled.
At any rate, we've done without XHTML for quite some time now.
Yea, more precisely the lack of support, which was exactly what I was referring to in the OP. Particularly how it lasted for 11 years after XHTML 1.0 became a recommendation.
Pretty much all browservendors and webdevelopers think this was a bad idea to begin with.
These things were just not there before. Sure the feature set is still somewhat lacking but they are developing at a great pace. At this rate it will soon be a true competitor to the modern browsers.
Even if they did get every conceivable feature implemented for IE9, it would only be current for a short time after the release. It would then sit basically unchanged for a year or more (thus seeming old and outdated) while they work on IE10. Meanwhile Chrome would have put out a ton of new features that are all added a few at a time.
Enterprise users want to be able to say, "Use IE9 to access your expense reports, period". They don't want it to be "Use IE9.0.1.2.1.a or above" or "IE9 shipped before 10/1/2011".
Pushback from the enterprise is probably driving this more than anything else.
They could go to a model where they have a consumer and enterprise branch. And the enterprise branch syns up with the consumer branch on major releases. But that starts to sound a little chaotic (but I think doable).
Every time people bring this up they make it sound like it's a legitimate requirement. It's not, and the cost of supporting a given browser's rolling release schedule in-house at these companies is miniscule compared to the global cost to the web development industry and user productivity of having to support three (possibly four) different versions of IE at any one time.
That's a mighty bold claim to make without any supporting data, given that the maths is so heavily stacked against you.
Suppose a 5,000 person company standardised on Chrome tomorrow and built their key in-house IT systems to support it, as many have with IE over the years. Now suppose that in about five weeks, Google push a breaking change in the new release of Chrome, that takes out some of the organisation's key intranet functionality. What would that company do?
Think quickly, because for every hour that key system is down and all the staff are stopped from working, the company could have hired an extra web developer for an entire year.
I hate to break this to you, but nobody cares about this amorphous global cost to the web dev industry. It's a cost that isn't accounted for and accrues in a uniform way that makes it inactionable.
If MS were to start telling the Fortune 500 companies that it was going to start screwing them over and not supporting old browsers -- IBM would immediately step in and start doing it. MS would lose most of their revenue (guess what, web devs don't generate much revenue for MS) and IBM would become the fastest growing company in the world.
It's just stupid to PO paying customers to help people who whine, but pay nothing.
Internet Explorer is, and always has been the browser that comes with your computer. It works fine, and most regular people will never bother to change it.
Google Chrome is the better browser that your tech-savvy children or friend might install on your machine, and that you'll immediately notice is better in several ways and start using.
Firefox used to hold that 2nd place, but now it's been relegated to "the browser that people who were really passionate about Firefox five years ago still use". It was a great alternative to IE6 back in the day, but its time has come and gone.
How do you support this statement? It looks to me that Firefox still has a significant market share and I don't see it declining. On the contrary, it recently overtook IE in Europe: http://news.ycombinator.com/item?id=2066540
> Internet Explorer is, and always has been the browser that comes with your computer. It works fine, and most regular people will never bother to change it.
Here in Europe Microsoft is compelled by antitrust to let people select a different browser the first time (I don't know if they are already enforcing it though). "It works fine" is of course subjective, but it's true that when people start with it they usually do not bother changing (also because they don't know they can).
> Firefox used to hold that 2nd place, but now it's been relegated to "the browser that people who were really passionate about Firefox five years ago still use".
I don't think so. I see a lot of people still using it on it's merits and not on "passion". Where do you take this statement?
To the casual user, FireFox seems "slow" because it takes 30 seconds to start up when you click its icon. Chrome takes under 5 seconds, and is thus "fast".
Nobody but you and me care about how fast our javascript runs. The FF team is trying to please us, while ignoring the 99% of users who'd prefer to just be able to check their Facebook in the morning without waiting forever.
Mozilla Firefox has been in this situtation before, and things changed.
(How do you move the refresh button to the right of the address bar?)
edit: to elaborate, the principle Chrome seems to work on is responsiveness above all else. I'm not sure responsiveness is the most important barometer for good UX in non-Western cultures. For instance, there's no way I can sacrifice the ability to customize my UI for slightly improved responsiveness.
Example @ http://www.gamenull.com/ :-(
While I love the new stuff being implemented in cutting edge browsers like Firefox, IE9 is a huge step up from IE8. Microsoft had to choose what to implement, and choosing stuff that isn't likely to change soon makes sense for them. We shouldn't be expecting them to implement everything all at once. Here's to more frequent updates to IE that bring these new features once they are more fully developed!
I am not personally familiar with all stuff from MSFT, but I won't take Paul Rouget's trolls into account to make me an objective opinion.
Its absolutely true, and IE9 is now catching up to firefox 3.6 (finally) and ie10 will finally catch up to firefox 4.0 (maybe) in a year. AND the article forgot to mention that FIREFOX - ALL VERSIONS - WORK ON WINDOWS XP, VISTA, 7, MAC OSX, LINUX, UNIX. Which means that if you are a MICROSOFT WINDOWS XP user, you cannot use a Microsoft browser to freaken' browse the modern web, IE8 is the only hope. There is a lot wrong with the state of IE. And technology is only one of those things. Nothing but technology is being addressed though.