[e10s] Properly style <option> elements in the parent process UI (support color and background on select options)
Categories
(Core :: Layout: Form Controls, defect, P1)
Tracking
()
People
(Reporter: Felipe, Assigned: beachjar)
References
(Depends on 9 open bugs, Blocks 3 open bugs)
Details
(Keywords: dev-doc-complete)
Attachments
(3 files)
Reporter | ||
Comment 1•11 years ago
|
||
Updated•11 years ago
|
Updated•11 years ago
|
![]() |
||
Updated•10 years ago
|
![]() |
||
Updated•9 years ago
|
Comment 8•9 years ago
|
||
![]() |
||
Comment 10•9 years ago
|
||
Comment 11•9 years ago
|
||
![]() |
||
Updated•9 years ago
|
Comment 14•9 years ago
|
||
![]() |
||
Comment 15•9 years ago
|
||
![]() |
||
Comment 16•9 years ago
|
||
Comment 17•9 years ago
|
||
Comment 18•9 years ago
|
||
Comment 20•8 years ago
|
||
Comment 21•8 years ago
|
||
![]() |
||
Comment 22•8 years ago
|
||
Comment 23•8 years ago
|
||
Comment 24•8 years ago
|
||
Comment 25•8 years ago
|
||
Updated•8 years ago
|
Comment 28•8 years ago
|
||
Comment 29•8 years ago
|
||
Comment 32•8 years ago
|
||
Comment 33•8 years ago
|
||
![]() |
||
Comment 34•8 years ago
|
||
Comment 35•8 years ago
|
||
Comment 39•8 years ago
|
||
Updated•8 years ago
|
Comment 45•8 years ago
|
||
Comment 47•8 years ago
|
||
Comment hidden (mozreview-request) |
Comment 49•8 years ago
|
||
Comment 50•8 years ago
|
||
mozreview-review |
Comment 53•8 years ago
|
||
Comment 54•8 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 58•8 years ago
|
||
mozreview-review |
Comment 59•8 years ago
|
||
mozreview-review-reply |
Comment hidden (mozreview-request) |
Comment 61•8 years ago
|
||
Comment 62•8 years ago
|
||
bugherder |
Comment 65•8 years ago
|
||
Comment 66•8 years ago
|
||
Comment 67•8 years ago
|
||
Comment 68•8 years ago
|
||
Comment 69•8 years ago
|
||
Comment 71•8 years ago
|
||
Comment 75•8 years ago
|
||
Comment 76•8 years ago
|
||
Comment 77•8 years ago
|
||
Comment 78•8 years ago
|
||
Updated•8 years ago
|
Comment 79•8 years ago
|
||
Comment 80•8 years ago
|
||
Comment 81•8 years ago
|
||
Comment 82•8 years ago
|
||
Comment 83•8 years ago
|
||
Comment 84•8 years ago
|
||
Comment 85•8 years ago
|
||
Comment 86•8 years ago
|
||
Comment 87•8 years ago
|
||
Comment 88•8 years ago
|
||
Comment 89•8 years ago
|
||
Comment 90•8 years ago
|
||
Comment 91•8 years ago
|
||
Comment 92•8 years ago
|
||
Comment 93•8 years ago
|
||
Comment 94•8 years ago
|
||
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment 98•8 years ago
|
||
Comment 99•8 years ago
|
||
Comment 100•8 years ago
|
||
Comment 101•6 years ago
|
||
Why is this marked as resolved? I'm using 66.0.3 64bit and support is still limited when multiprocess is enabled. Just see for example https://stackoverflow.com/questions/41244238/firefox-dropdown-option-font-size-not-being-rendered : result is still like in first image.
Is there any plan to fix this eventually?
Comment 102•6 years ago
|
||
(In reply to joey79100 from comment #101)
Why is this marked as resolved? I'm using 66.0.3 64bit and support is still limited when multiprocess is enabled. Just see for example https://stackoverflow.com/questions/41244238/firefox-dropdown-option-font-size-not-being-rendered : result is still like in first image.
Is there any plan to fix this eventually?
The issue you describe seems fixed by Bug 1375476 and is not reproducible in Firefox DevEdition or Nightly.
New issues with select styling in e10s can be filed as new bugs.
Comment 103•6 years ago
|
||
Having this issue on Ubuntu with Firefox 67.0.1 (64 bit)(In reply to Julian Descottes [:jdescottes] from comment #102)
(In reply to joey79100 from comment #101)
Why is this marked as resolved? I'm using 66.0.3 64bit and support is still limited when multiprocess is enabled. Just see for example https://stackoverflow.com/questions/41244238/firefox-dropdown-option-font-size-not-being-rendered : result is still like in first image.
Is there any plan to fix this eventually?The issue you describe seems fixed by Bug 1375476 and is not reproducible in Firefox DevEdition or Nightly.
New issues with select styling in e10s can be filed as new bugs.
I can reproduce issue on Ubuntu 18.04 (Cinnamon desktop 3.6.7) with Firefox 67.0.1 (64 bit). On Windows it works for me.
Comment 104•6 years ago
|
||
That's because this feature is disabled on Linux because of bug 1338283. I'm not 100% sure that's still a problem, but somebody needs to go through the distros and see if any of them are broken with dom.forms.select.customstyling
toggled to true
(requires a browser restart).
Comment 105•6 years ago
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #104)
That's because this feature is disabled on Linux because of bug 1338283. I'm not 100% sure that's still a problem, but somebody needs to go through the distros and see if any of them are broken with
dom.forms.select.customstyling
toggled totrue
(requires a browser restart).
THANK YOU - dom.forms.select.customstyling
toggled to true
is working in my distro
Comment 106•6 years ago
|
||
Are padding
or margin
styles expected to work within <option> elements? Years ago, I wrote HTML like this:
<select>
<option style="font-weight:bold">Section</option>
<option style="padding-left:1em">Item 1</option>
<option style="padding-left:1em">Item 1</option>
</select>
It used to render a bold "top-level" item and two "sub-items" which were indented like this:
SECTION
Item 1
Item 2
I'm assuming that the introduction of e10s broke this, but I don't remember when it stopped working. I had hoped that this bugfiz would get it to start working again, but it does not.
I can get <option> elements to style with colors, but padding doesn't seem to work.
Should padding be working, or is that not yet (or never will be) supported?
Comment 107•6 years ago
|
||
(In reply to Christopher Schultz from comment #106)
It used to render a bold "top-level" item and two "sub-items" which were indented like this:
SECTION
Item 1
Item 2
This didn't come-through well in the comment. Let me try again:
SECTION
Item 1
Item 2
Comment 108•6 years ago
|
||
It could be made to work with some work: https://searchfox.org/mozilla-central/rev/b3b401254229f0a26f7ee625ef5f09c6c31e3949/toolkit/actors/SelectChild.jsm#21
I'm not sure whether other browsers support that, but maybe file a bug to expand that list?
Description
•