Closed
Bug 861702
Opened 11 years ago
Closed 11 years ago
PanelUI sub-view container can end up showing multiple views
Categories
(Firefox :: Toolbars and Customization, defect)
Firefox
Toolbars and Customization
Tracking
()
RESOLVED
FIXED
Firefox 28
People
(Reporter: Unfocused, Assigned: Unfocused)
References
Details
Attachments
(1 file, 1 obsolete file)
2.38 KB,
patch
|
jaws
:
review+
|
Details | Diff | Splinter Review |
Trying to open both the subviews we have at the moment ends up messing up the display, showing two subviews. Turns out the history subview doesn't include class="PanelUI-subView", which is needed to hide it. That's the only time we use that class, and its not obvious what the consequences are if left out. We don't actually need it - all we're using it for is to match all children of PanelUI-subViews.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #737316 -
Flags: review?(mconley)
Comment 2•11 years ago
|
||
Comment on attachment 737316 [details] [diff] [review] Patch v1 Review of attachment 737316 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/themes/shared/panelUIOverlay.inc.css @@ +85,5 @@ > transform: translateX(@menuPanelWidth@); > transition: transform 150ms; > } > > +#PanelUI-subViews > *:not([current]) { The seems like it would be pretty bad for performance since it would first retrieve all elements in the DOM and then check their parent. Could buildWidget just add the class?
Updated•11 years ago
|
OS: Windows 8 → All
Hardware: x86_64 → All
Assignee | ||
Comment 3•11 years ago
|
||
Ugh, yes. Must remember selectors are read RTL.
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #737316 -
Attachment is obsolete: true
Attachment #737316 -
Flags: review?(mconley)
Attachment #737318 -
Flags: review?(jaws)
Updated•11 years ago
|
Attachment #737318 -
Flags: review?(jaws) → review+
Assignee | ||
Comment 5•11 years ago
|
||
https://hg.mozilla.org/projects/jamun/rev/78acb3457fe4
Whiteboard: [fixed in jamun]
Comment 6•11 years ago
|
||
https://hg.mozilla.org/projects/ux/rev/1b5f8fb0a275
Whiteboard: [fixed in jamun] → [fixed in jamun][fixed-in-ux]
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1b5f8fb0a275
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed in jamun][fixed-in-ux]
Target Milestone: --- → Firefox 28
You need to log in
before you can comment on or make changes to this bug.
Description
•