Closed Bug 1309652 Opened 8 years ago Closed 8 years ago

[e10s] CSS "display: none;" not working on <option> elements

Categories

(Core :: Layout: Form Controls, defect)

49 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla52
Tracking Status
firefox52 --- fixed

People

(Reporter: cillosis, Assigned: enndeakin)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36

Steps to reproduce:

With a fresh install of version 49.0.1, view this JS fiddle: https://jsfiddle.net/e6q96zva/6/


Actual results:

The dropdown will show both the visible and hidden <option> elements, despite CSS being applied to completely hide it.

For a coworker, it worked just fine though in his Firefox (same version) and we determined through experimentation that me installing the "Classic Theme Restorer" Add-On (https://addons.mozilla.org/en-US/firefox/addon/classicthemerestorer/) will make the CSS parse correctly again. Disabling the add-on returned it back to the broken state.

A few oddities observed:

- When my coworker disables the add-on, his still works correctly. It appears this may be due to one or more other plugins/add-ons he has installed.

- If I use javascript (uncomment the blurb in the fiddle), it WILL work.


Expected results:

The expectation is the <option> tag will not be rendered when "display: none;" CSS is applied.
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
it's e10s only issue, related to bug 910022.
Blocks: e10s-select
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout: Form Controls
Ever confirmed: true
Product: Firefox → Core
See Also: → 910022
Summary: CSS "display: none;" not working on <option> elements → [e10s] CSS "display: none;" not working on <option> elements
The computed display should be used in SelectContentHelper.jsm
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Attachment #8802665 - Flags: review?(felipc)
Attachment #8802665 - Flags: review?(felipc) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/77b45a6a8309c54549223ab570017585b2fa0283
Bug 1309652, use computed display when determining option display values, r=felipe
https://hg.mozilla.org/mozilla-central/rev/77b45a6a8309
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: