Open Bug 1475723 Opened 8 years ago Updated 2 years ago

Geckoview and Fennec open select dropdown on tap of parent label; other browsers do not.

Categories

(Core :: DOM: Core & HTML, defect, P3)

defect

Tracking

()

Tracking Status
firefox63 --- affected

People

(Reporter: twisniewski, Unassigned)

Details

(Whiteboard: [webcompat])

Attachments

(1 file, 1 obsolete file)

Attached file test.html —
Nest a select element in a label element, then click on a visible part of the label that is outside the bounds of the select box. Geckoview and Fennec will open the select box's dropdown, while desktop Firefox and Chrome mobile/desktop will not (one must click/tap directly on the select box to open its dropdown). I've attached a simple testcase to demonstrate this difference. This is an interop issue when nesting selects in a label while using libraries which replace selects with a custom UI, such as the jQuery select2 library. In Fennec and Geckoview, the native "dropdown" will appear overtop of the one that select2 provides. Note that since this affects both Geckoview and Fennec, I opted to file it as a core issue; it might be more appropriate elsewhere.
Flags: webcompat?
Priority: -- → P3

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

Webcompat Priority: --- → ?

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

Maybe this is more DOM than layout...

Webcompat Priority: ? → revisit
Component: Layout: Form Controls → DOM: Core & HTML
Flags: webcompat?

The original issue https://webcompat.com/issues/14641 has been fixed by the website, removing the see also.

Since this interop issue still exists, but we do not have examples of this in the wild now I'm removing the webcompat revisit flag.

Webcompat Priority: revisit → -
Webcompat Priority: - → ---
Severity: normal → S3
Attachment #9384164 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: