Closed
Bug 1412247
Opened 7 years ago
Closed 6 years ago
[Form Autofill] "Saved credit cards…" buttons is too tall if associated checkbox wraps on two lines
Categories
(Toolkit :: Form Autofill, defect, P3)
Toolkit
Form Autofill
Tracking
()
VERIFIED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox58 | --- | unaffected |
firefox59 | --- | fixed |
firefox66 | --- | verified |
People
(Reporter: flod, Assigned: scottwu, NeedInfo)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [form autofill:V2])
Attachments
(5 files)
See attached screenshot: "Autofill credit cards" is much longer in Italian, and wraps on two lines. The button height seems to be affected by that.
Reporter | ||
Comment 1•7 years ago
|
||
Got also an issue from French: the learn more link should be inline with the label.
Updated•7 years ago
|
Priority: -- → P3
Assignee | ||
Updated•7 years ago
|
Blocks: fx-autofill-l10n
Whiteboard: [form autofill:V2]
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → scwwu
Status: NEW → ASSIGNED
Updated•7 years ago
|
Component: Form Manager → Form Autofill
Comment 2•7 years ago
|
||
Form Autofill is only enabled on Fx58 en-US build so set firefox58:unaffected.
Comment hidden (mozreview-request) |
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8941746 [details]
Bug 1412247 - Ensure checkbox label and "Learn more" link stay on the same line.
https://reviewboard.mozilla.org/r/211966/#review218072
::: browser/extensions/formautofill/FormAutofillUtils.jsm:169
(Diff revision 1)
> };
>
> this.FormAutofillUtils = {
> get AUTOFILL_FIELDS_THRESHOLD() { return 3; },
> get isAutofillEnabled() { return this.isAutofillAddressesEnabled || this.isAutofillCreditCardsEnabled; },
> - get isAutofillCreditCardsEnabled() { return this.isAutofillCreditCardsAvailable && this._isAutofillCreditCardsEnabled; },
> + get isAutofillCreditCardsEnabled() { return this.isAutofillCreditCardsAvailable && this.isAutofillCreditCardsEnabled; },
You introduced a recursive call here. Can't we use the original `isAutofillCreditCardsEnabled` directly?
Attachment #8941746 -
Flags: review?(lchang)
Assignee | ||
Comment 5•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8941746 [details]
Bug 1412247 - Ensure checkbox label and "Learn more" link stay on the same line.
https://reviewboard.mozilla.org/r/211966/#review218072
> You introduced a recursive call here. Can't we use the original `isAutofillCreditCardsEnabled` directly?
Oops that's embarrassing.. I originally thought I added the underscore by mistake and wanted to correct it. I've changed it back.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8941746 [details]
Bug 1412247 - Ensure checkbox label and "Learn more" link stay on the same line.
https://reviewboard.mozilla.org/r/211966/#review218460
Thanks.
Attachment #8941746 -
Flags: review?(lchang) → review+
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by lchang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/48d3e471b9aa
Ensure checkbox label and "Learn more" link stay on the same line. r=lchang
Keywords: checkin-needed
Comment 10•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Updated•7 years ago
|
Flags: qe-verify+
Comment 11•7 years ago
|
||
I managed to reproduced this issue using Firefox 58.0a1 Italian-build (2017.10.27) on Windows 8.1 x64.
I verified on 2018.01.15 Fx 59.0a1 (build ID=20180115100056) Italian-build and I observed that the checkbox lable and the "Learn more" link is not in the same line, attached 2018.01.15-good.jpg.
Then I verified on 2018.01.16 build (ID=20180116100114)and attached for this 2018.01.16-bad.jpg, the same happend on Fx 60.0a1 it-build from 2018.02.02.
Flags: needinfo?(scottcwwu)
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Updated•7 years ago
|
Flags: needinfo?(vchen)
Updated•7 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 14•6 years ago
|
||
This bug should remain resolved-fixed as we are not backing this patch out and we are not landing any more patches in this bug.
Status: REOPENED → RESOLVED
Closed: 7 years ago → 6 years ago
Resolution: --- → FIXED
Comment 15•6 years ago
|
||
I can Confirm this issue as Fixed in Firefox 66.0a1 (2018-12-20).
You need to log in
before you can comment on or make changes to this bug.
Description
•