Bug 961737 - getTextAtOffset is broken w.r.t. embedded object characters, part1, r=tbsaunde