Closed
Bug 1440506
Opened 7 years ago
Closed 3 years ago
Dropdowns probably should be preserved among reframe
Categories
(Core :: Layout: Form Controls, defect, P3)
Core
Layout: Form Controls
Tracking
()
People
(Reporter: xidorn, Assigned: emilio)
References
(Blocks 1 open bug)
Details
(Whiteboard: [layout:backlog:quality])
Attachments
(2 files)
Steps to reproduce:
1. open the testcase
2. click the combo box to open the dropdown
3. wait for several seconds
Expected result:
The dropdown never disappears automatically as far as you don't move the focus
Actual result:
It disappears when position value change.
(Chrome and Edge seem to give the expected result for this testcase.)
Assignee | ||
Comment 2•7 years ago
|
||
So this happens because this runnable:
https://searchfox.org/mozilla-central/rev/49cc27555d5b7ed2eb06baf156693dd578daa06f/layout/forms/nsListControlFrame.cpp#159
Hides the popup unconditionally even if it was reframed, unlike nsHideViewer does, for example:
https://searchfox.org/mozilla-central/rev/49cc27555d5b7ed2eb06baf156693dd578daa06f/layout/forms/nsListControlFrame.cpp#159
Content-select would also fix this of course.
Depends on: content-select
Flags: needinfo?(emilio)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → emilio
Assignee | ||
Comment 3•7 years ago
|
||
This is way more painful than what I thought, there's all sorts of state along nsComboboxControlFrame and nsListControlFrame that would really need to be moved to HTMLSelectElement...
I'll take it if I have the time, but not this week...
Assignee: emilio → nobody
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(emilio)
Assignee | ||
Updated•5 years ago
|
Webcompat Priority: --- → ?
Updated•5 years ago
|
Whiteboard: [layout:backlog]
Updated•5 years ago
|
Whiteboard: [layout:backlog] → [layout:backlog:quality]
Updated•4 years ago
|
Webcompat Priority: ? → revisit
Assignee | ||
Updated•3 years ago
|
Flags: needinfo?(emilio)
Comment 14•3 years ago
|
||
(ni=emilio to try out an idea he has here, applying a similar approach to our strategy for iframe-preservation here.)
Assignee | ||
Comment 15•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → emilio
Attachment #9263796 -
Attachment description: WIP: Bug 1440506 - Do not destroy dropdowns on reframe. → Bug 1440506 - Do not destroy dropdowns on reframe. r=dholbert
Status: NEW → ASSIGNED
Assignee | ||
Updated•3 years ago
|
Flags: needinfo?(emilio)
Comment 16•3 years ago
|
||
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0ce3566b9e52
Do not destroy dropdowns on reframe. r=dholbert
Comment 17•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox99:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
Updated•3 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•