Closed
Bug 747720
Opened 13 years ago
Closed 13 years ago
Strange text rendering on phoronix.com because font inflation uses different width basis within the same flow (including across overflow!=visible)
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: micmon, Assigned: dbaron)
References
(Blocks 1 open bug)
Details
(Whiteboard: readability)
Attachments
(9 files)
|
216.49 KB,
image/png
|
Details | |
|
2.13 KB,
patch
|
roc
:
review+
blassey
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
|
15.87 KB,
patch
|
roc
:
review+
blassey
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
|
8.68 KB,
patch
|
roc
:
review+
blassey
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
|
1.16 KB,
patch
|
roc
:
review+
blassey
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
|
32.41 KB,
patch
|
roc
:
review+
blassey
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
|
9.54 KB,
patch
|
roc
:
review+
blassey
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
|
8.26 KB,
patch
|
roc
:
review+
blassey
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
|
270.05 KB,
image/png
|
Details |
On the phoronix.com main page, news items with short summaries are displayed using a much smaller font compared to those with longer summaries. The small summaries are barely readable. On desktop Firefox, this doesn't happen.
Comment 1•13 years ago
|
||
It's font-inflation at work here. I'm hesitant to believe that it's working properly in this case. Scott or David, can you confirm?
Blocks: font-inflation
Updated•13 years ago
|
Whiteboard: readability
| Assignee | ||
Updated•13 years ago
|
| Assignee | ||
Comment 2•13 years ago
|
||
I'm going to put a series of patches in this bug that's essentially the first phase of bug 707195. Since it doesn't fully fix bug 707195, I don't want to put it there, but it does fully fix this bug.
| Assignee | ||
Comment 3•13 years ago
|
||
Attachment #625233 -
Flags: review?(roc)
| Assignee | ||
Comment 4•13 years ago
|
||
Attachment #625234 -
Flags: review?(roc)
| Assignee | ||
Comment 5•13 years ago
|
||
Attachment #625235 -
Flags: review?(roc)
| Assignee | ||
Comment 6•13 years ago
|
||
Attachment #625236 -
Flags: review?(roc)
| Assignee | ||
Comment 7•13 years ago
|
||
Attachment #625237 -
Flags: review?(roc)
| Assignee | ||
Comment 8•13 years ago
|
||
Attachment #625238 -
Flags: review?(roc)
| Assignee | ||
Comment 9•13 years ago
|
||
Attachment #625239 -
Flags: review?(roc)
Attachment #625233 -
Flags: review?(roc) → review+
Attachment #625234 -
Flags: review?(roc) → review+
Attachment #625235 -
Flags: review?(roc) → review+
Attachment #625236 -
Flags: review?(roc) → review+
Attachment #625237 -
Flags: review?(roc) → review+
Attachment #625238 -
Flags: review?(roc) → review+
Attachment #625239 -
Flags: review?(roc) → review+
| Assignee | ||
Comment 10•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4cbae0f1285c
https://hg.mozilla.org/integration/mozilla-inbound/rev/6b7c2ea08f70
https://hg.mozilla.org/integration/mozilla-inbound/rev/63c2a4ad7afb
https://hg.mozilla.org/integration/mozilla-inbound/rev/d643376b35ac
https://hg.mozilla.org/integration/mozilla-inbound/rev/0805380444b2
https://hg.mozilla.org/integration/mozilla-inbound/rev/e2f0d40f26b4
https://hg.mozilla.org/integration/mozilla-inbound/rev/9620f50be9fa
Comment 11•13 years ago
|
||
Nominating for blocking-fennec because this is a dependency of bug 707195 which is blocking-fennec1.0+
blocking-fennec1.0: --- → ?
Updated•13 years ago
|
blocking-fennec1.0: ? → +
Comment 12•13 years ago
|
||
Daivd - How much testing do you think this needs on trunk before getting to release?
| Assignee | ||
Comment 13•13 years ago
|
||
I'd like it to get at least a few days on trunk before pushing it in a beta.
Also, I realize I might need to adjust the fix for bug 708175 to walk further up the tree, or something like that, to deal with inflation containers being less important a concept as a result of the patches here. (Or maybe not. I need to investigate, though.)
Comment 14•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4cbae0f1285c
https://hg.mozilla.org/mozilla-central/rev/6b7c2ea08f70
https://hg.mozilla.org/mozilla-central/rev/63c2a4ad7afb
https://hg.mozilla.org/mozilla-central/rev/d643376b35ac
https://hg.mozilla.org/mozilla-central/rev/0805380444b2
https://hg.mozilla.org/mozilla-central/rev/e2f0d40f26b4
https://hg.mozilla.org/mozilla-central/rev/9620f50be9fa
Assignee: nobody → dbaron
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 15•13 years ago
|
||
Comment on attachment 625233 [details] [diff] [review]
Save and expose on nsFontInflationData the width of the nearest common ancestor of the inflated descendants. (, patch 1)
This comment applies to all 7 patches.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 627842 / bug 706193
User impact if declined: font inflation is less consistent across neighboring areas of text
Testing completed (on m-c, etc.): on mozilla-central, tested against a few sites with reported problems
Risk to taking this patch (and alternatives if risky): This set of patches makes pretty significant changes to the way we do font inflation -- in general, to make things within the same container more likely to behave the same way rather than differently. I'm reasonably confident the behavior changes will be a net improvement, though it's certainly possible that some pages might be worse as a result.
String or UUID changes made by this patch: None, though it changes the object layout of nsPresContext, which should basically be layout-internal although it's possible some external code depends on it.
Attachment #625233 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Updated•13 years ago
|
Attachment #625234 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Updated•13 years ago
|
Attachment #625235 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Updated•13 years ago
|
Attachment #625236 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Updated•13 years ago
|
Attachment #625237 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Updated•13 years ago
|
Attachment #625238 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Updated•13 years ago
|
Attachment #625239 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Comment 16•13 years ago
|
||
(In reply to David Baron [:dbaron] from comment #13)
> Also, I realize I might need to adjust the fix for bug 708175 to walk
> further up the tree, or something like that, to deal with inflation
> containers being less important a concept as a result of the patches here.
> (Or maybe not. I need to investigate, though.)
Actually, things are fine as they are now, since nsLayoutUtils::InflationMinFontSizeFor calls ShouldInflateFontsForContainer on the container before getting the nsFontInflationData for the flow root.
Updated•13 years ago
|
Attachment #625233 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•13 years ago
|
Attachment #625234 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•13 years ago
|
Attachment #625235 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•13 years ago
|
Attachment #625236 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•13 years ago
|
Attachment #625237 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•13 years ago
|
Attachment #625238 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•13 years ago
|
Attachment #625239 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
| Assignee | ||
Comment 17•13 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/562f7505891e
https://hg.mozilla.org/releases/mozilla-aurora/rev/a85cb76bb4fd
https://hg.mozilla.org/releases/mozilla-aurora/rev/750366fff45c
https://hg.mozilla.org/releases/mozilla-aurora/rev/c7c3f34a8bc3
https://hg.mozilla.org/releases/mozilla-aurora/rev/d6264b8231b7
https://hg.mozilla.org/releases/mozilla-aurora/rev/f7b35488a05b
https://hg.mozilla.org/releases/mozilla-aurora/rev/1c4729a52ff1
status-firefox14:
--- → fixed
| Assignee | ||
Updated•13 years ago
|
Summary: Strange text rendering on phoronix.com → Strange text rendering on phoronix.com because font inflation uses different width basis within the same flow (including across overflow!=visible)
Comment 19•13 years ago
|
||
I still see this issue on the latest Nightly and Aurora builds. Reopening bug
--
Firefox 15.0a1 (2012-06-01)
Firefox 14.0a2 (2012-06-01)
Device: Samsung Galaxy Nexus:
OS: Android 4.0.2
Updated•13 years ago
|
status-firefox15:
--- → affected
Updated•13 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 20•13 years ago
|
||
That's a screenshot of Google News, not phoronix.com.
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
status-firefox15:
affected → ---
Resolution: --- → FIXED
| Assignee | ||
Comment 21•13 years ago
|
||
I backed part of this out to fix bug 760098.
| Assignee | ||
Updated•13 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 23•13 years ago
|
||
Backing out part of this bug resulted in reddit.com font inflation issues, as well as re-emergence of the initial issue on phoronix.com.
This is temporary until the depending crasher is fixed, right?
Comment 24•13 years ago
|
||
Still a blocker, going to backout the change in bug 760098
blocking-fennec1.0: ? → +
| Assignee | ||
Comment 25•13 years ago
|
||
Fix relanded:
https://hg.mozilla.org/mozilla-central/rev/880037c0ff1e
https://hg.mozilla.org/releases/mozilla-aurora/rev/bbbcb681820d
https://hg.mozilla.org/releases/mozilla-beta/rev/494a2756d358
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
status-firefox15:
--- → fixed
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•