Text Overflow Ellipsis – FF, IE7 and background colours
Luke Page, June 24th, 2011
Introduction This post is inspired by the news that text overflow ellipsis capabilities have reached the mozilla code base trunk (see bug). This should be in Firefox 7, which thanks to the new 6 week release cycles, won’t be long. So, what is text overflow and why do I care? Since I started web application [...]
JSLint Changes
Luke Page, June 20th, 2011
At the weekend I released a new version of my JSLint for visual studio plugin. There have been some big changes made by Douglas Crockford in the last month, so given the lack of an official JSLint blog (most major updates are announced by Douglas Crockford on the mailing list) I will go over some [...]
JSLint vs JSHint
Luke Page, March 28th, 2011
In January of this year Douglas Crockford decided that some of the options in JSLint were generally accepted and should always be on. One of those options was eqeqeq, the option to show an error if just two equals was used. For some time JSLint has complained about double equal comparisons against null, 0, undefined [...]
CSS Performance Part 3 – Updating Nodes
Luke Page, February 16th, 2011
Introduction In the first two parts I looked at different ways of performing dom manipulation tasks like adding rows to a table and sorting rows in a table. These tend to be quite common since we display data in a table and a dynamic website may wish to show live updates to that data and [...]
CSS 3 Transitions vs jQuery
Luke Page, December 23rd, 2010
Introduction This post is me taking a break from the CSS Performance series. I have the next post almost written though… I was reading an article on CSS 3 transitions that was very interesting, but as I was reading, it seemed like the feature was designed for CSS designers – the primary example was animating [...]
Css Performance – Part 2
Luke Page, December 9th, 2010
Introduction In the first part I created a simple speed test harness and found the best way of creating 100 rows in a large table, regardless of the CSS conditions. Now I’m going to do the same for sorting. This isn’t a look at sort algorithms, because that has nothing to do with the CSS [...]
Css Performance – Part 1
Luke Page, November 30th, 2010
Introduction Over the last month or so, I’ve been interested in website performance. There are a lot of useful tools that exist to help you get the most out the HTML/JavaScript/CSS Technologies – One resource in particular I’ve used is Google Page Speed. Among the recommendation is one to optimise the use of css selectors, [...]
Implementing eqeq in JavaScript using eqeqeq
Luke Page, October 26th, 2010
Introduction So, in a previous post I pointed out some == coercing that was far from obvious. But despite gradually picking up edge cases, I’ve never had a true understanding of the various cases where x == y. So, prompted by Jonathan’s link to the specification explanation and figuring that code is going to be [...]
JSLint in Visual Studio Part 2
Luke Page, October 25th, 2010
A while ago I blogged about creating an extension in visual studio 2010 that ran JSLint on files. I started by getting a JavaScript interpreter based on the V8 engine to run JSLint and then just before publishing I discovered someone else had already started an extension. Luckily, that person proved friendly and over the [...]
JSLinting existing JavaScript and eqeqeq
Luke Page, September 27th, 2010
Introduction As I’ve previously mentioned JSLint is a tool by Douglas Crockford that checks code against various rules in order to find code that could potentially be buggy or ambiguous. One such rule is that users should not use two equals (==) but should use three (===). There is an option that turns on whether [...]
