Closed Bug 1402627 Opened 7 years ago Closed 4 years ago

WebExtensions: Options Page - cannot style <option> elements with CSS (e.g. font-size)

Categories

(WebExtensions :: Frontend, defect, P3)

57 Branch
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: dw-dev, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0
Build ID: 20170809080026

Steps to reproduce:

Tested with my Tile Tabs WE add-on.
Clicked on 'Options' button for Tile Tabs WE in Add-ons Manager.
Clicked on 'Open Link' <select> drop-down menu list.
The <option> elements are styled with CSS to set the font-family and font-size.

The default font size is much too large if you have and add-on with a significant number of options.

The CSS styling does work correctly with Firefox 55.

This problem may be related to Bug 1387628 and/or Bug 1375476.



Actual results:

The <option> elements are not styled correctly
The CSS font-family and font-size properties have no effect.




Expected results:

The <option> elements should be styled correctly.
The CSS font-family and font-size properties should be applied correctly.
Flags: needinfo?(lgreco)
Component: Untriaged → WebExtensions: Frontend
Product: Firefox → Toolkit
Assignee: nobody → lgreco
Priority: -- → P3
This looks like a general issue related to e10s and the options styling, it doesn't seem to be specific to the oop extension mode because it also happen for regular web pages.

I'm going to add Bug 1375476 as a blocker of this issue (once the issue has been fixed for the regular web pages, we can test this again to be sure that there aren't also issues specific to the oop extensions mode).
Assignee: lgreco → nobody
Depends on: 1375476
Flags: needinfo?(lgreco)
Product: Toolkit → WebExtensions

Bug 1375476 has been fixed (for a limited set of CSS properties) in mozilla-67, so it would be good to re-test this and confirm whether the issue is resolved.

Flags: needinfo?(dw-dev)

As a result of this bug, I no longer display the options of my extensions in the Firefox Add-ons Manager page.

The options are now displayed in a separate tab.

So I have no quick way to test if this bug is fixed.

I have re-tested using Tile Tabs WE with "options_ui": { "open_in_tab": false } - and I can confirm that this issue is resolved.

Flags: needinfo?(dw-dev)
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.