Date Picker UI by <input type=date> in unexpected position with Fission
Categories
(Firefox :: General, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox81 | --- | fixed |
People
(Reporter: m_kato, Assigned: enndeakin)
References
Details
(Whiteboard: [layout:triage-discuss])
Attachments
(3 files)
Environment
macOS 10.15.4
Firefox Nightly 79 2020-06-08
Step
fission.autostart=true, then restart- Browse https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input
- Set focus to
<input type=date>'s control - Click
yyyy
Result
Date picker UI is top-left in content window
Expected Result
Date picker UI should be bottom of <input type=date>. Of course, if without fission, this doesn't occur.
Comment 1•5 years ago
|
||
Sending this Fission Date Picker bug to Layout triage. This bug blocks enabling Fission in Nightly.
I can also reproduce this bug on Windows 10.
Comment 2•5 years ago
|
||
The color picker UI has the same positioning bug as the date picker.
Here is a color picker test case: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/color
Comment 3•5 years ago
|
||
On my linux box, the color picker window is positioned at the center of the browser window.
Comment 4•5 years ago
|
||
Chris, can you please open a new bug for the color picker issue you are seeing? Maybe it's a different issue I am going to move the date picker issue into Toolkit.
So, I think a problem here in DateTimePickerChild.jsm, BrowserUtils.getElementBoundingRect probably doesn't work in fission world. Probably GeometryUtils.getBoxQuadsFromWindowOrigin can be used (But we might wand to add a new ChromeOnly API for the date picker or some such).
Comment 5•5 years ago
|
||
The product::component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit auto_nag documentation.
Comment 6•5 years ago
|
||
(In reply to Hiroyuki Ikezoe (:hiro) from comment #4)
Chris, can you please open a new bug for the color picker issue you are seeing? Maybe it's a different issue I am going to move the date picker issue into Toolkit.
I filed new bug 1647583 for the color picker issue. Turns out it's an existing bug and not a Fission bug. :)
Comment 7•5 years ago
|
||
The Date/Time picker is outside the scope of Form Manager. I probably would have left this in "Layout: Form Controls" but I guess it is the front-end team that has been touching this most recently.
Comment 8•5 years ago
|
||
Mike, is this something you could look into or know who should?
Comment 9•5 years ago
|
||
I suspect this will have the same underlying cause as the misplaced <select> dropdown, which we solved. Perhaps Neil has time to look at this?
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 10•5 years ago
|
||
| Assignee | ||
Comment 11•5 years ago
|
||
Depends on D86099
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/9fb094f206b3
https://hg.mozilla.org/mozilla-central/rev/3bdd93319474
Description
•