[Chromium] Simplify small caps logic in complex text on linux
Created attachment 80274 [details] Patch
This should simplify things a bit.
Comment on attachment 80274 [details] Patch The code looks good, but can you still add a test case where an uppercase run becomes lowercase (if one doesn't exist)? That way we won't regress this in the future.
(In reply to comment #3) > (From update of attachment 80274 [details]) > The code looks good, but can you still add a test case where an uppercase run becomes lowercase (if one doesn't exist)? That way we won't regress this in the future. I think the existing one already covers that with "Lorem ipsum." I'm not sure why that didn't occur to me earlier. :/ We also cover the opposite condition with "A?b?e" in atsui-small-caps-punctuation-size.html. It's not entirely intuitive, but punctuation is considered to be upper case.
Comment on attachment 80274 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=80274&action=review > Source/WebCore/ChangeLog:9 > + No new tests. > + Nit: Please mention which tests cover this.
Created attachment 80358 [details] Patch
(In reply to comment #5) > (From update of attachment 80274 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=80274&action=review > > > Source/WebCore/ChangeLog:9 > > + No new tests. > > + > > Nit: Please mention which tests cover this. Done.
Committed r76845: <http://trac.webkit.org/changeset/76845>