Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Issue 2935723002: Fix ManualTextFramerTest.OriginRTLTest on iOS 11 (Closed)

Created:
3 years, 6 months ago by lpromero
Modified:
3 years, 6 months ago
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, vmpstr+watch_chromium.org, noyau+watch_chromium.org, marq+watch_chromium.org, danakj+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix ManualTextFramerTest.OriginRTLTest on iOS 11 The test uses an arabic text. On iOS 11, Apple updated the Arabic system font. The new font takes more horizontal space for the same text and font size. This CL updates the target text frame on iOS 11 and above to accomodate that. https://screenshot.googleplex.com/vF2x9SLEyrx BUG=731156 R=kkhorimoto@chromium.org Review-Url: https://codereview.chromium.org/2935723002 Cr-Commit-Position: refs/heads/master@{#479641} Committed: https://chromium.googlesource.com/chromium/src/+/ec010b6a08e247661e07d9eb883508a74bd60468

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add comment #

Total comments: 3

Patch Set 3 : Just bump the size #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M ios/chrome/browser/ui/util/manual_text_framer_unittest.mm View 1 2 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 37 (23 generated)
lpromero
3 years, 6 months ago (2017-06-12 13:24:30 UTC) #1
lpromero
sdefresne@chromium.org: Please review changes in
3 years, 6 months ago (2017-06-12 13:25:23 UTC) #5
kkhorimoto
lgtm, with some added commenting. The width calculations are a little opaque; sorry I should ...
3 years, 6 months ago (2017-06-12 19:42:04 UTC) #9
lpromero
On 2017/06/12 19:42:04, kkhorimoto_ wrote: > lgtm, with some added commenting. The width calculations are ...
3 years, 6 months ago (2017-06-13 08:10:12 UTC) #11
lpromero
https://codereview.chromium.org/2935723002/diff/1/ios/chrome/browser/ui/util/manual_text_framer_unittest.mm File ios/chrome/browser/ui/util/manual_text_framer_unittest.mm (right): https://codereview.chromium.org/2935723002/diff/1/ios/chrome/browser/ui/util/manual_text_framer_unittest.mm#newcode202 ios/chrome/browser/ui/util/manual_text_framer_unittest.mm:202: CGRect bounds = base::ios::IsRunningOnIOS11OrLater() On 2017/06/12 19:42:03, kkhorimoto_ wrote: ...
3 years, 6 months ago (2017-06-13 08:10:27 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2935723002/20001
3 years, 6 months ago (2017-06-13 11:30:12 UTC) #20
lpromero
sdefresne, PTAL base/ios changes.
3 years, 6 months ago (2017-06-13 11:30:24 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/462321)
3 years, 6 months ago (2017-06-13 11:37:36 UTC) #23
lpromero
+rohitrao in sdefresne's absence.
3 years, 6 months ago (2017-06-14 09:11:52 UTC) #25
rohitrao (ping after 24h)
lgtm https://codereview.chromium.org/2935723002/diff/20001/ios/chrome/browser/ui/util/manual_text_framer_unittest.mm File ios/chrome/browser/ui/util/manual_text_framer_unittest.mm (right): https://codereview.chromium.org/2935723002/diff/20001/ios/chrome/browser/ui/util/manual_text_framer_unittest.mm#newcode205 ios/chrome/browser/ui/util/manual_text_framer_unittest.mm:205: CGFloat width = base::ios::IsRunningOnIOS11OrLater() ? 130.0 : 100.0; ...
3 years, 6 months ago (2017-06-14 11:58:03 UTC) #26
rohitrao (ping after 24h)
https://codereview.chromium.org/2935723002/diff/20001/base/ios/ios_util.h File base/ios/ios_util.h (right): https://codereview.chromium.org/2935723002/diff/20001/base/ios/ios_util.h#newcode20 base/ios/ios_util.h:20: BASE_EXPORT bool IsRunningOnIOS11OrLater(); I'm going to pull this out ...
3 years, 6 months ago (2017-06-14 14:55:36 UTC) #27
lpromero
https://codereview.chromium.org/2935723002/diff/20001/ios/chrome/browser/ui/util/manual_text_framer_unittest.mm File ios/chrome/browser/ui/util/manual_text_framer_unittest.mm (right): https://codereview.chromium.org/2935723002/diff/20001/ios/chrome/browser/ui/util/manual_text_framer_unittest.mm#newcode205 ios/chrome/browser/ui/util/manual_text_framer_unittest.mm:205: CGFloat width = base::ios::IsRunningOnIOS11OrLater() ? 130.0 : 100.0; On ...
3 years, 6 months ago (2017-06-15 08:26:51 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2935723002/40001
3 years, 6 months ago (2017-06-15 08:27:16 UTC) #34
commit-bot: I haz the power
3 years, 6 months ago (2017-06-15 08:31:52 UTC) #37
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/ec010b6a08e247661e07d9eb8835...

Powered by Google App Engine
This is Rietveld 408576698