Commit Graph

3455 Commits

Author SHA1 Message Date
Robert O'Callahan
af1daebc09 Bug 727661. We should only optimize ThebesLayers to ColorLayers or ImageLayers for brand-new layers (ThebesLayers with no currently valid data). Otherwise we risk ColorLayers being a deoptimization if there is valid content in the layer that doesn't happen to be visible but might become visible later, or if the layer contents are only temporarily a solid color and will soon need a buffer again. r=tn 2012-02-16 17:17:20 +13:00
Benoit Girard
5ec8cb5563 Make OMTC changes not effect desktop 2012-02-13 17:17:12 -05:00
Benoit Girard
b18a77e427 Merge viewport with tip 2012-02-08 20:42:17 -05:00
Patrick Walton
5ec20f37ac Temporary workaround for bug 681192 and bug 724786 (subpixel layer invalidation). Remove me later. 2012-02-07 22:21:38 -08:00
Simon Montagu
924ef7ebfc Remove unnecessary test for next sibling. Bug 722137, r=roc 2012-01-30 11:05:28 -08:00
Simon Montagu
ce22e17aa5 test for bug 722137, r=roc 2012-01-30 10:59:34 -08:00
Scott Johnson
439ea73edb Bug 706198 - Disable font inflation on sites optimized for mobile to avoid strangely inflated text. [r=mbrubeck,dbaron]
--HG--
extra : rebase_source : 60d764b0a76ae87515a3e669ba76adc61926c862
2012-01-30 16:52:11 -06:00
Mats Palmgren
a4a532c770 Bug 706889 - reftest. 2012-01-30 18:48:46 +01:00
Robert O'Callahan
1f8d8e9fb6 Bug 721627. Don't return nsRefPtr/nsCOMPtr from nsDisplayImage methods. nsDisplayImage::GetImage is unused anyway. r=mats 2012-01-30 18:16:54 +13:00
Robert O'Callahan
779d6360f4 Bug 721294. Only call nsIPresShell::WillPaint for the root presshell. Pass aWilLSendDidPaint correctly to nsIPresShell::Paint. Remove aPaintDefaultBackground from nsIPresShell::Paint. r=mats 2012-01-28 16:36:23 +13:00
Phil Ringnalda
f7620ea904 Back out eb80ab6ee07b (bug 721627) and 06d02e7132b2 (bug 721294) for orange and red 2012-01-27 20:31:29 -08:00
Robert O'Callahan
b8fdaacc86 Bug 721627. Don't return nsRefPtr/nsCOMPtr from nsDisplayImage methods. nsDisplayImage::GetImage is unused anyway. r=mats
--HG--
extra : rebase_source : 113647a8bf8101b7c4d7058bd205be734f38125d
2012-01-28 16:36:49 +13:00
Robert O'Callahan
613c2cea1d Bug 721294. Only call nsIPresShell::WillPaint for the root presshell. Pass aWilLSendDidPaint correctly to nsIPresShell::Paint. Remove aPaintDefaultBackground from nsIPresShell::Paint. r=mats
--HG--
extra : rebase_source : f54afeed8d3d41d3e8f9118386e4a67cfac82a98
2012-01-28 16:36:23 +13:00
Mats Palmgren
0f02f07659 Bug 719177 - Introduce NS_STYLE_HINT_UPDATE_OVERFLOW as a short-hand for nsChangeHint(nsChangeHint_RepaintFrame | nsChangeHint_UpdateOverflow). r=roc 2012-01-28 04:35:59 +01:00
Mats Palmgren
8fc86a6d69 Bug 719177 - Replace all NS_STYLE_HINT_VISUAL with nsChangeHint_RepaintFrame except for 'visibility' and 'z-index' which are the only ones that need SyncFrameView. r=roc 2012-01-28 04:35:58 +01:00
Mats Palmgren
cc0eaa8b82 Bug 720987 - Don't use the existing overflow areas when calculating the new overflow areas after a style change. r=roc 2012-01-28 04:35:58 +01:00
Robert O'Callahan
e29efce9f5 Bug 724502. Ensure that UpdateTransformLayer and UpdateOpacityLayer change hints generate a new change list entry for every frame whose style asks for them. r=matspal 2012-02-08 11:52:59 +13:00
Robert O'Callahan
3f0ffee8df Bug 722923. Part 1: Strip opacity/transform update hints when we recursively invalidate over our children. r=mats 2012-02-08 11:52:59 +13:00
Mats Palmgren
9a96be0645 Bug 724432 - Skip UpdateOverflow if we did Reflow. Don't propagate UpdateOverflow in ReResolveStyleContext. r=roc 2012-02-07 12:31:47 +01:00
Mats Palmgren
272a198ef1 merge backout 2012-02-07 12:31:30 +01:00
Mats Palmgren
75acf9d506 Backout bug 719177 (2cae7e5c62ae,07bd73451aa4,13739446fc8e,0246973f2513,f222fbece983,8f11aaac24dc). r=roc 2012-02-07 12:31:24 +01:00
Mats Palmgren
8725a003ca merge backout 2012-02-07 12:31:08 +01:00
Mats Palmgren
1cf7c40a90 Backout bug 722325 (a8b8c4489e4e). r=roc 2012-02-07 12:31:03 +01:00
Chris Lord
d3facdaf33 Bug 722325 - Revert bug 720987 for transformed frames. r=roc
The fix checked in for bug 720987 caused a major rendering regression with
native fennec. Revert it for transformed frames until the correct fix is found.
2012-02-01 08:50:24 +00:00
Bas Schouten
f41ddf02da Bug 715785: Make ImageContainers independent of LayerManagers. r=roc 2012-02-01 03:18:30 +01:00
Nicholas Nethercote
4f29e66f41 Bug 671299 (part 3) - Add style sheet memory reporters. r=dbaron. 2012-01-02 18:19:14 -08:00
Nicholas Nethercote
dd32d38d63 Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Simon Montagu
3ed3fbe05b Recreate content when a deleted frame is the only child of a bidi continuation frame. Bug 718236, r=roc 2012-01-26 00:04:22 -08:00
Jon Buckley
a1ada7a67d Bug 682299 - Implement CORS support for the <video> tag. r=roc 2012-01-25 17:31:30 -05:00
Bill McCloskey
502e67c72c Bug 706227 - Add way for JS_GC API users to give detailed reason for invocation (r=mccr8) 2012-01-25 10:59:55 -08:00
Ms2ger
2d51bac031 Merge m-c to m-i. 2012-01-25 11:06:40 +01:00
Ms2ger
4bcb2cb24d Bug 718170 - Part b: Use nsINode in IsVisTextNode; r=ehsan 2012-01-25 08:50:05 +01:00
Matt Woodrow
f99a1dba41 Bug 718809 - Use TransformBounds in TransformGfxRectToAncestor. r=roc 2012-01-23 14:07:37 +13:00
Nicholas Cameron
c26c7a3e1c Bug 718521 - Fix bug clipping to rounded rectangles for multiple objects. r=roc 2012-01-20 09:21:41 +13:00
Jeff Muizelaar
a47ca866d2 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
James Willcox
8f71c6ffa1 Bug 707439 - Fix Flash plugin positioning
--HG--
extra : rebase_source : aaa41297d293ffde1aabe5632ade6c416b4d541f
2012-01-18 10:41:35 -05:00
Wes Johnston
72f42280fd Bug 603008 - Platform support for multitouch events. r=smaug
* * *
Bug 603008 - Platform support for multitouch events.
* * *
ifdefandroid
2011-12-16 16:24:11 -08:00
Mats Palmgren
2a48071cb7 Bug 524925 - Consolidate overflow clipping checks to nsFrame::ApplyOverflowClipping(); and fix some code style nits. part=5/6 r=roc 2012-01-18 21:04:51 +01:00
Mats Palmgren
ae61295f82 Bug 524925 - Update the overflow for all the affected frames, not just the primary frame. And the ancestors of those. part=2/6 r=roc 2012-01-18 21:04:51 +01:00
L. David Baron
3c6538e862 Make selects and things inside them not be containers for font size inflation, so that font inflation inflate selects appropriately along with what surrounds them. (Bug 706609, patch 8) r=roc 2012-01-24 17:21:29 -08:00
L. David Baron
411a77c90f Apply font size inflation to 'line-height: normal' by using the metrics of the inflated font rather than multiplying the inflation by the result for the uninflated font. (Bug 706609, patch 7) r=roc
This matters primarily because it makes font inflation easier to test by
avoiding rounding differences.  It fixes two existing tests that were
disabled and also makes it possible to test font inflation of selects
(since options have line-height: normal ! important in the UA style
sheet).
2012-01-24 17:21:29 -08:00
L. David Baron
d789ef0b1b Switch nsLayoutUtils inflation methods to the new setup with state on the pres context. (Bug 706609, patch 5) r=roc
This is the third of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:29 -08:00
L. David Baron
0ce777d92e Set inflation container to null during parts of intrinsic sizing that should not have inflation applied. (Bug 706609, patch 4) r=roc
This is the first of two patches to honor inflation during intrinsic
width calculation (which we need to do to make some form controls
inflate correctly).
2012-01-24 17:21:29 -08:00
L. David Baron
5f13418d9a Set inflation container and width correctly during reflow. (Bug 706609, patch 3) r=roc
This is the second of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:28 -08:00
L. David Baron
bc9d84082d Add member variables to pres context to track, during reflow and intrinsic sizing, the current inflation container and its width. (Bug 706609, patch 2) r=roc
This is the first of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:28 -08:00
L. David Baron
a2396850d4 Add a frame state bit for whether a frame is a container for font size inflation (Bug 706609, patch 1) r=roc
This moves the logic currently in
nsLayoutUtils::IsContainerForFontSizeInflation into frame initialization
so that we can (later, for bug 706193) make that logic more complicated.
2012-01-24 17:21:28 -08:00
Jonathan Watt
9fb3c8bb9f Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron. 2012-01-24 13:09:55 +00:00
Benjamin Stover
a371dc7830 Bug 524925 - Recompute overflow without reflowing for transforms. part=1/6 r=dbaron
Add an extra change hint, UpdateOverflow, that can be used to specify that
a frame's overflow areas may have changed and that they need to be recalculated.
When a transform on a frame changes, instead of marking it for reflow, set this
hint instead.

There is an added virtual function on nsIFrame, UpdateOverflow, which is called
recursively on a frame when the corresponding hint is set, to allow it to
update its overflow areas.
2011-06-15 14:03:49 -07:00
Serge Gautherie
1c4ed48b73 Bug 718546. (Av1) bug389321-1.html: Use EventUtils sendChar() to send char, not sendKey(). r=ehsan. 2012-01-17 20:40:52 +01:00
Marco Bonardo
61916233e6 Merge last green PGO changeset from inbound to central 2012-01-17 16:22:33 +01:00