[Webkit-unassigned] [Bug 10228] CSS3: Support the hyphenate property
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 18 11:50:44 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=10228
--- Comment #21 from mitz at webkit.org 2010-06-18 11:50:43 PST ---
(In reply to comment #20)
> hi, Mitz,
>
> Just wondering whether your hyphenation logic considers the case where a word can have multiple hyphenation points. Seems from your logic, you only consider lastHyphenPosition. For example, for word "ex-per-i-ment-al", do you just consider the first hypen between ex and per and other following also?
>
> Thanks,
It will consider the last possible hyphenation location: see how prefixLength is initially computed by measuring (or rather hit-testing), then passed as a parameter to lastHyphenLocation(), which will return the last hyphen location at or before it.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list