Changeset 231962 in webkit
- Timestamp:
- May 18, 2018 10:31:46 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r231959 r231962 1 2018-05-18 Myles C. Maxfield <mmaxfield@apple.com> 2 3 [iOS] Password fields obscure the text with rectangles instead of circles 4 https://bugs.webkit.org/show_bug.cgi?id=185760 5 <rdar://problem/38644697> 6 7 Reviewed by Zalan Bujtas. 8 9 * fast/text/black-circle-expected.html: Added. 10 * fast/text/black-circle.html: Added. 11 1 12 2018-05-18 Chris Dumez <cdumez@apple.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r231959 r231962 1 2018-05-18 Myles C. Maxfield <mmaxfield@apple.com> 2 3 [iOS] Password fields obscure the text with rectangles instead of circles 4 https://bugs.webkit.org/show_bug.cgi?id=185760 5 <rdar://problem/38644697> 6 7 Reviewed by Zalan Bujtas. 8 9 Password fields are obscured by drawing U+25CF BLACK CIRCLE. On iOS, we have custom handling 10 for this character. However, this custom handling is unnecessary and isn't present on macOS. 11 Instead, we should simply unify the password obscuring codepath between iOS and macOS. 12 13 Test: fast/text/black-circle.html 14 15 * platform/graphics/ios/FontCacheIOS.mm: 16 (WebCore::requiresCustomFallbackFont): 17 (WebCore::FontCache::getCustomFallbackFont): 18 1 19 2018-05-18 Chris Dumez <cdumez@apple.com> 2 20 -
trunk/Source/WebCore/platform/graphics/ios/FontCacheIOS.mm
r228877 r231962 46 46 bool requiresCustomFallbackFont(UChar32 character) 47 47 { 48 return character == AppleLogo || character == blackCircle || character ==narrowNonBreakingSpace;48 return character == AppleLogo || character == narrowNonBreakingSpace; 49 49 } 50 50 … … 54 54 55 55 static NeverDestroyed<AtomicString> helveticaFamily("Helvetica Neue", AtomicString::ConstructFromLiteral); 56 static NeverDestroyed<AtomicString> lockClockFamily("LockClock-Light", AtomicString::ConstructFromLiteral);57 56 static NeverDestroyed<AtomicString> timesNewRomanPSMTFamily("TimesNewRomanPSMT", AtomicString::ConstructFromLiteral); 58 57 … … 61 60 case AppleLogo: 62 61 family = &helveticaFamily.get(); 63 break;64 case blackCircle:65 family = &lockClockFamily.get();66 62 break; 67 63 case narrowNonBreakingSpace:
Note: See TracChangeset
for help on using the changeset viewer.