7 ms·
IE9 To Support CANVAS Tag (plus VIDEO, AUDIO, and SVG)
- lhorie 16y agoIE9 JavaScript Engine Features Available Support for ES5 specification in IE9 Standards mode, including support for + Enhanced Object Model - Accessor properties for JavaScript objects, Object.defineProperty, Object.defineProperties, Object.create, Object.getPrototypeOf, Object.getOwnPropertyDescriptor, Object.getOwnPropertyDescriptor, Object.keys, Object.seal, Object.freeze, Object.isSealed, Object.isFrozen, Object.preventExtensions, Object.isExtensible + New Array Methods - indexOf, lastIndexOf, forEach, every, some, map, filter, reduce, reduceRight + Other Computational Methods and Functions - String.prototype.trim, Date.prototype.toISOString, Date.parse, Date.now, Array.isArray, Function.prototype.bind This just made my day
- deleted 16y ago[deleted]
- nailer 16y agoWebsockets are still missing though. :^(
- weixiyen 16y agothis sucks, but if they had to leave something out, that would be the one b/c you already get the same effect with long polling & streaming.
- natmaster 16y agoAs awesome as websockets are, websockets are an incredibly volatile standard in very early stages. The only shipping browser to support is (Chrome) does not even conform to the current draft.
- lukifer 16y agoSafari 5 supports WebSockets, and supposedly the nightly builds of Firefox do as well.
- irrelative 16y agoGiven microsoft's history of browser releases, I'd prefer an out-of-date implementation that js libraries can wrap to a wait-and-see approach. It would be better than nothing -- websockets solve an important and annoying problem.
- natmaster 16y agoSo you want another IE6? That's why we were stuck with an incorrect box model implementation. When they implementation that standard before it was finalized, we got years of broken layouts.
- ambition 16y agoThe latest nightlies conform to the latest draft. And Safari 5 supports WebSockets. But yes, it's an annoyingly volatile standard-in-progress.
- Maciek416 16y agoWow, this is a tremendous piece of news. Not only is Canvas supported, but a huge list of other impressive standards-related stuff as well. To boot, there will be support for ES5. I'm not up to date on where the other browser-makers are at this point, but could it actually end up that Microsoft will be the first out of the gate with a widely-distributed ES5 implementation?
- lenni 16y agoIt would be great if Microsoft would start being embarrassed about their current browser offering and develop some ambition to make a great browser. It looks like they're trying.
- ShabbyDoo 16y agoI think they've gone from worrying about the web being a platform on top of Windows which commoditizes it to being worried instead that Windows won't even be a common commodity underneath unless they get their act together.
- WiseWeasel 16y agoOr that everyone will be using competing browsers, at which point they have less tying them to Windows. It also doesn't hurt to worry about making Windows a first-class web use and development platform via a decent first-party browser.
- alttab 16y agoI've hated Microsoft as much as the next guy - but I hope they pull it together. Or more like throw it out. They have the organization and the discipline to do it, but there's too much in Windows as it exists today to fit on current mobile devices effectively. (I could be wrong about that reason, but I'm sure its bloat doesn't help)
- nkassis 16y ago
- cracell 16y agoUnder video "<video> MP4 H.264 playback support, using hardware or software decoding. Support for WebM software is not included in this release." Does that mean that IE9 is planning to support WebM? All I can find is mentions that IE9 can use codecs installed on the users computer but I can't find any commitment to WebM being bundled.
- kenjackson 16y agoI believe WebM is not bundled. It will play it if the user has installed it: http://blogs.msdn.com/b/ie/archive/2010/05/19/another-follow-up-on-html5-video-in-ie9.aspx http://blogs.msdn.com/b/ie/archive/2010/05/19/another-follow...
- chc 16y agoMicrosoft isn't bundling the codec, but they have promised to make IE9 work well with it. Halfhearted support.
- tzs 16y agoThat's called being technically competent, not being halfhearted. Codecs do not belong in browsers. People want video outside of browsers. Should everything that wants to support video have its own built-in copy of every codec? That's bloated. In addition to bloat, if each thing has its own implementation, there will be subtle (and probably not so subtle) differences in them. It will annoy users if their videos look different depending on whether they are in a browser, or they downloaded the file and are playing it in a media player. If the codec has user-setable options, the user has to set their preferences in multiple places.
- chc 16y agoOh, I absolutely agree it should be included with the OS itself, but having it just in the browser is better than not having it at all. We need a standard video format that everyone can use. A standard video tag is worthless without one — you'd be better off sticking with Flash video otherwise. WebM has the chance to be that, but not if the user is required to have already installed it himself.
- kenjackson 16y ago83 on Acid3. That's a pretty nice improvement for a team that says they're not focused on ACID. And Javascript perf actually appears to have improved. This is going to be some browser battle royale.
- mahmud 16y agoNo! Not a battle. A culture of rapid development will be set in motion where users learn to expect frequent browser upgrades to get the latest features, but where all browsers support today's suggested minimums out of the box. People already expect to upgrade TV sets every 2-3 years, and mobile handsets every 1.2 years, to get the latest features, why not browsers? There will be no battle because no single browser has enough market share, both in terms of users and developer loyalty, to create a proprietary technology incompatible with the rest. IE's ActiveX crap is a remnant of an era past, the last vestige of the first dotcom. Since then, the developers have been moving towards the center and adopting standards. Not even ardent FOSS-heads had the stomach to release XUL apps into the wild, even for in-house stuff. Today it's canvas, audio, video, geolocation, storage, etc. tomorrow you can expect some browser accelerated vector/numeric libraries, microphone support, webcam, phone sync, etc. I am not sure what's gonna drive it, but it could either be a portable hardware device, or a game, something that has to do with "having fun" or "friends", but it will push the browser further into desktop territory. The more resources web apps demand, the more browsers "cheat" and speed things up by bundling native hooks to provide that functionality. After blazing fast javascript, my first bet is on GPU accelerated javascript BLAS.
- kenjackson 16y agoIn other words... a battle! :-)
- mahmud 16y agoIt's not a battle if they're being dragged into it. Browser vendors are playing catch up with web developers, and they're running out of breath. All it takes is Facebook or Zynga to standardize on, say, Webkit + Unity3D for the rest to lose. That's not a battle, that's running for your life. There are simply far too many viable options waiting on standby, and eager to step in, for this to be a clash of the titans. The source trees of your average modern browsers are all identical, with the same people working behind the scenes. From a brief experience, I can tell you that Tamarin and Dalvik teams are stealing glances at each other's scantrons ;-)
- jmillikin 16y ago<video> * MP4 H.264 playback support, using hardware or software decoding * Support for WebM software is not included in this release <audio> * MP3 and AAC audio support Somehow, I'm not surprised that Microsoft once again chooses to be different from everybody else. I can encode in Vorbis and Theora/VP8 for Chrome and Firefox, or MP3 and H.264 for IE9, but there's no set of codecs which works on all three major browsers.
- wmf 16y agoMicrosoft, Apple, and Nokia all seem to have the same policy on <video>.
- jmillikin 16y agoThe only browsers which matter are IE, Chrome, and Firefox. The market share of every other browser might as well be a rounding error.
- glhaynes 16y agoYou're ignoring mobile.
- jackfoxy 16y agoiPhone definitely matters. Which means Safari.
- jmillikin 16y agoAccording to W3Counter[1], the iPhone OS has 0.83% market share among web browsers. Even assuming every single user is using the built-in browser, that's less market share than even Opera. So, no, the iPhone does not matter. [1] http://www.w3counter.com/globalstats.php http://www.w3counter.com/globalstats.php
- jackfoxy 16y agoW3Counter is just one way of measuring/estimating general browser usage world wide, with the emphasis on "general". It may or may not be relevant to your business needs. The only way to know is measure what is hitting your site(s). In our case we are now getting 17.2% Safari (and growing); and we don't even intentionally target iPhone.
- zyb09 16y agoYeees <3 you Microsoft, now I just need to wait 3-4 years till IE 6,7 & 8 dies and I can start using canvas.
- drawkbox 16y agoMaybe since they are helping kill off IE6, they will be smart and really be ruthless about keeping people on the latest browser. It is in their own best interest to regain respect. It would be a very effective marketing campaign in the technology/web industries.
- tomjen3 16y agoI believed so until recently, when I started to read about about action script (the stuff behind flash). Action script is very close to javascript, close enough that it ought to be possible to write a crosscompiler so that you can give standards compliant HTML5 to chrome, safari and the mobile browsers and flash to IE and only editions of firefox y (since firefox stupidly does not include Chromes automatic update system).
- harisenbon 16y agoInteresting that you mention that. I haven't played around with it too much, but the guy who (made? works on? is in charge of?) jQuery made a Flash=>JS interpreter. http://paulirish.com/work/gordon/demos/ http://paulirish.com/work/gordon/demos/ It's fairly nifty in the demos that I saw, and works on the iphone with no problem.
- jpatte 16y agoAlso consider haXe: http://haxe.org/ http://haxe.org/ It's an actionscript-inspired unified language which can be compiled into JS, Flash, PHP, C++ or interpreted on (yet another, sic) VM as an apache mod.
- thristian 16y agoActionScript is almost exactly the proposal that Mozilla and Adobe put forward as ECMAScript 4, which was boo'd and veto'd by Microsoft and Yahoo. Hence we now have ECMAScript 5, née "Harmony", née "3.1", which is minimum-viable-upgrade to the current ECMAScript 3 without all the useful things that ActionScript added. While ActionScript is similar to ECMAScript, the standard libraries they work with are very different, and most of the trouble of writing a Flash -> Canvas cross-compiler would be in trying to write an ECMAScript layer that could do what the Flash runtime does in C, with the efficiency of C.
- jufemaiz 16y agoFinally! Those of us poor suckers in enterprise can start doing quality work. Now to build the business case for upgrading legacy apps :\
- jufemaiz 16y agoFurther: curious if this means that the .NET team in charge of ASP.NET are being introduced to far better ways to build web apps (no single form implementation, no mixing ID and Classes between back and front end, ditching the use of session as a "state" store, quality URI patterns etc)
- ttrashh 16y agoAsp.Net MVC for web has everything you just mentioned. The real push is towards Silverlight for web apps.
- jufemaiz 16y agoshudders why run a web app in a movie?
- contextfree 16y agohuh?
- jufemaiz 16y ago"The real push is towards Silverlight for web apps." « shudders at that
- loewenskind 16y agoIn light of HTML5 developments, I think that is a losing strategy in a big way.
- mrkurt 16y agoHardware accelerated canvas is pretty slick.
- bd 16y agoAre you sure about HW acceleration of canvas? I didn't find any mention of this in release notes. I just ran few of my canvas demos in IE9 preview and while being pretty fast, they didn't seem to be HW accelerated. Performance seems to be roughly on the Firefox level, which is less than Chrome and Opera (all current browsers do software rendering AFAIK). Anyways, great news, web just got richer. Now let's start our prayers for WebGL ...
- heyadayo 16y ago"Like all of the graphics in IE9, canvas is hardware accelerated through Windows and the GPU. Hardware accelerated canvas support in IE9 illustrates the power of native HTML5 in a browser." [1] They have a demo linked on that page where I get 1 fps when I run in it chrome. Their screenshot of IE9 running the demo shows 60 fps. I suppose hardware can make a difference, but thats its a really impressive. [1]: http://blogs.msdn.com/b/ie/archive/2010/06/23/html5-native-third-ie9-platform-preview-available-for-developers.aspx http://blogs.msdn.com/b/ie/archive/2010/06/23/html5-native-t...
- equark 16y agoYup. On all the demos they have absolutely trounce Chrome. SVG too.
- lowkey 16y agoThere you go Microsoft, now was that so hard? Now we can all play happily together. I almost forgive you for IE6 .. almost.
- zmmmmm 16y agoThe problem now is that IE8 is going to be the new IE6. Failing to ship IE9 on XP is a huge blow to HTML5 and means all these cool things are going to be a long time coming to those of us who have to cater to as many users as possible.
- DrJokepu 16y agoThe problem was not IE6, the problem was the gap after IE6. It was a pretty decent browser at the time.
- gokhan 16y agoI'll never forgive them for the lack of innovation after they won the browser war back than, against Netscape. Web would be a totally different place if they continue improving IE versions with, say, a built-in DB, native push / sockets, enhanced JS api, more standards, more of everything. (I'm a developer on the MS platform)
- moe 16y agoGood work Microsoft. Welcome to 2008!
- nkassis 16y agoI hope they will in the future support WebGL. I'm building an app using it and would really like them to do so. It's not a deal breaker for us, our user base is mostly scientific users which don't usually mind having to install firefox/chrome/safari if they aren't already using it. With that said, one more browser supporting it can't hurt.
- msie 16y agoAwesome news! I'm shocked... Cross-platform support for cool canvas apps! Maybe this will encourage more canvas development!
- endtime 16y agoGotta give them some respect for including the Opera 10.60 beta, which lowers their position and which they could have been excused for not doing. I am really happy that MSFT is finally taking IE seriously.
- bialecki 16y agoNow I know how the diehard American soccer fans felt, crying after the US beat Algeria.
- BonoboBoner 16y agoCould IE actually become awesome? It certainly looks that way.
- AndyKelley 16y agoI wonder if they'll also fix dictionary implementation to be O(1)* instead of O(n) * actually hash lookups are O(inverse ackerman) but that's kind of silly
- Lorin 16y agoSome amazing additions, the hardware acceleration is nice... but I find it funny that IE still doesn't support text-shadow even though most other browsers have been able to do so for a while. Now that canvas is going to be supported by all the big names, my biggest nightmare is that it becoming a total flash replacement and all the kids using it to make really inappropriate design decisions. It's also really ripe for abuse in so many ways as you can practically design anything within its domain... a certain Stan Lee quote comes to mind :)