L. David Baron
e30b812b18
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.
2011-11-15 17:02:01 +13:00
L. David Baron
b4cd814c1e
Apply font size inflation to heights of inlines. (Bug 627842, patch 12) r=roc
2011-11-15 17:02:01 +13:00
L. David Baron
9040cadeb5
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.
2011-11-15 17:02:01 +13:00
L. David Baron
8b98b80576
Remove the unused context parameter to MeasureCharClippedText. (Bug 627842, patch 10) r=roc
2011-11-15 17:02:01 +13:00
L. David Baron
db5c82697e
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.
2011-11-15 17:02:01 +13:00
L. David Baron
2ff820844c
Pass block's reflow state to nsTextFrame::UnionAdditionalOverflow. (Bug 627842, patch 8) r=roc
2011-11-15 17:02:01 +13:00
L. David Baron
20da5c2ff7
Use the text run's font group for the tab width instead of recomputing it from the frame. (Bug 627842, patch 7) r=roc
2011-11-15 17:02:01 +13:00
L. David Baron
b93eea884b
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.
2011-11-15 17:02:00 +13:00
L. David Baron
821918f150
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
2011-11-15 17:02:00 +13:00
L. David Baron
430f422bc5
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
2011-11-15 17:02:00 +13:00
L. David Baron
37be1f5c8b
Set an NS_FRAME_IN_CONSTRAINED_HEIGHT state bit on frames that are in a constrained space. (Bug 627842, patch 2) r=roc
2011-11-15 17:02:00 +13:00
Michael Wu
3e0835d415
Bug 694206 - Add Gonk (B2G) widget backend, r=cjones
2011-11-10 16:17:46 -08:00
Scott Johnson
a48978a4bf
Bug 666446, Part 6/10 - Change nsBulletFrame to utilize refresh driver-based animations for performance improvements. [r=roc]
2011-11-09 13:39:16 -08:00
Scott Johnson
3a74456f46
Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats]
2011-11-09 13:39:16 -08:00
Scott Johnson
6bc58fdc72
Bug 666446, Part 1/10 - Add method to imgIContainer for notification of refresh driver events. [r=dholbert,joe][sr=mats]
2011-11-09 13:39:15 -08:00
Jeff Walden
c54dfe474f
Bug 700910 - Implement MOZ_DELETE to encapsulate C++11 = delete syntax. r=cjones
...
--HG--
extra : rebase_source : 0fc4bc154923c84fd91e52be99fdac78f7c6dbc4
2011-11-08 19:19:44 -08:00
Boris Zbarsky
d2de5d9094
Bug 683712. Add a null-check to avoid bogus assumptions about blocks not being reflow roots. r=mats
2011-11-08 23:22:36 -05:00
Matt Woodrow
b9a9dba520
Bug 695610 - Move ImageContainer caching into imgIContainer. r=joe
2011-11-09 16:14:41 +13:00
Jeff Muizelaar
96217c7697
Bug 698107. layout: Return nsnull instead of false. r=bz
...
Caught by a clang warning.
--HG--
extra : rebase_source : 384a3451b7e54f8afb40f5e8a94000c00a54cc6d
2011-11-08 18:09:22 -05:00
Matt Woodrow
7d04ee6f99
Bug 698590 - Make ConfigureLayer use DevPixels instead of AppPixels. r=roc
2011-11-08 16:57:55 +13:00
Robert O'Callahan
29ebbe758a
Bug 696307. Floats in a different block to their placeholders should only be painted once. r=mats
2011-11-08 13:09:39 +13:00
Robert O'Callahan
60655dac4c
Bug 696307. Don't overwrite the aChild parameter of BuildDisplayListForChild. r=mats
2011-11-08 13:09:39 +13:00
Boris Zbarsky
a650962d6c
Merge backout of bug 641341.
2011-11-07 00:27:17 -05:00
Boris Zbarsky
2cd4ac232f
Backed out changeset 0cd9ed297f73 (bug 641341) to fix bug 696175. r=roc
2011-11-07 00:25:56 -05:00
Ed Morley
6a998be2c5
Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail
2011-11-05 18:35:59 +00:00
Rail Aliiev
364e83c545
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Mats Palmgren
5fc1c83bab
Bug 699383 - Remove unused 'aboveTextDecorations'. r=roc
2011-11-04 19:05:35 +01:00
Marco Bonardo
ac1e87e272
Merge mozilla-central to mozilla-inbound
2011-11-03 10:46:56 +01:00
Justin Lebar
0b965502f1
Merge backout
2011-11-02 20:11:25 -04:00
Justin Lebar
86c0378be8
Back out bug 666446 due to Talos regression.
2011-11-02 20:11:01 -04:00
Kyle Huey
5afa09d1f8
Merge m-i to m-c.
2011-11-02 08:24:41 -04:00
Josh Aas
9821007204
Bug 562442: Plugin crash fix (parent process). r=jmathies
2011-11-01 14:52:20 -04:00
Scott Johnson
9cfbbc8b00
Bug 666446, Part 6/10 - Change nsBulletFrame to utilize refresh driver-based animations for performance improvements. [r=roc]
2011-11-01 11:06:53 -04:00
Scott Johnson
7d86e5fc20
Bug 666446, Part 4/10 - Implement refresh driver based animations in nsImageLoadingContent to improve efficiency of animated GIF images. [r=roc][sr=mats]
2011-11-01 11:06:53 -04:00
Olli Pettay
d05f3af50f
Bug 698232 - s/IsInside/GetArea to simplify the code, r=mats
2011-10-30 21:51:19 +02:00
Olli Pettay
9f362a60d2
Bug 694503 - image map doesn't get updated when map element is removed as part of container subtree, r=bz
2011-10-29 13:44:50 +03:00
Matthew Gregan
d86fd8e1d2
Bug 697647 - VideoFrame's visible region should use the pre-transform size rather than the raw video buffer size. r=roc
2011-11-02 18:44:49 +13:00
Boris Zbarsky
5159a4843a
Bug 641341. Speed up CalculateHypotheticalBox for the case of a block containing a bunch of lines but absolutely no in-flows anywhere. r=roc
2011-10-04 23:47:08 -04:00
Matt Woodrow
97e680e837
Bug 691431 - Remove invalid assertion and NULL check childFrame in WrapPreserve3DList. r=roc
2011-10-04 14:23:04 +13:00
Jonathan Watt
8a0b72332d
Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg.
2011-10-28 19:33:28 +01:00
Josh Aas
b258d496c8
Bug 649079: Plugin crash fix (parent process). r=bz
2011-10-27 16:00:49 -04:00
Timothy Nikkel
df8878f8ed
Bug 658005. Part 4. Remove nsIFrame::AreAncestorViewsVisible now that it is unused. r=roc
2011-10-26 18:57:55 -05:00
Timothy Nikkel
09778341dc
Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc
2011-10-26 18:57:55 -05:00
Robert O'Callahan
e285f8195b
Bug 696248. Flush pending onscroll events before painting. r=mats
2011-10-26 17:14:31 +13:00
Matt Woodrow
7968f3490d
Bug 695275 - Fix conversion of ThebesLayers to ImageLayers. r=roc
2011-10-26 16:24:58 +13:00
Matt Woodrow
b18a7f9176
Bug 695275 - Add CheckAndClearPaintedState to test painting. r=roc
2011-10-26 16:23:26 +13:00
Ehsan Akhgari
74d9b6f1fb
Backout changeset be42bc18185a (bug 612128) because of bug 688423
2011-10-25 22:32:55 -04:00
Neil Deakin
b9741fe3c6
Bug 503879, remove nsIToolkit, make nsToolkit a singleton, remove it from some widget platforms, and don't pass it around when creating widgets, original patch by robarnold, r=roc
2011-10-25 11:05:32 -04:00
Robert O'Callahan
866833ced3
Bug 696739. Treat inline fieldsets as pseudo-stacking-contexts. r=bz
2011-10-25 16:52:52 +13:00
Jesse Ruderman
4a98a7e828
Bug 675553 followup: remove tautologous assertions. r=ehsan
2011-10-24 16:21:09 -07:00