Refactor Browser Chrome to use flex layout

RESOLVED WONTFIX

Status

Firefox OS
Gaia::System::Browser Chrome
RESOLVED WONTFIX
4 years ago
5 months ago

People

(Reporter: benfrancis, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [systemsfe])

(Reporter)

Description

4 years ago
The CSS for Browser Chrome, in particular the width the Rocketbar, is currently very complex with lots of special cases. There are also weird side effects like a different width collapsed Rocketbar depending on the width of the expanded Rocketbar.

I think we could simplify it a lot by using a flex layout, but we need to be very careful about harming performance.
(Reporter)

Comment 1

4 years ago
Note: I previously started working on this in bug 1054778, but it became too risky for 2.1. We should revisit this for 2.2.
Depends on: 1087719
(Reporter)

Updated

4 years ago
Assignee: nobody → bfrancis
Whiteboard: [systemsfe]
(Reporter)

Comment 2

4 years ago
I'm working on a proof of concept, although I'm not sure if it's going to work http://people.mozilla.org/~bfrancis/flex_chrome/

The basic idea is that we use a simple flex layout for the resting expanded and collapsed states, and for the transition we temporarily pop out the URL bar into fixed positioning in order to transition it.
(Reporter)

Comment 3

3 years ago
Browser chrome may change completely in v3, so unassigning myself until we know more.
Assignee: bfrancis → nobody

Comment 4

5 months ago
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: 5 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.