Closed Bug 1373826 Opened 7 years ago Closed 4 years ago

Wifi purchase form onboard IcelandAir broken (credit card textfields in flex container are too wide)

Categories

(Core :: Layout, defect, P3)

54 Branch
ARM
Android
defect

Tracking

()

RESOLVED DUPLICATE of bug 1316534
Tracking Status
fennec - ---
firefox54 --- affected
firefox55 --- affected
firefox56 --- affected
firefox57 --- affected

People

(Reporter: u597127, Unassigned)

References

Details

(Whiteboard: [webcompat] )

Attachments

(5 files)

User Agent: Mozilla/5.0 (Android 7.0; Mobile; rv:54.0) Gecko/54.0 Firefox/54.0
Build ID: 20170608225136

Steps to reproduce:

Used wifi onboard icelandair flight.
Tried to purchase internet access 
https://wifi.icelandairwifi.com/purchase
The credit card form is broken in Firefox Android, both portrait and landscape.
The field for the number is split into 4 pieces, and only partially visible on screen.
It is possible to enter the number, but then the left hand side of the page is no longer visible.
It is impossible to scroll the page to left. It is impossible to complete filling out the form.

It works fine with Chrome for Android. All parts of the form are visible on screen at the same time.



Actual results:

Parts of page become inaccessible


Expected results:

Either render all form fields in visible area, or ability to scroll page back to the left.
The problematic URL likely cannot be accessed from outside the plane. I used the addon "save page" to save a snapshot of the page and hopefully all the scripts that are involved. I will attach a zip.
Hello,

 Using the files provided by honigfalle@abwesend.de I can confirm this.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → Android
Hardware: Unspecified → ARM
I'm back home.

It's possible to partially reproduce the issue with regular Firefox for Desktop, too, if you resize the window to make it very narrow, so that only the left 2 CC number fields are visible.

After you enter 0000 0000 0000 0000
the left hand side of the credit card form is scrolled out.

There isn't any visible mechanism to scroll to the left.

On Desktop Firefox this can be fixed by pressing the "tab" key. I don't know if I could have used a tab key on the Android keyboard, at least I didn't have that idea.
tracking-fennec: --- → ?
[triage@July 5th] per comment#5 this may be a common issue in desktop?

@Bogdan: would you help verify if this is seen on Desktop first? thanks.
Flags: needinfo?(bogdan.surd)
Attached image Capture.JPG
Hello,

 I can confirm this is also happening on desktop, as mentioned in Comment 5 the used can get around this by pressing on the tab key.
Flags: needinfo?(bogdan.surd)
Thank you, Bogdan. Would you mind also help log a bug for desktop? If this is common then I'm afraid this bug will eventually depends on desktop team to fix it first.
Flags: needinfo?(bogdan.surd)
Hello Wesly,

Logged Bug 1379107 for desktop.
Flags: needinfo?(bogdan.surd)
See Also: → 1379107
[triage@0712] per comment 9, will rely on Desktop to fix it first.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
tracking-fennec: ? → -
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Reopening & reclassifying (& reversing the dupe relationship), since there was no need for a second bug in the first place.

I'm taking a look at this from a gecko layout perspective; more info shortly.
Attached file reduced testcase 1
Here's a reduced testcase.

Expected rendering: orange-bordered textfields should all be inside of the purple-bordered container.
Actual rendering: the orange-bordered textfields overflow off the right side of the purple container.

Notes:
Here and in the original testcase, these input elements have a rule saying "width: 39px".

I think the spec says that this explicit "width" value is supposed to create an upper-bound for what its "min-width:auto" value resolves to.  (Even if the min-content size is larger than 39px, min-width:auto should just resolve to 39px in the presence of this explicit "width" declaration.)

So I think this is a Firefox flexbox bug. This might have been filed previously, but I can't find another version of this bug right away (just looked around a bit).
(Edge and Chrome each produce the "Expected rendering" on the attached testcase. Firefox 54 & Nightly 56 produce "Actual rendering".)
Component: General → Layout
Product: Firefox for Android → Core
Whiteboard: [webcompat]
Ah yes, so this is basically the same as bug 1331692, which boils down to a spec-rewrite tracked in bug 1136312.

I'll mark this as a dependency of bug 1136312 for now, and then we can circle back and either dupe or follow up once bug 1136312 is fixed.
Depends on: 1136312
See Also: 1379107
Summary: Wifi purchase form onboard IcelandAir broken in Firefox Android → Wifi purchase form onboard IcelandAir broken (credit card textfields in flex container are too wide)
Priority: -- → P3

Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.

Webcompat Priority: --- → ?

See bug 1547409. Migrating whiteboard priority tags to program flags.

Webcompat Priority: ? → ---

Here a screenshot loading the testcase in comment 13. This bug should be fixed by bug 1316534.

Status: REOPENED → RESOLVED
Closed: 7 years ago4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: