Join the DZone community and get the full member experience.Join For Free
internet explorer 8 is our release.
the first beta was pushed out today and it shows huge promise. it's already achieved way more than i would've expected and it's made me hungry for more. if you had bet me that microsoft would be mentioning the phrases "aria", "svg", and "mathml" in their release notes i would've lost.
here are my thoughts on a bunch of the browser features:
a super-fast way of finding elements based upon a css selector. the second browser to implement the selectors api has hit the market (behind a webkit nightly release).
it's important to realize that any selectors here are completely reliant upon the browser's native selector implementation. ie8 is only shooting for css 2.1 support - which means that you really shouldn't be holding your breath for css 3 selectors. as i mentioned previously these blackbox apis are going to be a source of never-ending hair-pulling and struggle going into the future.
html 5 party!
i was hoping for some html 5-compliant features to land - well, hoping isn't the right term, perhaps 'feverishly expecting the worst' is more correct. however we can see that we've been graced with 4 full feature implementations from the spec - fantastic!
html 5: window.location.hash
already supported fairly well by most browsers. modifying
changes the page url and adds the page to the history (allowing for back-button simulation in ajax applications). ie went a step further and broadcasts the
event (the first browser to do so, as far as i know).
html 5: dom storage
a feature that i discussed previously in which data can be persisted in a way that supersedes the use of primitive cookies storage. this has been in firefox since version 2 but is absent from opera and safari.
html 5: postmessage
as i discussed previously postmessage serves as a way of communication across frames with simple text strings. ie 8, opera 9, firefox 3, and webkit nightlies all support this feature - making it the only one with complete browser support.
html 5: offline events
this is an interesting feature for doing cross-domain requests but doesn't appear to conform to the existing cross-site xmlhttprequest work which is in firefox 3. even at that it appears to be quite crude - forfeiting any form of filtering or security controls for a simple boolean "yes/no" header.
seeing this new api concerns me. the cross-site xmlhttprequest work may be in some flux, as some api points are still being hammered down, but it's doubtful that the resolution will end with something identical to what's being described by microsoft.
dom bug fix love
have seen a major overhaul - in short: they now behave like they should and as they do in every other browser. the notorious issue of accessing relative/absolute href/src attributes is also resolved - which is just great. they also saw fit to add hasattribute.
also newly fixed/added:
.ownerdocument- finally we have a unified way of dealing with iframes.
getelementbyidreturns elements by id - only. been such a long time coming, thank goodness.
getattribute("checked")now returns "checked" instead of true.
- <button/> values are actually submitted now, instead of their inner text values.
- dynamically created (or modified) radio buttons are now checkable.
i simultaneously feel both joy and anger in seeing these fixed. happy that they're being released and anger for the fact that i had to struggle through them and that they now consume some portion of my brain.
this is one area that is completely absent from this beta. we are still stuck with ie's
system - no
in sight. i don't know how serious they are about supporting acid3 but it includes a test for
so they may want to consider it extra strongly.
i can partially understand their desire to keep their existing api but i don't understand why they have no interest in, also, adding
, et. al. to complement what's there. i assume it's because they would now have to support concepts like event capturing.
i'm really disappointed with this. this should've been a top priority fix before implementing new psuedo-xhr systems like xdomainrequest.
the ie team has made some big improvements in improving garbage collection issues, memory management, and performance - all of which will be greatly appreciated in everyday applications.
this one completely blew me away. aria is a fantastic specification for empowering web applications with the ability to clearly communicate their intentions to a screen reader. the biggest hurdle with the effort, up until this point, has been the lack of ie support - obviously this will no longer be the case. firefox, ie, and opera all support aria now. webkit doesn't appear to have interest in implementing this feature, which is a real shame.
support for embedding namespaced elements within xhtml is now possible. this means that you can now do inline markup for svg and mathml, amongst others, and have it "just work" (as long as you have their associated plugins installed). it's probably a bit much hoping for native svg support, but i'll take what i can get.
firebug for internet explorer
we finally have a heavily-firebug-inspired tool inside internet explorer. to quote joe hewitt (creator of firebug): "i couldn't be happier that microsoft completely copied firebug for ie8." i have to agree - a tool like this has been a long time coming and it's greatly appreciated. only the internet explorer team would've ever been the ones to build this tool - there's simply too much information here that's unavailable to typical ie extensions.
browser mode toggling
at first glance this feature makes the most sense for seeing if your ie 7 page will work ok in ie 8. in actuality, however, this will end up being very useful for developing a standards-compliant page (in ie 8, ff, safari, opera) and then toggling to see what the result is like in ie 7. this is so much better than the ie 6 to ie 7 jump where you have to keep your browser in a virtual machine in order for it to run side-by-side (according to microsoft, at least - even though there were standalone solutions).
the internet explorer team is collecting feedback from select beta testers and publishing the bugs on a publicly-accessible site. this a huge step in the right direction (going from no communication to some is great). "common" users are forced to vote for their "favorite" bugs to try and catch the eye of an ie developer. it's a strange situation but one that shows progress, at least.
in all i'm positive about this release, even with all the ups-and-downs. seeing features like queryselector, aria, and postmessage helps to warm my frosty, bitter, heart. while there's still some major faux-paus in this release (no new js langauge features?, no w3c events?, no css3 selectors?) i think we can, at least, be excited to see what happens in the next beta.
if nothing else the internet explorer team has done a great job of tackling many of the expectations of the development community - if they continue this trend i don't think anyone will be left disappointed.
Published at DZone with permission of John Resig. See the original article here.
Opinions expressed by DZone contributors are their own.