Preston L. Bannister { random memes }

2007.12.28

Why IE8 needs HTML 4.02

Filed under: Web, html@w3c — Preston @ 11:21 am

The announcement that the code for IE8 now passes the Acid2 test is a very big deal. We have a strong indication that Internet Explorer 8.0 will offer far stronger support for web standards than prior versions of IE, and perhaps even better compliance that competing browsers.

The folk at Microsoft on the Internet Explorer team have done a great thing. At the same time they now have a problem. The problem comes if the changes in IE disrupt existing web applications. Certainly significant change in IE behavior will disrupt at least some web applications. Given the very wide use of IE, the number of people effected by even a few disrupted applications will be large.

Worth watching is the video from the article IE 8: On the Path to Web Standards Compliance – ACID 2 Test Pass Complete. About 10 minutes in you will hear the IE folk reflecting on the troubles caused by improvements in IE7.

Microsoft needs a way to enable the new more-standards-compliant behavior without risk of disrupting existing applications. The DOCTYPE switch is the existing and best way to enable changes in browser behavior. Web pages written to the most current web standards will use the DOCTYPE:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

These pages by and large work now. Likely the developer had to put in extra effort to make the pages work in IE6. Some of those pages will not work as well when IE8 better implements the HTML 4.01 standard.

In theory what the DOCTYPE was meant to indicate was strict compliance with a particular web standard. In reality what the DOCTYPE invokes is each browser’s approximation of the web standard – at the time. For the majority of the 4.01 pages, this means web developers wrote for IE6.

What web developers need is a DOCTYPE that declares the better approximation as offered by IE8. This has to be a new DOCTYPE. The simplest possible answer is to use:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.02//EN">

Where “HTML 4.02″ simply indicates a better implementation of the HTML 4.01 standard. What the browser vendors will actually do I cannot say, but this is one solution.

2007.12.26

In future…

Filed under: Personal — Preston @ 9:06 am

No matter how much you like the wild Santa Ana winds, leaving any windows open is not a good idea. Especially when wildfire swept through the hills around your home a few months back.

The next day I found a layer of gritty black powder on every horizontal surface. Lots of cleaning followed …

2007.12.06

From my daughter’s last soccer game

Filed under: Images, Personal — Preston @ 9:48 am

My daughter was goalie for the first half of the game. This shot was coming in high, fast and centered on the goal – too high catch or block, but low enough to go in. Looked like a certain goal.

Last season the grandfather of one of the girls on the team was a professional(?) soccer coach for goalies. He said nice things about my daughter, and taught some bits to her and another girl during practice. One of the bits he told her was to punch the ball upward when it was too high to block.

So she punched the ball – and it worked!! I think this is the first and only time she has used this bit in a game. Frankly I am pretty impressed (and proud) that she remembered and used this move at the exact right time!

This play got a big reaction from the parents on both sides.

I was at the other end of the field when this occurred. I thought the ball had gone in. My daughter thought the ball had gone in. Then there was this rising confusion of sound from the parents on both sides of the field (ooh’s ending in cheers). My daughter looked confused, then looked around to see the ball behind the goal. (She went from a confused look to a big grin.)

From the last game of the season. The team that won this game would go on to the playoffs. My daughter was goalie the first half. The other team scored only two goals – in the second half – goals that my daughter could probably have stopped.

Bet the other team’s parent were really glad she was not goalie in the second half.

OK – enough of the proud father nonsense. :)


No goal! It worked!