RSS Feed: dean.edwards.name/weblog
Feed download link: http://feeds.feedburner.com/deanedwards/weblog
-
IE7.js gets an update, published on Sunday, 07 March 2010 6:48PMIE7.js is finally updated! Here are the changes: MSIE5.0 is no longer supported Layout fixes are no longer applied in quirks mode (except for MSIE5.5) IE9.js provides improvements to MSIE8 support for opacity is moved to IE9.js New selectors (IE9.js): :first-of-type :last-of-type :only-of-type :nth-of-type() [...]
-
MSIE’s document.createStyleSheet() throws an error if there are more than 30 existing style sheets, published on Thursday, 11 February 2010 11:45PMI’m currently doing a round of bug fixing for IE7.js. Bug #85 highlights a bug in Internet Explorer that I was unaware of: <!doctype html> <title>document.createStyleSheet() test</title> <script> for (var i = 0; i < 32; i++) { document.createStyleSheet(); // throws when i == 31 } </script> It doesn’t matter if the style sheets are created with JavaScript or not. Calling document.createStyleSheet() [...]
-
getElementsByTagName(), published on Thursday, 17 December 2009 1:56AMIt turns out that document fragments do not implement the getElementsByTagName() method. But they do implement the Selectors API methods: querySelector/querySelectorAll. Nobody cares about this except for people that write JavaScript selector engines. If you are one of those people then keep reading. I can code around the absence of a lot of DOM methods but getElementsByTagName() [...]
-
Convert any colour value to hex in MSIE, published on Thursday, 22 October 2009 2:50PMThe following function will convert any colour value (rgb, named colours, etc) to the hex equivalent in MSIE: function toHex(color) { var body = createPopup().document.body, range = body.createTextRange(); body.style.color = color; var value = range.queryCommandValue("ForeColor"); value = ((value & 0x0000ff) << 16) | (value & 0x00ff00) [...]
-
Back in the game, published on Thursday, 23 April 2009 1:54AMAfter some wrangling I’m back in control of the dean.edwards.name domain.
-
dean.edwards.name, published on Thursday, 02 April 2009 9:30PMSome of you may have noticed that my site is now hosted on a new domain: http://deanedwards.me.uk/ The old domain got squatted. I whined about it on reddit at the time. The squatter is currently hosting my copyrighted material. I wrote to the registrar to complain but haven’t received a reply (I should probably contact the hosting [...]
-
Callbacks vs Events, published on Tuesday, 24 March 2009 6:14PMMost of the major JavaScript libraries claim to support custom events in one form or another. For example, jQuery, YUI and Dojo all support a custom “document ready” event. However, the implementation of these custom events is always some form of callback system. A callback system works by storing event handlers in an array. When the [...]
-
Two steps forward one step back, published on Saturday, 22 March 2008 8:47PMSafari 3.1 fails the Acid2 test: http://bugs.webkit.org/show_bug.cgi?id=13693
-
Quotes, published on Tuesday, 22 January 2008 11:57PM..we worked together with The Web Standards Project (in the WaSP-Microsoft Task Force) on this problem. I can’t give them enough credit for this work; Chris Wilson (Microsoft) Although members of the WaSP Microsoft Task Force were very much involved in this proposal, it is important to re-emphasise that this proposal is [...]
-
IE7.js version 2.0 (beta), published on Sunday, 06 January 2008 9:02PMI’ve finally updated my IE7 library. IE7 was in alpha for a long time. The last version was very stable but I always intended to issue a serious update. The release of the real IE7 browser threw me off course a little and then I got bogged down with base2. I’ve made some important changes [...]
Feed download link: http://feeds.feedburner.com/deanedwards/weblog

