CSS Parsing Bug

9th April 2007

Molly’s recent post Name Your Best IE 7 Bug Resources reminded me about a pretty obscure CSS parsing bug I found in IE 6. Since IE 7 is supposed to have fixed a number of issues with CSS parsing I thought I should probably check to see if the bug still existed there.

It does.

Continue reading “CSS Parsing Bug” | 2 comments

XMLHttpRequest and events

23rd June 2006

In the past I’ve mentioned my confusion about the differing behaviour of certain aspects of the oh-so-trendy XMLHttpRequest object, but now I have access to a couple of non-windows browsers for testing I thought I’d take a look to see how they handle it. Perhaps unsurprisingly they are also subtly different again from IE, Firefox and Opera. Is this what happens when browser makers have to reverse engineer someone else’s feature instead of working with documented standards?

Continue reading “XMLHttpRequest and events” | 2 comments

JavaScript Loop Test

3rd June 2006

Today I set out to answer the oh-so exciting question “What is the fastest way to create a loop in JavaScript?” After some tedious exhaustive, cross browser testing these are my results…

Continue reading “JavaScript Loop Test” | 12 comments

A run-in with bad browser support

27th March 2006

There are a couple of lesser known CSS display properties, run-in and compact that while probably not the most exciting (or useful) parts of the CSS specifications do still look fairly interesting. Recently I have found a couple of places where the use of run-in or compact would’ve been neater than the workaround solutions I ended up with.

Continue reading “A run-in with bad browser support” | Comments are closed

Opera CSS Fixes

11th March 2006

I just downloaded the lastest Opera weekly (build 8265) to checkout the new acid 2 fixes. Aside from being the first Windows browser to pass Acid2 I was very pleased to see they’ve also made good progress on sorting out the box model for textareas. In the past Opera appeared to include borders and padding within the width and height of the textarea, but not anymore. This fix along with some fixes for offsetWidthLeft and offsetHeightTop means my resizable textareas now look and work as intended. Nice.

Comments are closed

voice-family: 'Gary Lineker';

26th November 2005

Recently at work I was presented with a football news item to add to our website — Alton College had beaten St Vincent College 3 - 1 to move level on points at the top of the Hampshire College’s under-19 League. As part of the news item there was a league table highlighting Alton’s current lofty position. Whilst marking up the table I thought it might be interesting/fun to experiment with adding a little bit of speech CSS and generated content to make the table easier to follow when read using Opera.

Continue reading “voice-family: 'Gary Lineker';” | Comments are closed

CSS Inspector

14th August 2005

While working on a theme for Moodle I thought it would be helpful to have a tool that allowed me to easily view details of an element in the document. To be able to see it’s ancestors, with any classes and id’s. Basically all the information need to write a CSS selector for that element. So I wrote a user JavaScript to do just that.

Continue reading “CSS Inspector” | 7 comments

innerXHTML — Revisited

6th August 2005

After writing a seriously over-complicated JavaScript class to handle innerHTML style behaviour in XHTML documents served with the application/xhtml+xml MIME type. I just found out what I was doing wrong that was preventing all the simpler things I tried working. It’s all about namespaces.

Continue reading “innerXHTML — Revisited” | 1 comment

What is “this”?

26th July 2005

While experimenting using XMLHttpRequest I noticed a few slightly strange differences between the different browsers I was testing. These differences related to the value of the “this” keyword in the onreadystatechange event handler.

Continue reading “What is “this”?” | 5 comments

Explorer Update

24th July 2005

I got round to adding a stylesheet that doesn’t fail completely in Internet Explorer. While I was at it I also fixed up the fancy (pointless) Find as you type functionality on my search box so that now should work in IE too. Ooh AJAX how very modern.

Continue reading “Explorer Update” | Comments are closed

Of Interest

Hangouts

Listening