LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 07-05-2021, 04:52 AM   #1
SwissLinux
LQ Newbie
 
Registered: Feb 2019
Posts: 11

Rep: Reputation: Disabled
Firefox fail to style option in dropdown (select)


Example html:
<select><option style="background-color:#faa;">test</option></select>

Firefox on linux fail to display style
Chrome works
Firefox on Windows works.

SEE
https://bugzilla.mozilla.org/show_bug.cgi?id=1338283
 
Old 07-07-2021, 03:23 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by SwissLinux View Post
Example html:
<select><option style="background-color:#faa;">test</option></select>

Firefox on linux fail to display style
Chrome works
Firefox on Windows works.

SEE
https://bugzilla.mozilla.org/show_bug.cgi?id=1338283
Can reproduce. I seem to remember there was an option to switch off desktop theme styling for any UI element on web pages something like:
Code:
-moz-appearance:none;
but it clearly doesn't seem to work on the <option> element.

Not sure how that bug report relates, or how it contributes to solving this problem?

Just to clarify:
You are asking about how FF renders web pages, not about FF's own UI.

Also see: https://developer.mozilla.org/en-US/...CSS/appearance

FF version: 78.11.0esr

Last edited by ondoho; 07-07-2021 at 03:41 AM.
 
Old 07-07-2021, 07:12 AM   #3
SwissLinux
LQ Newbie
 
Registered: Feb 2019
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks for reply.
I rechecked:
Firefox ON Windows10: Option styling works.
It seems an old Problem between FireFox and Linux.

I am still looking for a Workaround for Linux-Users.
 
  


Reply

Tags
firefox, option, select, style



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] if [[ -n "$1" ]]; then FAIL FAIL FAIL rbees Programming 7 03-25-2015 02:39 PM
How to style Browser's HTML Dropdown List using Linux GTK+ 2.0 themes riteshjagga Linux - General 4 07-08-2014 11:52 AM
[SOLVED] Firefox tooltips and dropdown menus deprecated holden87 Linux - Desktop 6 06-27-2014 03:53 AM
using Universal USB Installer - can I select U12.04.2 from their dropdown list if... RedBullion Linux - Newbie 1 08-31-2013 04:45 PM
how to change mandrake style menu to kde style menu msalimane Mandriva 1 12-07-2004 01:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration