Created attachment 616005 [details]
It looks like when startOffset is not a percetange, we just take the numeric part of the length and interpret it as user units, regardless of the unit.
In the attachment I would expect both "abc"s to be at the same x position. Opera gets this right, WebKit doesn't.
Created attachment 626748 [details] [diff] [review]