Site Compatibility and IE8
Kelson writes "As the release of Internet Explorer 8 approaches, Microsoft's IE Team has published a list of differences between IE7 and IE8, and how to fix code so that it will work on both. Most of the page focuses on IE8 Standards mode, but it also turns out that IE7 compatibility mode isn't quite the same as IE7 itself."
HTML as a standard has been so bastardized over the years that the kind of incompatibilities that the article discusses exist not only across different browsers but also between browser versions.
Maybe it's time to start over. Flash and Java applets seem like a good place to start.
I think you are missing the point of the example given.
Microsoft isn't saying that they didn't implement both window.postMessage and window.addEventListener.
They are saying that if you want to test for the existence of feature A, you check for the existence of feature A and you don't infer its existence by checking for the existence of feature B.
RomSteady - I came, I saw, I tested. GamerTag: RomSteady / http://www.romsteady.net
How about following the standards the rest of the world uses instead?
Habits are hard to break ;)
Jumpstart the tartan drive.
I think you're missing my argument. The assumption that addEventListener should exist if postMessage exists is a good one. Why? Because postMessage relies on addEventListener. However, Microsoft decided that proper DOM support wasn't important to standards compliance, and implemented a bastardized version of the spec.
The example they gave as a solution is actually buggy. The original code checked for cross-document messaging and presumably would have fall-back logic if the feature didn't exist. Microsoft's "corrected" code does not correctly check for cross-document messaging. It simply assumes it exists and registers an event for it. Which is likely to break a lot of truly standards compliant browsers while "fixing" IE8.
Javascript + Nintendo DSi = DSiCade
My websites will block IE8, and a message will pop up telling people to go download Firefox, Opera, or Chrome.
I tried IE8, and it is a pitiful joke. I'm not going to work around it, and Microsoft should realize I'm not gonna jump through hoops just to please their idiotic decisions.
*fully extends third finger in direction of Microsoft*
People, the web is fine for multimedia and information presentation, but why is there this constant push to integrate everything into the web? There's all this crap being tacted onto what constitutes a "web browser" that it's becoming less and less a browser and more and more a platform every day. This is not the direction we want to go right now. A lightweight browser that can present information in a variety of devices is where the web needs to stay: Accessibility is more important than features. HTML, XML, CSS, and maybe some javascript is all the farther anyone needs to go. But then Flash came along and suddenly you've got crap that can't be indexed and is inaccessible to people who are blind or deaf, and increasingly devices like mobile phones which have enough power to do the basics aren't enough because the standards are getting jacked up to the point that we have to cram a laptop's worth of computing resources into a form factor that can fit in your hand, and a battery life of less than a day.
This so-called progress is a step in the wrong direction. We need to work on a set of standards that can be implimented with minimal computational resources, is flexible enough to offer a range of presentation options sufficient for most information (images, text, some video and audio) -- and leave it at that. By extending the web into areas reserved for applications and then trying to do everything at once (cross-platform, intensive computations, entire application suites stuffed into web browsers) we are opening a can of worms that promises to segment the web into a million incompatible methods.
We need to work on making this information as available and accessible as possible, not coming up with fancy new ways to make it inaccessible to larger and larger groups of people in the name of progress.
#fuckbeta #iamslashdot #dicemustdie
Am I missing something here? Why the hell even introduce the idea of "Compatibility View"? That's just pure sloppiness.
Since when was it the browser user's responsibility (or even the browser's) to decide what mode a page should be viewed in? Isn't it the developer's job to tell the browser how to behave, and the browser does so accordingly, in a consistent fashion?
'If Christ had tweeted the sermon on the mount, it might have lasted until nightfall.' - John Perry Barlow
Acid2 isn't a standard. It also isn't a part of the test suite of W3C. Acid3 isn't a standard. It also isn't part of the test suite of W3C. It's a marketing gimmick of Opera and people lap it up like it is more important than real standards work from the W3C. Plus, Acid3 is more about DOM than CSS, and Acid3 tests for features that have not yet been standardized.
You can push for implementation of standards, but to knock someone's products because they haven't implemented DRAFT standard recommendations is just stupid.
And your claims that Microsoft isn't really implementing the CSS 2.1 standard correctly and that they're just "checking a checkbox" don't actually stand up to the test of reality:
http://blogs.msdn.com/ie/archive/2009/01/27/microsoft-submits-thousands-more-css-2-1-tests-to-the-w3c.aspx
Your arguments are a subjective standard, you want to appeal to the W3C for "standards" authority, but then set the bar for judgement to be whatever "people are using" or whatever marketing gimmick "standards" test IE fails and others ALSO fail, just fail less.
Stick to the W3C standard test suites for an actual measure of standards compliance and leave the Acid tests to the fanbois who are out to prove a point. And don't talk about "standards" that are not yet standards.
JAVA: ahead of its time! NOW the things we want to do are what it could have been doing way before Flash could have filled the demand.
Applets were dismissed back when our needs were simple and our computers were slow.
1) Javascript is SLOWER than JAVA! (browser and flash use it)
2) Flash started out as a vector graphics format; now its a Director/HyperCard mess that is moving towards becoming an Applet platform itself. Flash 10 is NOT anywhere near the same as Flash 1. Its not just an animation format.
3) We have battles over JavaScript 2 at ECMA trying to turn JavaScript into a clone of Java and now the browsers are runtime compiling the script-- next will we start seeing pre-compiled javascript bytecode? (Maybe in Flash?)
4) "safe" platform independent access to web cams and audio hardware-- we have people running ARToolkit in FLASH from a webcam in real time! Its not a vector format anymore... its another kind of applet.
5) Java Applets need better integration; they've not progressed since people dismissed them in the 90s. Now its open; we should be trying to integrate it; catch up to where it should have been now if it were not so ahead of its time.
6) Java was designed to take on massive projects; flash and javascript are not. Java Applets should get DOM access so complex web apps can be made without making javascript a rerun of java-- this means tight integration and FASTER startup times. It could be done.
7) New formats can be done using Java without installing client-side plug-ins. Sure, it is not quite as fast and has overhead; these issues can be addressed-- Flash games are not so simple to startup-- its pre-loaded with the browser... and it has built-in loading screens... Java sure beats being unable to access something in Flash 10 when your setup is too old to install Flash 10. JVM is open now; flash is still risky (and crashes my browser more than anything else.)
Democracy Now! - uncensored, anti-establishment news
Amusingly, I never stated that ACID2 and ACID3 were standards. I stated that supporting these tests are a pragmatic approach to optimizing resources for implementing parts of the standards. (The stated purpose of the ACID tests is to promote implementation of standards with immediate applications.)
The truth is that the fine details of the CSS standards are hard for EVERYONE to support. Including Microsoft. No one except Microsoft claims 100% CSS 2.1, because it would be disingenuous to do so. I've only heard that claim (incorrectly) assigned to Microsoft.
This would be a good argument, except for one problem: Microsoft is implementing DRAFT standards while NOT implementing the RECOMMENDED standards they're based on. Want an example? Look up to the top post. Cross Document messaging is not yet recommended, but Microsoft is bound and determined to mis-implement it.
In any case, your argument betrays a misunderstanding of how web standards work. The current approach being used is that standards will not reach a recommended status until at least two successful implementations of the standard exist. The idea is that this will determine if the spec is actually implementable or not. (One of the primary reasons why CSS 1 & 2 are not fully implemented is because the spec was written without implementations. The spec ended up being extremely difficult to implement correctly.)
Now if Microsoft wanted to be the browser that would only implement recommended standards I would be fine with that. But they're not. They're explicitly picking and choosing, being careful to avoid the standards implemented by everyone else. ESPECIALLY the RECOMMENDED standards that would make IE compatible with other browsers.
What is the point of standards compliance if you're explicitly trying not to be compatible?
And that right there is why their standards compliance is a farce. A sick joke that's all about control for Microsoft. It's just sad that people are buying into Microsoft's friendly veiner, all while Microsoft slides the knife even deeper in their backs.
Javascript + Nintendo DSi = DSiCade
We have an online shopping cart system that renders correct in most browsers even going back to MSIE 5. We have a lot of users still browsing the site with IE 6 because of where they work and their lack of ability to install anything else. Still 70%+ of the traffic is MSIE. It renders fine on all platforms with Opera, FireFox, Safari, and Chrome. Even works on most cell phones with a javascript enabled browser including LG phones, Opera Mini, Blackberrys with 4.7 or greater installed, Blackberry storm, android, and of course the iPhone.
But MSIE 8.....the div with the "Add to cart" button doesn't even render. In MSIE 7 compatibility mode, it renders, but it splits the div into two elements on separate sides of the page for no reason that I can find. I am considering redirecting MSIE 8 users to page that says:
"Due to incompatibilities Microsoft creating in MSIE 8, we are unable to support your browser type. Our website will work with previous versions of MSIE or any standards compliant browser such as firefox, opera, safari, or chrome. We recommend you switch to one of these browsers for improved browsing of the internet."
"The problem with socialism is eventually you run out of other people's money" - Thatcher.