Closed
Bug 748434
Opened 12 years ago
Closed 12 years ago
Text Cut Off in Buttons, Mixed Font Sizes
Categories
(Firefox for Android Graveyard :: General, defect, P1)
Tracking
(firefox14 verified, firefox15 verified, firefox16 verified, blocking-fennec1.0 +)
VERIFIED
FIXED
Firefox 16
People
(Reporter: damons, Assigned: dbaron)
References
Details
(Whiteboard: readability [testday-20120608] MTD)
Attachments
(4 files)
194.70 KB,
image/png
|
Details | |
152.36 KB,
image/png
|
Details | |
452 bytes,
text/html
|
Details | |
9.95 KB,
patch
|
roc
:
review+
blassey
:
approval-mozilla-aurora+
blassey
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Visit Bugzilla, attempt to log in, Buttons contain text that is cut off. See attached screenshot Galaxy Nexus 14.0a1 (2012-04-24) Nightly
Updated•12 years ago
|
Blocks: font-inflation
Whiteboard: readability
Updated•12 years ago
|
Whiteboard: readability → readability, DUPEME
ycombinator + button bug
Assignee | ||
Comment 2•12 years ago
|
||
Seems like either we should (a) be making the button bigger or (b) not inflating it because it's constrained width.
Updated•12 years ago
|
Whiteboard: readability, DUPEME → readability
Assignee | ||
Comment 3•12 years ago
|
||
(that should have been bug 708175, but we should see why it wasn't fixed here)
Comment 4•12 years ago
|
||
also, I don't think this is related to ycombinator. Needs some investigation.
blocking-fennec1.0: --- → ?
Updated•12 years ago
|
Assignee: nobody → sjohnson
blocking-fennec1.0: ? → +
related to bug 706889?
Updated•12 years ago
|
Priority: -- → P1
Comment 6•12 years ago
|
||
This issue still occurs on the latest Nightly build. -- Firefox 15.0a1 (2012-05-23) Device: Galaxy Nexus OS: Android 4.0.2
Comment 9•12 years ago
|
||
Here's a reduced test case for this that I created. If we disable the table code, the problem goes away. So, this could be a case of the table cell being a font inflation container, when we really want the button itself to be a font inflation container.
Assignee | ||
Comment 10•12 years ago
|
||
Blocks need to check whether the inflation-disabled-for-intrinsic-width state matches the state that was used for their cached min width before using their cached min width (and need to use a bit to store that). I don't think anything else other than blocks needs this because blocks are the only things inside of form controls that cache intrinsic widths.
Assignee: sjohnson → dbaron
Assignee | ||
Comment 11•12 years ago
|
||
Attachment #630338 -
Flags: review?(roc)
Attachment #630338 -
Flags: review?(roc) → review+
Assignee | ||
Comment 12•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/81f6b1cfbba5
Target Milestone: --- → Firefox 16
Assignee | ||
Comment 13•12 years ago
|
||
Backed out: https://hg.mozilla.org/integration/mozilla-inbound/rev/d5d6b37f2e13 because the test is failing once I remove my local work for bug 707195 from my tree. I have no idea why it's making any difference, though.
Assignee | ||
Comment 14•12 years ago
|
||
Relanded: https://hg.mozilla.org/integration/mozilla-inbound/rev/d24460a6ee1c with a workaround as described in the comment in the test, and also an added comment in nsFontInflationData on the same issue.
Comment 15•12 years ago
|
||
(In reply to David Baron [:dbaron] from comment #14) > Relanded: > https://hg.mozilla.org/integration/mozilla-inbound/rev/d24460a6ee1c > with a workaround as described in the comment in the test, and also an added > comment in nsFontInflationData on the same issue. https://hg.mozilla.org/mozilla-central/rev/d24460a6ee1c
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 16•12 years ago
|
||
Need FF14 (beta) approval request and uplift on this one.
Assignee | ||
Comment 17•12 years ago
|
||
Comment on attachment 630338 [details] [diff] [review] patch [Approval Request Comment] Bug caused by (feature/regressing bug #): bug 706609 (being incomplete) User impact if declined: text gets cut off in buttons that are inside things that size intrinsically, such as tables and some floats Testing completed (on m-c, etc.): on m-c Risk to taking this patch (and alternatives if risky): slight performance risk, though probably not significant; also just general risk from adding anything new (though again relatively low) String or UUID changes made by this patch: none
Attachment #630338 -
Flags: approval-mozilla-beta?
Attachment #630338 -
Flags: approval-mozilla-aurora?
Updated•12 years ago
|
Attachment #630338 -
Flags: approval-mozilla-beta?
Attachment #630338 -
Flags: approval-mozilla-beta+
Attachment #630338 -
Flags: approval-mozilla-aurora?
Attachment #630338 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 18•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/851cdb368ca1 https://hg.mozilla.org/releases/mozilla-beta/rev/16bb2de8a125
status-firefox14:
--- → fixed
status-firefox15:
--- → fixed
Comment 19•12 years ago
|
||
I can verify fixed in Galaxy S2 with Android 2.3.4 and the latest Firebox Beta
Whiteboard: readability → readability [testday-20120608] MTD
Backed out of Aurora due to perma-orange on Linux PGO Moth. https://hg.mozilla.org/releases/mozilla-aurora/rev/5838fc84511b
Assignee | ||
Comment 21•12 years ago
|
||
relanded successfully: https://hg.mozilla.org/releases/mozilla-aurora/rev/49541cfaf38f
Assignee | ||
Updated•12 years ago
|
Comment 22•12 years ago
|
||
I'm still seeing cases of text cut off in buttons and mixed font sizes, so I filed bug 766172 and bug 766170.
Comment 23•12 years ago
|
||
There are still issues regarding the font inflation on regular text (covered by other bugs), but the text is no longer cut off in buttons. Closing bug as verified fixed on: -- Firefox 16.0a1 (2012-07-09) Firefox 15.0a2 (2012-07-09) Firefox 14 Beta Device: Galaxy Nexus OS: Android 4.0.4
Status: RESOLVED → VERIFIED
status-firefox16:
--- → verified
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•