Chromium Code Reviews
DescriptionEnsure strikethrough font renders in omnibox on iOS 10.3
iOS 10.3 introduced a regression in rendering of strings with the
attribute NSStrikethroughStyleAttributeName applied to a subrange of
the string. To workaround this, apply a NSBaselineOffsetAttributeName
attribute with its default value of 0.
BUG=699702
TEST=https://expired.badssl.com. Examine https: text in the omnibox,
it should have a line through it.
Review-Url: https://codereview.chromium.org/2803783002
Cr-Commit-Position: refs/heads/master@{#462519}
Committed: https://chromium.googlesource.com/chromium/src/+/2352cecca1d2738c6c6b970708286211c29cf16e
Patch Set 1 #
Total comments: 1
Patch Set 2 : Limit workaround to iOS 10.3 and later #
Messages
Total messages: 13 (5 generated)
|
||||||||||||||||||||||||||||