03c2ea0eeba392924fdc150a4b64a7dd3ffc35c7: Pass nsFontMetrics to the GetEllipsis function rather than computing them again. (Bug 627842, patch 14) r=matspal
L. David Baron <dbaron@dbaron.org> - Tue, 15 Nov 2011 17:02:01 +1300 - rev 80262
Push 21481 by bmo@edmorley.co.uk at Tue, 15 Nov 2011 19:07:44 +0000
Pass nsFontMetrics to the GetEllipsis function rather than computing them again. (Bug 627842, patch 14) r=matspal
e24d196602bf7974675ad250850291ecea205fd7: Apply font size inflation to list bullets. (Bug 627842, patch 13) r=roc
L. David Baron <dbaron@dbaron.org> - Tue, 15 Nov 2011 17:02:01 +1300 - rev 80261
Push 21481 by bmo@edmorley.co.uk at Tue, 15 Nov 2011 19:07:44 +0000
Apply font size inflation to list bullets. (Bug 627842, patch 13) r=roc Note that this doesn't do anything about the indentation of the list, so for large inflation there may end up being overlap as a result.
450f2557d3a29230d1fbf3cf5bf71ea8b8961fd0: Apply font size inflation to heights of inlines. (Bug 627842, patch 12) r=roc
L. David Baron <dbaron@dbaron.org> - Tue, 15 Nov 2011 17:02:01 +1300 - rev 80260
Push 21481 by bmo@edmorley.co.uk at Tue, 15 Nov 2011 19:07:44 +0000
Apply font size inflation to heights of inlines. (Bug 627842, patch 12) r=roc
0235d1541e580e2eed554c668a1fbd058714bdae: Apply font size inflation to line heights. (Bug 627842, patch 11) r=roc
L. David Baron <dbaron@dbaron.org> - Tue, 15 Nov 2011 17:02:01 +1300 - rev 80259
Push 21481 by bmo@edmorley.co.uk at Tue, 15 Nov 2011 19:07:44 +0000
Apply font size inflation to line heights. (Bug 627842, patch 11) r=roc Since font size inflation applies to the text after style data computation, we must separately apply this inflation to line heights.
e0a82577259c560091a9a7bbe55764237a1f3d9c: Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc
L. David Baron <dbaron@dbaron.org> - Tue, 15 Nov 2011 17:02:01 +1300 - rev 80258
Push 21481 by bmo@edmorley.co.uk at Tue, 15 Nov 2011 19:07:44 +0000
Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc
b48954598d7dfcf4a8fd0f6625390f90d58b4de2: Apply font size inflation to text. (Bug 627842, patch 9) r=roc
L. David Baron <dbaron@dbaron.org> - Tue, 15 Nov 2011 17:02:01 +1300 - rev 80257
Push 21481 by bmo@edmorley.co.uk at Tue, 15 Nov 2011 19:07:44 +0000
Apply font size inflation to text. (Bug 627842, patch 9) r=roc This applies the font size inflation to reflow and painting of text frames. However, it does not (by design) apply to intrinsic width computation, since the inflation is itself a function of the containers width, which can depend on the intrinsic width.
0a2405eb5b90d7fcc799a719c891b57f0463c125: Pass block's reflow state to nsTextFrame::UnionAdditionalOverflow. (Bug 627842, patch 8) r=roc
L. David Baron <dbaron@dbaron.org> - Tue, 15 Nov 2011 17:02:01 +1300 - rev 80256
Push 21481 by bmo@edmorley.co.uk at Tue, 15 Nov 2011 19:07:44 +0000
Pass block's reflow state to nsTextFrame::UnionAdditionalOverflow. (Bug 627842, patch 8) r=roc
f197554cf98965efdfafa9b7c7b9d0c2b04c7a25: Use the text run's font group for the tab width instead of recomputing it from the frame. (Bug 627842, patch 7) r=roc
L. David Baron <dbaron@dbaron.org> - Tue, 15 Nov 2011 17:02:01 +1300 - rev 80255
Push 21481 by bmo@edmorley.co.uk at Tue, 15 Nov 2011 19:07:44 +0000
Use the text run's font group for the tab width instead of recomputing it from the frame. (Bug 627842, patch 7) r=roc
74f32abaa8c0b03f89df765fd071f27ddf454251: Add inflation parameter to nsLayoutUtils::GetFontMetricsFor* methods. (Bug 627842, patch 6) r=roc
L. David Baron <dbaron@dbaron.org> - Tue, 15 Nov 2011 17:02:00 +1300 - rev 80254
Push 21481 by bmo@edmorley.co.uk at Tue, 15 Nov 2011 19:07:44 +0000
Add inflation parameter to nsLayoutUtils::GetFontMetricsFor* methods. (Bug 627842, patch 6) r=roc
46669afabd153fb9b1db2ec5eaffc8a5ccb8edba: When font size inflation is enabled, horizontal resizes of blocks must cause a full dirty reflow. (Bug 627842, patch 5) r=bzbarsky
L. David Baron <dbaron@dbaron.org> - Tue, 15 Nov 2011 17:02:00 +1300 - rev 80253
Push 21481 by bmo@edmorley.co.uk at Tue, 15 Nov 2011 19:07:44 +0000
When font size inflation is enabled, horizontal resizes of blocks must cause a full dirty reflow. (Bug 627842, patch 5) r=bzbarsky This change is sufficient because the places that set mHResize to true other than InitResizeFlags and nsFrame::BoxReflow aren't a problem because they're in table code whose goal is to force the reflow to propagate down to the cell, and once we reach the cell we'll hit the code we've added here.
ac0ec1183d19fe05258e04f35d7ef7894451200b: Implement computation of font size inflation for improved readibility of text on mobile devices. (Bug 627842, patch 4) r=roc
L. David Baron <dbaron@dbaron.org> - Tue, 15 Nov 2011 17:02:00 +1300 - rev 80252
Push 21481 by bmo@edmorley.co.uk at Tue, 15 Nov 2011 19:07:44 +0000
Implement computation of font size inflation for improved readibility of text on mobile devices. (Bug 627842, patch 4) r=roc This implements computation of the font size inflation factor for a given frame. Since Fennec does layout using a fake viewport whose width represents a typical viewport width on the desktop and then allows users to pan and zoom, fonts are not always readable even when zoomed. The goal of this font size inflation is to ensure that when a block of text is zoomed to fill the width of the device, the fonts are large enough to read. We do this by increasing the font sizes in the page. Since this increase is a function of the width of the text's container, the inflation must be performed (in later patches in this series) after style data computation and after intrinsic width computation. The font size inflation factor does not vary *within* a block. Since sync uses a whitelist (the services.sync.prefs.sync.* prefs) for preferences (i.e., preferences are not synced by default), this patch does not make any changes relating to sync, since we do not want the inflation preferences synced across devices (since preferred settings are likely to be device-specific).
6a6a560a14922b6c695da44d5c51104a3af4671a: Don't construct cell reflow states with a row group reflow state as their parent; instead, always link in a table row reflow state as appropriate. (Bug 627842, patch 3.875) r=roc
L. David Baron <dbaron@dbaron.org> - Tue, 15 Nov 2011 17:02:00 +1300 - rev 80251
Push 21481 by bmo@edmorley.co.uk at Tue, 15 Nov 2011 19:07:44 +0000
Don't construct cell reflow states with a row group reflow state as their parent; instead, always link in a table row reflow state as appropriate. (Bug 627842, patch 3.875) r=roc Fixes assertion on layout/reftests/bugs/409084-1a.html once the rest of the inflation patches land.
c511af7d8f58a5c1606563107facf66cf8c585fa: Don't duplicate frame state bits, so that we can assert about NS_FRAME_IN_REFLOW during painting. (Bug 627842, patch 3.5) r=roc
L. David Baron <dbaron@dbaron.org> - Tue, 15 Nov 2011 17:02:00 +1300 - rev 80250
Push 21481 by bmo@edmorley.co.uk at Tue, 15 Nov 2011 19:07:44 +0000
Don't duplicate frame state bits, so that we can assert about NS_FRAME_IN_REFLOW during painting. (Bug 627842, patch 3.5) r=roc
69f89ee5d08f449b9f51aa04292c69d5a752bd2b: When reflowing a frame (such as text controls) that jumps from HTML layout into XUL layout and then jumps back to HTML on the child frame, link the parent reflow state chain correctly. (Bug 627842, patch 3) r=roc
L. David Baron <dbaron@dbaron.org> - Tue, 15 Nov 2011 17:02:00 +1300 - rev 80249
Push 21481 by bmo@edmorley.co.uk at Tue, 15 Nov 2011 19:07:44 +0000
When reflowing a frame (such as text controls) that jumps from HTML layout into XUL layout and then jumps back to HTML on the child frame, link the parent reflow state chain correctly. (Bug 627842, patch 3) r=roc
d625128925559c283ee0b4da08026eb391658b9e: Set an NS_FRAME_IN_CONSTRAINED_HEIGHT state bit on frames that are in a constrained space. (Bug 627842, patch 2) r=roc
L. David Baron <dbaron@dbaron.org> - Tue, 15 Nov 2011 17:02:00 +1300 - rev 80248
Push 21481 by bmo@edmorley.co.uk at Tue, 15 Nov 2011 19:07:44 +0000
Set an NS_FRAME_IN_CONSTRAINED_HEIGHT state bit on frames that are in a constrained space. (Bug 627842, patch 2) r=roc
c9abc8ef462668fa53738eb92f1a5f3877b70cef: Add support for -moz-text-size-adjust CSS property. (Bug 627842, patch 1) r=bzbarsky
L. David Baron <dbaron@dbaron.org> - Tue, 15 Nov 2011 17:02:00 +1300 - rev 80247
Push 21481 by bmo@edmorley.co.uk at Tue, 15 Nov 2011 19:07:44 +0000
Add support for -moz-text-size-adjust CSS property. (Bug 627842, patch 1) r=bzbarsky This property is analogous to the -webkit-text-size-adjust property (and *maybe* also the -ms-text-size-adjust property). It allows pages to opt out of text size adjustments performed on mobile devices by specifying -moz-text-size-adjust: none.
4829dd3ae90064f2042981cc6df04f9873d9b84d: Bug 702503 - Remove PR_TRUE/PR_FALSE added with bug 666446 and replace with bool values. r=dholbert
Scott Johnson <sjohnson@mozilla.com> - Tue, 15 Nov 2011 15:45:43 +1300 - rev 80246
Push 21481 by bmo@edmorley.co.uk at Tue, 15 Nov 2011 19:07:44 +0000
Bug 702503 - Remove PR_TRUE/PR_FALSE added with bug 666446 and replace with bool values. r=dholbert
332d4787b4300aff20714d66c640b47eaacb8d46: Bug 682077 - Remove nsITreeImageListener interface to make inheritance hierarchy more clear. r=neil, sr=bz
Scott Johnson <sjohnson@mozilla.com> - Tue, 15 Nov 2011 10:59:19 +1300 - rev 80245
Push 21481 by bmo@edmorley.co.uk at Tue, 15 Nov 2011 19:07:44 +0000
Bug 682077 - Remove nsITreeImageListener interface to make inheritance hierarchy more clear. r=neil, sr=bz
d44db99a687a6531245970f406ad08601809adff: Bug 701342 - Revoke mPendingTitleChangeEvent when unlinking document, r=peterv
Olli Pettay <Olli.Pettay@helsinki.fi> - Tue, 15 Nov 2011 20:47:57 +0200 - rev 80244
Push 21480 by opettay@mozilla.com at Tue, 15 Nov 2011 18:58:13 +0000
Bug 701342 - Revoke mPendingTitleChangeEvent when unlinking document, r=peterv
41fd80fe870ec1705d68508c3b24ccfa5c44ea04: Bug 702544 - Follow up to 701996. Landing ifdef to make birch project branch compile r=blassey
Doug Turner <dougt@dougt.org> - Tue, 15 Nov 2011 09:30:59 -0800 - rev 80243
Push 21479 by dougt@mozilla.com at Tue, 15 Nov 2011 17:32:04 +0000
Bug 702544 - Follow up to 701996. Landing ifdef to make birch project branch compile r=blassey
(0) -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip