The reference shouldn't use the same feature as what you are testing, because if the browser has a bug with letter-spacing, it would affect the test and the ref equally and the test wouldn't show the bug. You need to use something else to implement the spacing in the reference. For instance, you can use a span between each letter and give it the style display:inline-block; width:2em; or some such.