Internet Explorer 8 Beta 1 – Changes for Devs
The IE Team have just announced the availability of Beta 1Â of IE8 for developers. You can read more about that on their blog.
Obviously as a web developer, the mind immediately turns to “so, what’s in it for me?”.
Picked up the following points from an MSDN Doc on what’s new for IE8:
- Accessibility
- ActiveX
- Per-Site ActiveX -Â Permission to allow ActiveX controls to run on a site-by-site basis.
- Non-Admin install – Allows non-admin users to install ActiveX controls to their user profiles (no UAC).
- Activities & WebSlices
- Ajax Enhancements
- Ajax Navigation – Allows browser back button to work when doing ajax based navigation.
- XMLHttpRequest Enhancements
- Connection timeout (read/write) property
- ontimeout event
- Max Concurrent Connections default changed from 2 to 6. You can change the registry to get this for current versions of IE.
In IE8, a developer has access to the following JavaScript properties: window.maxConnectionsPerServer and window.maxConnectionsPerServer_01Â (both read only) -
Changed window.navigator.onLine behaviour from being a user-set (File -> Work Offline) global “offline”, to now indicating whether a user is connected to a network.
Also, new events onOffLine and onOnLine. -
Cross Domain Request (XDR) – A new object introduced, XDomainRequest. From the MSDN page – “allow restricted and secure communication between untrusted modules in the page. The browser shields the user from potential threats while allowing powerful cross-site interaction. “
-
Cross Document Messaging based on postMessage. From MSDN Page – “allows cooperative text exchange between untrusted modules from different domains embedded within a page.”
-
-
data:URIÂ - Allows one to embed small data resources (eg: small images). Here’s an example.
-
Floats – Several fixes and hasLayout removed from IE8.
-
Margin Collapsing now complies with CSS2.1
-
New :before, :after and :focus pseudo classes, with associated content attribute. Also see w3c article on CSS 2.1 Generated Content and Selectors.
-
Printing Changes
-
widows attribute
-
CSS Table Layout enhancements.
-
text-decoration now conforms to CSS 2.1.
-
Counters & Numbering – counter-reset, counter-increment.
-
Support for CSS3 Ruby Module. Mainly used for East Asian documents for pronunciation/short annotation purposes. Pretty cool, especially for those asian language learning sites.
-
Additional list-style-type values.
-
-
-
CSS Tool
-
Light-Weight Script Debugger
-
Version Mode switching.
-
-
DOM Storage - aka Client-side session and persistent storage
-
Protected Mode Cookies
-
Tab Isolation & Concurrency – Improves performance/reliability of IE 8. So if a page in one tab hangs, the others are still usable.
Oh, and IE8 Whitepapers.
And finally, for those who want to try IE8 with no risks, you can download a Virtual PC image with IE8 from here.