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

Issue 2161963003: Make autofill dropdown to obey text-align: left|right CSS property. (Closed)

Created:
4 years, 5 months ago by Gleb Lanbin
Modified:
4 years, 4 months ago
Reviewers:
Mathieu, esprehn, eae
CC:
blink-reviews, chromium-reviews, estade+watch_chromium.org, jdonnelly+autofillwatch_chromium.org, kinuko+watch, rouslan+autofill_chromium.org, vabr+watchlistautofill_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make autofill dropdown to obey text-align: left|right CSS property. This changes WebFormControlElement::directionForFormData so it takes into account text-align: left|right while returning the text direction used in autofill dropdown component. BUG=482339 Committed: https://crrev.com/69ee7354e94f121f04620ac8e1f9cfa84b31fbf7 Cr-Commit-Position: refs/heads/master@{#407596}

Patch Set 1 #

Patch Set 2 : fix comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -1 line) Patch
M chrome/renderer/autofill/form_autofill_browsertest.cc View 1 chunk +31 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/form_autofill_util.cc View 1 1 chunk +7 lines, -0 lines 1 comment Download
M third_party/WebKit/Source/web/WebFormControlElement.cpp View 1 1 chunk +13 lines, -1 line 0 comments Download
M third_party/WebKit/public/web/WebFormControlElement.h View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (13 generated)
Gleb Lanbin
4 years, 5 months ago (2016-07-19 23:49:32 UTC) #6
Mathieu
this lgtm from the Autofill point of view but you'll have to find an owner ...
4 years, 5 months ago (2016-07-20 12:14:32 UTC) #7
Gleb Lanbin
Elliott, do you have time to review/approve this tiny patch? thanks in advance.
4 years, 5 months ago (2016-07-20 16:33:55 UTC) #9
esprehn
Hmm RTL isn't quite the same thing as text-align: right. eae@ what do you think?
4 years, 5 months ago (2016-07-20 16:42:31 UTC) #11
eae
This conflates direcitonality with alignment in a way that is confusing. How about adding a ...
4 years, 5 months ago (2016-07-20 16:46:20 UTC) #12
Gleb Lanbin
On 2016/07/20 16:46:20, eae wrote: > This conflates direcitonality with alignment in a way that ...
4 years, 5 months ago (2016-07-20 21:39:57 UTC) #13
eae
Perfect, LGTM
4 years, 5 months ago (2016-07-20 22:08:20 UTC) #14
Gleb Lanbin
Elliott, do you have any other comments? I still need an owner approval to submit ...
4 years, 5 months ago (2016-07-21 21:37:49 UTC) #15
esprehn
Are you sure this works? https://codereview.chromium.org/2161963003/diff/20001/components/autofill/content/renderer/form_autofill_util.cc File components/autofill/content/renderer/form_autofill_util.cc (right): https://codereview.chromium.org/2161963003/diff/20001/components/autofill/content/renderer/form_autofill_util.cc#newcode1408 components/autofill/content/renderer/form_autofill_util.cc:1408: field->text_direction = base::i18n::LEFT_TO_RIGHT; This ...
4 years, 5 months ago (2016-07-21 22:05:19 UTC) #16
Gleb Lanbin
On 2016/07/21 22:05:19, esprehn wrote: > Are you sure this works? > > https://codereview.chromium.org/2161963003/diff/20001/components/autofill/content/renderer/form_autofill_util.cc > ...
4 years, 5 months ago (2016-07-21 22:14:47 UTC) #17
Gleb Lanbin
Elliott, just a friendly reminder that I'm waiting for your review.
4 years, 4 months ago (2016-07-25 16:39:56 UTC) #18
esprehn
Lgtm, sorry I'm delayed due to family
4 years, 4 months ago (2016-07-25 19:17:53 UTC) #19
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/2161963003/20001
4 years, 4 months ago (2016-07-25 19:34:36 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/129955)
4 years, 4 months ago (2016-07-25 20:37:15 UTC) #24
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/2161963003/20001
4 years, 4 months ago (2016-07-25 21:32:59 UTC) #26
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-07-25 21:45:54 UTC) #28
commit-bot: I haz the power
4 years, 4 months ago (2016-07-25 21:49:50 UTC) #30
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/69ee7354e94f121f04620ac8e1f9cfa84b31fbf7
Cr-Commit-Position: refs/heads/master@{#407596}

Powered by Google App Engine
This is Rietveld 408576698