As a first steps towards fixing bug #138913, teach InlineTextBox::clampOffset() about combined text and hyphenation.
Created attachment 323062 [details]
Created attachment 323183 [details]
Comment on attachment 323183 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=323183&action=review
> + // Fix up the offset if we are combined text or have a hyphen. We treat combined text as a
Will update this comment to read:
Fix up the offset if we are combined text or have a hyphen because we manage these embellishments. That is, they are not reflected in renderer().text(). We treat combined text as a single unit. We also treat the last codepoint in this box and the hyphen as a single unit.
Committed r223259: <https://trac.webkit.org/changeset/223259>