<input list=""> doesn't work inside Shadow DOM.
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: julien.gribonvald, Assigned: emilio)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
(deleted),
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-release-
|
Details |
(deleted),
text/x-phabricator-request
|
Details |
Comment 1•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
This is the same root cause as bug 1496769, this works with focus events, and we use the wrong target in:
Even with that, moving focus to the datalist if there are multiple focusable elements inside the shadow root wouldn't work...
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
With the patch above we do find the input element, and try to autocomplete it
normally, which confuses some tests.
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0d9a334f6ae8
https://hg.mozilla.org/mozilla-central/rev/605d15524a48
Comment 10•6 years ago
|
||
I reported Bug 1522523 it is a duplicate of this bug.
The fix is applied on Firefox66 which will be released on 19 March 2019 that is 53 days from today and that is a lot for Firefox users, i think this is a critical functional bug(degree of critical) because the data list is not doing what it is supposed to do, so can the developer uplift this fix to Firefox65 because the release date is 4 days from today?
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 11•6 years ago
|
||
Filling manually since the form is not working at all. Note that the request is for both patches.
Feature/Bug causing the regression: Shadow DOM
User impact if declined: <input list=""> is broken in Shadow DOM.
Covered by automated tests: Yes
Verified in Nightly: Just did
Needs manual test from QE: No
Risk of taking this patch: Low
Why is the change risky/not risky? Simple change that makes <datalist> work on Shadow DOM.
Comment 12•6 years ago
|
||
Comment on attachment 9037953 [details]
Bug 1489440 - Fix nsFormFillController in presence of Shadow DOM.
The request is for 65, moving to release.
Updated•6 years ago
|
Comment 13•6 years ago
|
||
Comment on attachment 9037953 [details]
Bug 1489440 - Fix nsFormFillController in presence of Shadow DOM.
[Triage Comment]
Improves <datalist> support with Shadow DOM, including on the MDN demo for the feature. Thanks for adding an automated test as well. Approved for 65.0.1.
Comment 14•6 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-release/rev/cd29459c41b9
https://hg.mozilla.org/releases/mozilla-release/rev/7552d0f55ab2
Updated•6 years ago
|
Comment 15•6 years ago
|
||
I have reproduced this issue using Firefox 64.0a1 (2018.09.07) on Win 10 x64.
I can confirm this issue is fixed, I verified using Firefox 66.0b6 on Win 10 x64, Ubuntu 18.04 x64 and macOS 10.13. I will verify on 65.0.1 too.
Comment 16•6 years ago
|
||
Comment on attachment 9037953 [details]
Bug 1489440 - Fix nsFormFillController in presence of Shadow DOM.
Sorry, but after some further discussion, we decided not to take this patch after all for the 65.0.1 release. The fix will still be included in next month's Fx66 release. I apologize for the inconvenience.
Comment 17•6 years ago
|
||
backout |
Backed out from mozilla-release.
https://hg.mozilla.org/releases/mozilla-release/rev/ebce547ba39c
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Description
•