On Sep 4, 2012, at 5:50 AM, Glenn Adams <[email protected]> wrote:
>>
>> Alternatively, you can compute the with of each character with script
>> (without adding any new feature to WebKit).
>
> Unfortunately, that won't work since I can't access the width of individual
> lines produced by formatting a block.
You can use Range’s getClientRects to get the widths of individual characters
and to determine where a line breaks occur.
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-dev