Closed
Bug 512332
Opened 15 years ago
Closed 15 years ago
Identity panel text layout is wrong
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(fennec1.0+)
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
fennec | 1.0+ | --- |
People
(Reporter: madhava, Assigned: mfinkle)
References
Details
(Whiteboard: [polish])
Attachments
(2 files, 1 obsolete file)
197.54 KB,
image/png
|
Details | |
4.06 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
For an example, go here:
https://www.britishairways.com/travel/globalgateway.jsp/global/public/en_
and then tap on the larry (site) button.
Assignee | ||
Comment 1•15 years ago
|
||
Turns out this is a Mac-only bug (yay!?)
Mac CSS doesn't set the start/end margins for labels and descriptions, while Windows and Linux do. This patch sets the start/end margins to the Windows/Linux values. Redundant for Windows & Linux, but needed for Mac.
Assignee: nobody → mark.finkle
Attachment #396391 -
Flags: review?(gavin.sharp)
Updated•15 years ago
|
Attachment #396391 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 2•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 3•15 years ago
|
||
I think I should have been more specific. Here's a diagram with the problem flagged.
(also, if we can concatenate strings, maybe use some commas)
Reporter | ||
Updated•15 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 4•15 years ago
|
||
This patch yields a better result, but has spacing issues.
Screenshots:
http://people.mozilla.com/~mfinkle/fennec/screenshots/fennec-identity-layout-03.png
http://people.mozilla.com/~mfinkle/fennec/screenshots/fennec-identity-layout-05.png
Attachment #396391 -
Attachment is obsolete: true
Reporter | ||
Comment 5•15 years ago
|
||
Spacing issues or no, this is far better than what we have currently. What are the spacing issues?
Assignee | ||
Updated•15 years ago
|
Attachment #396771 -
Flags: review?(gavin.sharp)
Comment 6•15 years ago
|
||
Comment on attachment 396771 [details] [diff] [review]
patch 2
I don't really understand why display: block on the hbox has an effect here, can you explain?
Assignee | ||
Comment 7•15 years ago
|
||
hbox { display: block} will allow the contents to wrap like in an html div. This means if the container is wide enough, the owner & address text will appear on one line. If not, it will wrap so the address text is one a second line.
Updated•15 years ago
|
Attachment #396771 -
Flags: review?(gavin.sharp) → review+
Comment 8•15 years ago
|
||
Comment on attachment 396771 [details] [diff] [review]
patch 2
Seems like we should probably just use an actual html:div instead, then? Does the flex="1" do anything? I don't know xul well enough to suggest a better alternative, so if it works...
Assignee | ||
Comment 9•15 years ago
|
||
(In reply to comment #8)
> (From update of attachment 396771 [details] [diff] [review])
> Seems like we should probably just use an actual html:div instead, then? Does
> the flex="1" do anything? I don't know xul well enough to suggest a better
> alternative, so if it works...
hbox { display: block; } is pretty handy. Enn told me about it, so I assume it's a known feature and not a side-effect.
The flex on the hbox only works in the vertical, so it's not helpful here.
Assignee | ||
Comment 10•15 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Comment 11•15 years ago
|
||
verified FIXED on builds:
Mozilla/5.0 (X11; U; Linux armv6l; en-US; rv:1.9.2b1pre) Gecko/20091006
Fennec/1.0b4
and
Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.2b1pre) Gecko/20091006
Fennec/1.0b4
Follow-up bug 520786 was filed for the Omnia 2.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•