Closed Bug 907069 Opened 12 years ago Closed 7 years ago

<table> and <pre> font sizes are much too small

Categories

(Firefox for Android Graveyard :: General, defect)

24 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: xiaqqaix, Unassigned, NeedInfo)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release) Build ID: 20130817191046 Steps to reproduce: Open a page that contains either <table> or <pre> tags, e.g. http://golang.org/ref/spec. For best effect, go to Settings and set the font size to maximum. Pay attention to the font size in those <table> and <pre>, esp. compared to surrounding text. Actual results: Texts in <table> and <pre> are significantly smaller. Expected results: Font sizes in <table> and <pre> should match those elsewhere.
I can provide a screenshot if that's not always reproducible.
Which version of Firefox are you testing with? Do you see the same thing using Nightly for Android (http://nightly.mozilla.org) ?
So this is probably expected behavior. Likely what is happening is that the surrounding text is being inflated by font inflation, which is disabled on <pre> elements. For the table elements, it's possible that, depending on the amount of horizontal and vertical space available for the table cell, Gecko has determined that it can't inflate text without potentially messing up layout of the page, so it doesn't inflate. To verify this, we can test the page with font inflation turned off under Settings->Display->Text Size (set to 'Tiny').
(In reply to Aaron Train [:aaronmt] from comment #2) > Which version of Firefox are you testing with? Do you see the same thing > using Nightly for Android (http://nightly.mozilla.org) ? Both Firefox 24 and Nightly.
(In reply to Scott Johnson (:jwir3) from comment #3) > So this is probably expected behavior. Likely what is happening is that the > surrounding text is being inflated by font inflation, which is disabled on > <pre> elements. For the table elements, it's possible that, depending on the > amount of horizontal and vertical space available for the table cell, Gecko > has determined that it can't inflate text without potentially messing up > layout of the page, so it doesn't inflate. > By expected behavior is this a known bug or what the user would expect? If it's the latter I would sure argue against it. It is now painful to read texts in <pre> and <table> since even with a "medium" text size they are still very small. Zooming in does increase their sizes as well, but that in turn makes other texts too big. Also, when you increase the text size in Settings you expect that all texts will now be bigger. > To verify this, we can test the page with font inflation turned off under > Settings->Display->Text Size (set to 'Tiny').
Hi, Does this issue still reproduce? Thanks!
Flags: needinfo?(xiaqqaix)
Closing per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195 Contact :susheel if you think this bug should be re-opened
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.