dean.edwards.name/weblog/2005/05/ie7-08/

IE7 version 0.8 (alpha)

IE7 version 0.8 is now available for download. Please read the release notes before upgrading.

For this release, I’ve concentrated on improving performance (I hope that this is very noticeable). I’ve also gone to great lengths to ensure that IE7 is modular and extendable.

Highlights

And quite a bit more. View the IE7 compatibility page for a full feature list. Despite all the new features, IE7 remains pretty lightweight (23KB). This is largely due to the higher compression from my packing software.

I’d like to say thank you to all my regression testers. Any bugs that slipped through their diligent fingers can be reported on the IE7 forum.

This is the last big overhaul of IE7. Subsequent releases will be bug fixes only as IE7 moves towards a beta release.

Comments (27)

Leave a comment

IE 7 Dean Edwards moves his IE 7 script to alpha version 0.8. A fair number of changes for this script, which weighs in at only 28K 23K. Now includes support for :not, overflow: visible, parent > child selectors, [attr=”value”] and so much…

  • Trackback by: Blog-Fu
  • Posted:

Good deal. Now, get crankin’ on the WF2 project!:)

A very deceptive game you are playing. I’m sure you are getting lots of downloads from people that think this is actually IE7.

First of all, this piece of software is a major accomplishment and it requires something I have yet to see here or on the mailing list and that is a big ‘thank you!’ to Dean.

Secondly, in response to the last poster, I’d like to say that Dean named his project “IE7” long before the Microsoft boys got around to deciding to update IE – and they’re still not promising support for any of the stuff that Dean’s “IE7” does now. Dean named it “IE7” as a tongue-in-cheek joke, but this software is no joke. It finally updates IE to conform as closely as possible to 7 year old standards that Microsoft was involved in writing over at the W3C, but somehow never felt was important to support. It’ll be interesting to see how well they do with their IE7 and if we’ll still need “IE7” to use with IE7 (I’m betting that we will).

Oh, and he did it all with JavaScript :-).

Cheers,

– Bill

  • Comment by: William J. Edney
  • Posted:

Yes, Dean, way to go with the IE7 naming thing, confusing poor l33t hax0rs on the Inter-web-thingamajigy.

Dean your naming is great, probably a bitter irony that this package will probably (note the emphasis on probably) make IE more standards compliant than the “official” IE7 version. Good stuff, please keep working on this beast, even when/if the other IE7 is released.

Sorry to nag but could you allow the old Q tag in the comments, since you can do all that fancy before and after stuff, it might look quite nice.

  • Comment by: Tom
  • Posted:

Cool! My first release where I actually did something (albeit very tiny)! I’m honoured to have contributed to such a great project.

I actually have a lot of ideas for IE7, but they’ll have to wait until all my course work is finished (little less than 2 weeks).

The only I can publish right here (since it’s so small) is how to make IE7 pass the Acid2 test (yes I figured out how to do so in a few lines of code!). Try applying the following code to the Acid2 test page. I warn you it’s a bit hacky…

var ie7_acid2 = document.createElement('IMG');
ie7_acid2.src= 'http://webstandards.org/act/acid2/reference.png';
document.body.replaceChild(ie7_acid2, document.getElementById('picture');

Don’t say I didn’t warn you!

  • Comment by: Dante
  • Posted:

Sorry to double dip Dean, but I forgot to mention wrote a simple PHP script to dynamically load IE7 libraries via the script tag. Basically it works like such:

<script type="text/javascript" src="ie7.php?modules=html4,css3,fixed"></script>

The above would load ie7-core.js, ie7-html4.js, ie7-css3.js, and ie7-fixed.js. Putting just ie7.php would load ie7-core.js on its own.

The example is here (note that html4, css3, and fixed are the only modules I have on my server), and the source code is here.

  • Comment by: Dante
  • Posted:

[…] rer 7 Por: Guillermo – hace Enviar por email No quieres esperas más? Aqui tienes IE7 diseñado por Dean Edwards (ahora mismo va por la versión 0.8 alpha. Si decides actualizar […]

Dean, that dynamic attribute selector stuff isn’t actually correct, but you know that probably (not?). It should not work, and it does not in Mozilla (although I would have liked it to work, it makes more sense to me than the current situation).

  • Comment by: Martijn
  • Posted:

Martijn, Yes I realise that it is non-standard behaviour (I say so on the compatibility page). I was actually paid to write this module with the specific instructions that it should also be in the public domain.

I agree too that dynamic attributes make a certain sense. I suggested something similar a few months ago.

  • Comment by: -dean
  • Posted:

Sorry, I didn’t read too closely. By the way, it’s more or less defined that it should not work, here: http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-49531485

  • Comment by: Martijn
  • Posted:

I agree with Dean, but what’s more important to me is the ability to do the following:

– Assume I have: <input id=”myField” type=”text” foo=””/>

– And I have the following rule in CSS: input[foo=”bar”] {background-color: blue}

When, from JavaScript, I do “document.getElementById(‘myField’).setAttribute(‘foo’,’bar’)” that I *dynamically* get the input field’s background now changed to blue. That does work in both browsers (just tested it).

Cheers,

– Bill

  • Comment by: William J. Edney
  • Posted:

Dante, I like your PHP IE7 loader. I’m going to link to it on the IE7 Forum. What else you got?;-)

  • Comment by: -dean
  • Posted:

Martijn, I’m going to leave that demo as it is. I thought of changing it in light of Bill’s comments but this is an edge case. I like the demo as it stands. I coded that sample form when IE7 was in it’s infancy (version 0.4/5) because it was the kind of thing that I wanted to see working in a modern browser. I’m glad that I finally got it working.:-)

If you are interested in real standards-breakers then check out the demos in this page which work in IE7 but do not in any other browser:

http://dean.edwards.name/IE7/compatibility/recalc.html

Your comments are always welcome on my blog.:-)

  • Comment by: -dean
  • Posted:

What else do I have? I have so much more stuff that I’m afraid to show it to you for fear of looking like a geek who has nothing better to do than think about JavaScript and PHP. Which isn’t true of course.

Anne VK also came up with uncannilly similar code to mine for the IE7 Acid2 cheat, independently. Great minds think alike, eh?

IMHO we need a new module: ie7-hacks.js

I’m actually thinking of dynamically loading modules with XMLHttpRequest (I don’t like its ‘other’ name), for events and stuff, eg. dropdowns. Load the module when the user hovers on the dropdown. No use wasting bandwidth if the user isn’t going to to use the menus. Seems too complicated though.

  • Comment by: Dante
  • Posted:

Nice demo! You’re right, Mozilla screws it up quite big time;-) You have every right to do with your (amazing) IE7 to do whatever you want. The first bug in bugzilla was already filed, though;-) https://bugzilla.mozilla.org/show_bug.cgi?id=295657

By the way, some time ago, I made also a getelementsbyselector script some time ago (cssQuery is probably a better name). In case you’re interested: http://wargers.org/scripts/getelementsbyselector/getelementsbyselectortest.htm Some things don’t work in IE6, though. Regexp’s work differently in there (and I’m just too much Mozilla minded, anyway).

  • Comment by: Martijn
  • Posted:

Martijn, I’m not sure if it is a bug or not but I agree with Bill, it would be nice if it worked anyway. The other example should definitely work though.

cssQuery is a better name but you have a much better test suite than me! Mind if I steal it? Usually I steal other people’s code without asking.;-)

  • Comment by: -dean
  • Posted:

Sure, steal away. Next time, don’t ask when you’re stealing;-)

  • Comment by: Martijn
  • Posted:

Usually I steal other people’s code without asking.

Can you imagine how different the web would be if everyone asked to use other people’s code? Seriously, just think about it…

  • Comment by: Dante
  • Posted:

On a small scale, you make my life a lot easier.:)

  • Comment by: ACJ
  • Posted:

In response to Dante (post #8). May I suggest adding caching to your ie7.php, by simply adding this piece of code? I know this _should_ be improved upon by checking the timestamps of all ie7 module files, but the idea is there. (just touch the ie7.php when you update to a newer ie7 version).

  // Handle http caching
  $uFile = filectime(__FILE__);

  header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");    // Date in the past (for HTTP1.0)
  header("Cache-Control: public, must-revalidate");
  header("Last-Modified: " . gmdate("D, d M Y H:i:s", $uFile) . " GMT");

  if(isset($_SERVER['HTTP_IF_MODIFIED_SINCE']))
  {
    $uReq = strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']);
    if($uFile <= $uReq)
    {
      header("HTTP/1.1 304 Not Modified"); 
      die();
    }
  }
  • Comment by: Jannes
  • Posted:

IE7 Beta 1: The Vultures Fly High At last, Internet Explorer 7 Beta 1 and Windows Vista are out and about. An MSDN subscription or invitation is required to play, and I am a grateful recipient of the latter. Now what? How about “Attack of the…

  • Trackback by: Joe's Apt.
  • Posted:

I’m very excited about the new IE7 version 0.8 (alpha) CSS improvements as I just finished a design theme for csszengarden.com You can have a look at http://www.celebrityblog.net/zengarden/zengarden-sample.htm

  • Comment by: Jane Jolin
  • Posted:

At last, Internet Explorer 7 Beta 1 and Windows Vista are out and about. An MSDN subscription or invitation is required to play, and I am a grateful recipient of the latter. Now what? How about “Attack of the…

  • Comment by: Saha
  • Posted:

[…] Олег Бутузов (pejone) wrote,@ 2005-05-24 10:31:00      Current music:Гайдамаки – Богуслав IE8 вийшов http://dean.edwards.name/weblog/2005/05/ie7-08/(Post a new comment)IE7 v 0.8 ilishin 2005-05-24 07:49 am UTC (link) Но всё равно хорошая новость.(Reply to this) (Thread) Re: IE7 v 0.8 pejone 2005-05-24 07:50 am UTC (link) хороша =)))(Reply to this) (Parent) (Thread) Re: IE7 v 0.8 sattu 2005-05-24 07:58 am UTC (link) будем вірити шо стандартизацію в3орг ІЕ7 таки буде тримати нормально.(Reply to this) (Parent) (Thread) Re: IE7 v 0.8 v_z 2005-05-24 08:04 am UTC (link) шота не сильно віриться(Reply to this) (Parent) Re: IE7 v 0.8 pejone 2005-05-24 08:25 am UTC (link) вони тільки на словах герої. але добре що хочаб вже скоровипустять щоб можна було подивитись що воно таке той ІЕ 7(Reply to this) (Parent) […]

[…] mean my proposed (and yet to be written) Browser Helper Object that tucks a supercharged version of Dean Edwards’ IE7 CSS fixer-upper inside IE5/6 and automagically does the right thing. Accent on “yet to be written.” […]

Comments are closed.