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)
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: cillosis, Assigned: enndeakin)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
23.22 KB,
image/png
|
Details | |
4.52 KB,
patch
|
Felipe
:
review+
|
Details | Diff | Splinter Review |
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.
Comment 1•8 years ago
|
||
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
Assignee | ||
Comment 2•8 years ago
|
||
The computed display should be used in SelectContentHelper.jsm
Assignee | ||
Comment 3•8 years ago
|
||
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Assignee | ||
Updated•8 years ago
|
Attachment #8802665 -
Flags: review?(felipc)
Updated•8 years ago
|
Attachment #8802665 -
Flags: review?(felipc) → review+
Assignee | ||
Comment 4•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/77b45a6a8309c54549223ab570017585b2fa0283
Bug 1309652, use computed display when determining option display values, r=felipe
Comment 5•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•