[META] Render dropdown menu of <select> in content process
Categories
(Core :: Layout: Form Controls, enhancement, P1)
Tracking
()
People
(Reporter: kuoe0.tw, Assigned: emalysz, Mentored)
References
(Depends on 2 open bugs, Blocks 5 open bugs)
Details
(Keywords: meta)
Attachments
(7 files, 1 obsolete file)
(deleted),
video/mp4
|
Details | |
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
image/png
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
Reporter | ||
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Reporter | ||
Comment 4•7 years ago
|
||
Reporter | ||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
Reporter | ||
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
Reporter | ||
Comment 15•7 years ago
|
||
Reporter | ||
Comment 16•7 years ago
|
||
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Comment 17•7 years ago
|
||
Reporter | ||
Comment 18•7 years ago
|
||
Updated•7 years ago
|
Comment 19•7 years ago
|
||
Comment 20•7 years ago
|
||
Reporter | ||
Comment 21•7 years ago
|
||
Comment 22•7 years ago
|
||
Comment 23•7 years ago
|
||
Comment 24•7 years ago
|
||
Comment 25•7 years ago
|
||
Updated•7 years ago
|
Reporter | ||
Comment 26•7 years ago
|
||
Reporter | ||
Comment 27•7 years ago
|
||
Comment 28•7 years ago
|
||
Reporter | ||
Comment 29•7 years ago
|
||
Reporter | ||
Comment 30•7 years ago
|
||
Reporter | ||
Comment 31•7 years ago
|
||
Reporter | ||
Comment 32•7 years ago
|
||
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Comment 33•7 years ago
|
||
Updated•7 years ago
|
Comment 34•7 years ago
|
||
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Updated•7 years ago
|
Comment 35•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 36•6 years ago
|
||
Comment 37•6 years ago
|
||
Updated•6 years ago
|
Comment 39•6 years ago
|
||
Comment 40•6 years ago
|
||
Comment 41•6 years ago
|
||
Comment 42•6 years ago
|
||
Comment 43•6 years ago
|
||
Comment 44•6 years ago
|
||
Comment 45•6 years ago
|
||
Comment 46•6 years ago
|
||
Comment 47•6 years ago
|
||
Comment 48•6 years ago
|
||
Comment 49•6 years ago
|
||
Comment 50•6 years ago
|
||
Comment 51•6 years ago
|
||
Comment 52•6 years ago
|
||
Comment 54•6 years ago
|
||
Comment 55•6 years ago
|
||
Comment 56•6 years ago
|
||
Comment 57•6 years ago
|
||
Comment 58•6 years ago
|
||
Comment 59•6 years ago
|
||
Comment 60•6 years ago
|
||
Comment 61•6 years ago
|
||
Comment 62•6 years ago
|
||
Comment 63•6 years ago
|
||
Comment 64•6 years ago
|
||
Comment 65•6 years ago
|
||
Comment 66•6 years ago
|
||
Comment 67•6 years ago
|
||
Comment 68•6 years ago
|
||
Comment 69•6 years ago
|
||
Comment 70•6 years ago
|
||
Comment 71•6 years ago
|
||
Comment 72•6 years ago
|
||
Comment 73•6 years ago
|
||
Comment 74•6 years ago
|
||
Comment 75•6 years ago
|
||
Comment 76•6 years ago
|
||
Comment 77•6 years ago
|
||
Comment 78•6 years ago
|
||
Comment 79•6 years ago
|
||
Comment 80•6 years ago
|
||
Comment 81•6 years ago
|
||
Comment 82•6 years ago
|
||
Comment 83•6 years ago
|
||
Comment 85•6 years ago
|
||
Comment 86•6 years ago
|
||
Comment 87•6 years ago
|
||
Comment 88•6 years ago
|
||
Comment 89•6 years ago
|
||
Comment 90•6 years ago
|
||
Comment 91•6 years ago
|
||
Comment 92•6 years ago
|
||
Comment 93•6 years ago
|
||
Comment 94•6 years ago
|
||
Updated•6 years ago
|
Comment 95•6 years ago
|
||
Comment 96•6 years ago
|
||
Having consulted with Product on this, we've decided to cancel the content-select project. Tommy, Emma and Neil have done fantastic work here getting this started, but given how it breaks user expectations and accessibility under certain circumstances with Fission, we think this is the correct course of action.
Improvements to the <select> dropdown for additional styling capabilities and improved performance are still worth investing in, but I'm afraid rendering the dropdown in the content process, what with Fission bearing down on us, is not.
Comment 97•6 years ago
|
||
Do we have an alternate plan for resolving bug 1118086?
Comment 98•6 years ago
|
||
(In reply to Boris Zbarsky [:bzbarsky, bz on IRC] from comment #97)
Do we have an alternate plan for resolving bug 1118086?
A few things come to mind:
- We could send the <option>'s list to the parent in batches, and have it assemble it in multiple ticks of the event loop
- We could investigate whether or not we're doing silly things when constructing and displaying the menulist itself.
Neither of these, however, are the focus of the front-end performance team right now (we're kinda laser-focused on start-up at the moment).
Comment 99•5 years ago
|
||
There are also a few styling issues that are not clear to me how to properly handle without reworking how our current select code works.
In particular, stuff like bug 1576820 (we have other dupes of that I'm sure)...
We should probably brainstorm a bit more about this... Can we render the popup in-content, and just send the rendered thing to the graphics layer directly, maybe? That seems hard for hit-testing or such... I don't know, but other browsers seem to handle that fine.
Do other browsers suffer from the same issues that made this bug wontfix?
Comment 100•5 years ago
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #99)
Do other browsers suffer from the same issues that made this bug wontfix?
I believe Blink-based browsers, old-Edge, IE and Safari all render their <select> dropdowns in the parent process, so they don't suffer any of the same issues that made this WONTFIX.
This also means that they, like us, only implement a small subset of the styling rules for <option> elements in <select> dropdowns.
Comment 101•5 years ago
|
||
(In reply to Mike Conley (:mconley) (:⚙️) from comment #100)
I believe Blink-based browsers, old-Edge, IE and Safari all render their <select> dropdowns in the parent process, so they don't suffer any of the same issues that made this WONTFIX.
Yet bug 1576820 works there, looks like, at least in Chrome... So they're clearly doing something different.
Comment 102•5 years ago
|
||
I'll dig a bit more.
Comment 103•5 years ago
|
||
So apparently Blink uses out-of-page (out of process) popups in Mac and Android, but not Windows and Linux:
- https://cs.chromium.org/chromium/src/content/renderer/render_thread_impl.cc?l=721&rcl=ab4ecdb6a2dacf0a35344c2baa9509a9659eec86
- https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/page/chrome_client_impl.cc?l=856&rcl=ab4ecdb6a2dacf0a35344c2baa9509a9659eec86
That's a bit surprising, but not too much I guess?
Description
•