Commit Graph

10112 Commits

Author SHA1 Message Date
Robert O'Callahan
7df631d1f7 Bug 816359. Part 1: When constructing inline frames, we should never treat transforms as making the inline an abs-pos containing block, since transforms don't apply to inlines. r=bz 2012-12-31 11:45:51 +13:00
Phil Ringnalda
545e667044 Bug 705570 - reenable the crashtests that include an <applet> on OS X 10.7 and 10.8 now that they no longer leak
--HG--
rename : browser/components/preferences/in-content/tests/privacypane_tests_perwindow.js => browser/components/preferences/in-content/tests/privacypane_tests.js
rename : browser/components/preferences/tests/privacypane_tests_perwindow.js => browser/components/preferences/tests/privacypane_tests.js
extra : rebase_source : c4a2231db56c29693d34f31eba70a90543910bcc
2012-12-29 08:18:56 -08:00
Ryan VanderMeulen
6a1e3408c7 Merge m-c to inbound. 2012-12-28 12:57:30 -05:00
Raphael Catolino
9ac55077bf Bug 769385 - Add type attribute date for <input> behind "dom.experimental_forms" pref. r=mounir 2012-12-27 16:06:53 +00:00
Nicholas Nethercote
8eac1dfb3c Bug 824397 - Use NS_ENSURE_{TRUE,FALSE,SUCCESS}_VOID(foo) instead of NS_ENSURE_{TRUE,FALSE,SUCCESS}(foo, ). r=derf. 2012-12-23 20:45:57 -08:00
Vladimir Vukicevic
7949f643dc b=823091; 2nd tab in a window opens without animation (timers reporting wrong current time); r=roc,bz 2012-12-23 19:29:23 -05:00
Anthony Jones
8c175aefe5 Bug 811950 - Remove fixed position environment variable. r=roc 2012-12-23 10:47:16 -05:00
Mats Palmgren
dff1cd0989 Bug 824641 - Move the destroyed frame check before any use of it. r=roc 2012-12-27 22:24:08 +01:00
Robert O'Callahan
66c066653a Bug 663776. Part 2: Move TransformRectToRect from nsCSSRendering to gfxUtils. r=mattwoodrow 2012-12-07 12:58:13 +13:00
Nicholas Cameron
950053c77a Bug 823460; start throttled transitions with delays; r=dbaron; a=blocking-basecamp
--HG--
extra : rebase_source : 8e57f7106fd8241556e63076f8dedc0cb72052e7
2012-12-23 17:52:13 +13:00
L. David Baron
6c36643293 Merge mozilla-inbound and mozilla-central. 2012-12-22 00:05:00 -05:00
Nicholas Cameron
97c1204501 Bug 822231; use the maximum scale for animated scaling. r=roc 2012-12-21 16:58:17 -05:00
Kyle Huey
cad48adc68 Bug 696591: Properly handle blocking databases from pages that are entering the bfcache. r=bent,bz 2012-12-20 06:18:03 -08:00
Justin Lebar
fcaacaf877 Bug 819791 - Part 8: Use explicit TArray copy constructors in FrameLayerBuilder. r=roc 2012-12-18 20:16:06 -05:00
Ed Morley
7fff174f46 Backout 9864a836aa35 (bug 820167) for crashes 2012-12-18 15:36:07 +00:00
Avi Halachmi
e8c8e34813 Bug 820167: Enable performance measurement of tab animation. r=jmuizelaar,dao 2012-12-18 09:31:01 -05:00
Matt Woodrow
116db33497 Bug 821995 - Revert an incorrect change to matrix multiplication in ChooseScaleAndSetTransform. r=roc 2012-12-18 18:58:44 +13:00
Dão Gottwald
3e5deace1e Backed out changeset e14c7409ede7 2012-12-18 01:04:30 +01:00
Avi Halachmi
a1d09d0622 Bug 820167: Enable performance measurement of tab animation. r=jmuizelaar 2012-12-17 18:48:01 -05:00
Scott Johnson
7934ac6871 Bug 821801: Make nsContentUtils::ViewportInfo into a separate class in order to allow better state tracking. [r=kats] 2012-12-17 15:24:41 -06:00
Jonathan Watt
c9b0bd9db0 Bug 822378 - Update the overflow rects of the child frames when an nsSVGOuterSVGFrame's children-only transform changes. r=longsonr. 2012-11-29 18:24:14 +00:00
Matt Woodrow
d0b8e98f50 Bug 819915 - Fix IsSingleFixedPositionImage to actually check if we only have a single image. r=roc 2012-12-17 17:30:57 +13:00
Jonathan Watt
57e52e7f84 Bug 802628 - Part 1, Kill nsSVGUtils::InvalidateAndScheduleReflowSVG. r=mattwoodrow. 2012-11-28 09:42:13 +00:00
Jonathan Watt
471ec1efe6 Bug 822025 - nsCSSFrameConstructor.cpp:9752:7: warning: variable 'wrapperType' is used uninitialized whenever switch default is taken. r=bz. 2012-11-27 11:49:01 +00:00
Masayuki Nakano
bbb1282d70 Bug 813445 part.12 Remove NS_EVENT_FLAG_ONLY_CHROME_DISPATCH and nsEvent::flags r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano
6c6e7afae6 Bug 813445 part.10 Remove NS_EVENT_FLAG_DONT_FORWARD_CROSS_PROCESS and NS_EVENT_RETARGET_TO_NON_NATIVE_ANONYMOUS r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano
2abcbf6807 Bug 813445 part.8 Remove NS_EVENT_FLAG_SYNTHETIC_TEST_EVENT r=smaug 2012-12-16 10:26:04 +09:00
Masayuki Nakano
bc637323fa Bug 813445 part.5 Remove NS_EVENT_FLAG_NO_DEFAULT and NS_EVENT_FLAG_NO_DEFAULT_CALLED_IN_CONTENT r=smaug 2012-12-16 10:26:04 +09:00
Masayuki Nakano
4581677d83 Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug 2012-12-16 10:26:03 +09:00
Masayuki Nakano
dae57396e3 Bug 813445 part.1 Make widget::EventFlags and remove NS_EVENT_FLAG_TRUSTED r=roc+smaug, feedback=emk 2012-12-16 10:26:03 +09:00
Jeff Walden
120886ca73 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Jonathan Watt
66b23e150b Kill Windows line-endings in nsCSSFrameConstructor.cpp. r=me. No bug. DONTBUILD. 2012-11-26 08:14:23 +00:00
Matt Woodrow
bf64299730 bug 822865 - Null check the background outparam before assigning to it. r=roc 2012-12-21 22:09:25 +13:00
Cameron McCormack
154f38b92a Bug 793617 - Implement mask-type property. r=dbaron,longsonr 2012-12-21 11:15:22 +11:00
Vladimir Vukicevic
780aec2bb7 b=821230; crash in nsRefreshDriver::SetHighPrecisionTimersEnabled during xpcom shutdown; r=ehsan 2012-12-14 12:47:57 -05:00
Trevor Saunders
8d7e7dd8d7 bug 781409 - remove nsITableLayout r=roc,davidb 2012-08-08 09:05:17 -04:00
Matt Woodrow
ac128fe507 Backout changeset 3ba90f85653a (Bug 805343) for regressing android talos tests 2012-12-14 11:51:00 +13:00
Matt Woodrow
716946b5d9 Backout changeset e8f5182d94c5 (Bug 805343) for regressing android talos tests 2012-12-14 11:50:57 +13:00
Matt Woodrow
68519c9314 Bug 821477 - Don't build nsDisplay{Canvas}BackgroundImage items when the image is empty. r=roc 2012-12-14 11:16:14 +13:00
Matt Woodrow
012ebe70a2 Bug 820246 - Split nsDisplayCanvasBackground into separate color and image items. r=roc 2012-12-13 14:15:55 +13:00
Nathan Froyd
7f8c929215 Bug 820889 - convert PendingBinding to use mozilla::LinkedList; r=dholbert 2012-12-12 11:58:26 -05:00
Ed Morley
8755366625 Backout 4777ad9776ec (bug 820246) for causing frequent failures in background-image-zoom-1.html on Android 2012-12-13 12:25:12 +00:00
Georg Fritzsche
0937ddb942 Bug 805330 - Ensure plugin widget visibility via paint flushes. r=josh,roc,robcee
--HG--
rename : layout/base/tests/chrome/paint_listener.js => testing/mochitest/tests/SimpleTest/paint_listener.js
2012-12-05 14:39:26 +01:00
Matt Woodrow
fa640e62d5 Bug 820246 - Split nsDisplayCanvasBackground into separate color and image items. r=roc 2012-12-13 14:15:55 +13:00
Jeff Muizelaar
29308029e0 Bug 798245. Propagate the zoom from the tab child into the frame metrics. r=cjones
This lets the default zoom make it back to the APZC when the viewport is set.
2012-12-11 17:49:57 -05:00
Jeff Muizelaar
ea6c1233a5 Bug 798245. Postpone firstpaint while painting supressed. r=cjones
Currently if we are asked to paint while the painting is supressed,
we'll still send the firstpaint notification. We currently, rely
on first paint to setup the viewport so we won't to postpone it
till we're likely to have the information we need.

--HG--
extra : rebase_source : 65e3e5a8ea21128632a46e19a3594b66cba8c8cc
2012-12-10 13:53:53 -05:00
Jonathan Kew
6d18ba3e6c bug 818454 - backout change from bug 722137, no longer needed. r=smontagu 2012-12-12 20:55:09 +00:00
Matt Woodrow
44e6df36cc Bug 820541 - Only call ProcessRemovedDisplayItems once per transaction. r=roc 2012-12-13 09:47:05 +13:00
Robert O'Callahan
4e9fe2ccb0 Bug 663776. Part 1: When determining whether the scale factors hav changed, we need to use GetBaseTransform for the old scale factors, because that's what stores the old transform that we computed scale factors from. r=mattwoodrow
--HG--
extra : rebase_source : 48be38242fa6bf51644dc45a804dd834e7eb97b7
2012-12-07 12:58:12 +13:00
Robert O'Callahan
fae9165b76 Bug 663776. Part 0.5: Mark layers that could have their transforms changed via off-main-thread animations or empty transactions, and treat all ThebesLayerOGL descendants of such layers as potentially resampled so that their buffers are put into the correct state and size. r=mattwoodrow
--HG--
extra : rebase_source : d3c78cc61f1a3d5f12dedb57180371b41b1647f6
2012-12-12 18:21:23 +13:00
Vladimir Vukicevic
10aa9f5441 b=731974, requestAnimationFrame generates too short/long frames (incl. bug 799242); r=bz,smaug,roc,ehsan 2012-12-11 17:15:32 -05:00
Nicholas Cameron
806bdcaa73 Bug 782368; undo patch from 780868. r=mattwoodrow
--HG--
extra : rebase_source : 6eb5a907d4e1eafa6bc7c6dd5d185c28a4c248be
2012-12-12 10:57:52 +13:00
Nicholas Cameron
c54f8d4754 Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
Matt Woodrow
b8c6a8736d Bug 820131 - Compute a more accurate bounds for nsDisplayBoxShadowOuter. r=roc 2012-12-12 09:36:54 +13:00
Matt Woodrow
8a86d704a3 Bug 806099 - Use the 'best' active scrolled root when flattening layers, even if it isn't an ancestor of all display items. r=roc 2012-12-12 09:36:22 +13:00
Robert O'Callahan
a72930aa6a Bug 805343. Part 2: Update FrameLayerBuilder::HasVisibleRetainedDataFor to account for occluded display items. r=mattwoodrow
--HG--
extra : rebase_source : 293895627ef5f37c508a23fe9e9a5639527aafcc
2012-12-10 18:49:17 +13:00
Robert O'Callahan
f3332e603a Bug 805343. Identify DisplayItemDatas that are completely hidden by other opaque content in their ThebesLayer, and ignore them when we check to see whether there's an image we might need to invalidate. r=mattwoodrow
--HG--
extra : rebase_source : 7e68dc33324d8ff26286723bdbaaea18060354ac
2012-12-10 18:47:33 +13:00
Robert O'Callahan
96737c37d8 Bug 818643. Issue an NotifyRenderingChanged callback on nsDisplayItems when we invalidate anything to do with the display item. Make nsDisplayCanvasBackground override NotifyRenderingChanged to invalidate the cached background image. r=mattwoodrow
--HG--
extra : rebase_source : c28b2804d647a991f7d2cb8167fcf039c1835d75
2012-12-10 18:34:31 +13:00
Robert O'Callahan
bff2be0517 Bug 785348. Part 1: Track when we've called into plugin code. While we're in plugin code, never run the refresh driver. r=mats
--HG--
extra : rebase_source : 2ddabda92acc1364d3c24cf20f7d45896ac09849
2012-12-07 12:58:14 +13:00
Matt Woodrow
529d171a21 Bug 816692 - Use the clipped imgIContainer when converting an nsDisplayBackgroundImage into a layer. r=roc 2012-12-10 18:34:17 +13:00
Matt Woodrow
acc7b82670 Bug 819837 - Always treat empty images as being background-attachment:scroll, r=roc 2012-12-10 18:34:15 +13:00
Matt Woodrow
67ac0979d2 Bug 815666 - Use OverflowUpdateTracker to avoid calling UpdateOverflow on the same frame multiple times. r=roc 2012-12-10 15:33:04 +13:00
Matt Woodrow
cebb3c32c4 Bug 815666 - Add a helper class to coalesce frames that need their overflow updated. r=roc 2012-12-10 15:32:55 +13:00
Ed Morley
2f3183fde3 Backout 55d5f3cd5c85, d89ae7f40549 & 270391fca858 (bug 663776) for assertions 2012-12-07 12:37:36 +00:00
Robert O'Callahan
8e7070bef2 Bug 816458. Instead of removing the MAY_BE_TRANSFORMED bit in certain frame classes, add an nsIFrame::SupportsCSSTransforms method and call it when necessary. r=mats 2012-12-04 17:50:05 +13:00
Robert O'Callahan
5bac7c566d Bug 663776. Part 2: Move TransformRectToRect from nsCSSRendering to gfxUtils. r=mattwoodrow 2012-12-07 12:58:13 +13:00
Robert O'Callahan
70681911f9 Bug 663776. Part 1: When determining whether the scale factors hav changed, we need to use GetBaseTransform for the old scale factors, because that's what stores the old transform that we computed scale factors from. r=mattwoodrow 2012-12-07 12:58:12 +13:00
Matt Woodrow
01f8a59a96 Bug 791644 - Refactor nsDisplayTransform::GetResultingTransformMatrix into two functions with less optional parameters. r=roc 2012-09-18 10:34:21 +12:00
Karl Tomlinson
2d225d5927 b=786100 consider display item snap when hunting uniform background color r=roc
--HG--
extra : transplant_source : P%7CO%27%D3%E6%B6-eX%BF%AAw%EA%D1.%B8j%D9%2C
2012-12-05 15:53:17 +13:00
Scott Johnson
a13eed37dc Bug 811825: Make max line box width ignored if frame has constrained height in order to prevent cut-off data when a user reflows-to-zoom. [r=dbaron] 2012-12-04 22:14:56 -06:00
Mats Palmgren
924e59e0d0 Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Chris Jones
ec163d11d8 Test for bug 813372. r=mattwoodrow a=blocking-basecamp 2012-12-04 00:39:22 -08:00
Matt Woodrow
83afffc27a Bug 810302 - When flattening layers together to avoid component alpha, attempt to pick the 'best' active scrolled root to minimize invalidation during scrolling. r=roc 2012-12-04 19:05:22 +13:00
Matt Woodrow
1da78058e5 Bug 812107 - Don't attempt to do scroll compensation in FrameLayerBuilder for transformed containers. r=roc 2012-12-04 19:04:20 +13:00
Trevor Saunders
98cecccb20 bug 801466 - part 1 - remove uses of prmem in layout/ xpcom/ and modules/ r=roc 2012-12-03 16:18:36 -05:00
Jens Hatlak
3b4df9464f Bug 817330 - test_bug458898.html fails if dom.disable_window_move_resize = true. r=dbaron 2012-12-01 13:44:00 +01:00
Ms2ger
0a0b1561d2 Bug 810668 - Fix some gcc4.6 build warnings; r=bz 2012-12-02 09:54:55 +01:00
Daniel Holbert
ac2408469f Bug 813358 part 5: Add a post-condition to SortFrameList() to assert that it's actually sorted. r=dbaron 2012-11-30 15:25:33 -08:00
Daniel Holbert
d4f453adde Bug 813358 part 4: Move frame-sorting logic from nsBoxFrame to nsLayoutUtils. r=dbaron 2012-11-30 15:25:33 -08:00
Kartikaya Gupta
215585f6a7 Bug 814418 - Fix some warnings about unused variables. r=ehsan 2012-11-30 11:06:37 -05:00
Mats Palmgren
f128dda378 Bug 814677 - Replace XP_IS_SPACE with dom::IsSpaceCharacter and add form-feed to match DOM spec. r=bz 2012-11-30 17:04:11 +01:00
Boris Zbarsky
542ae8e2de Bug 815671 part 3. Make nsXULPopupManager::GetVisiblePopups use an array out param instead of returning array object copies. r=roc 2012-11-29 11:14:13 -05:00
Robert O'Callahan
4ec09e793c Backout 7aceff7124d9 (bug 815591) for Mac test failures 2012-11-29 20:39:36 +13:00
Robert O'Callahan
01b72b4b81 Bug 815593. Don't layerize images that exceed MaxTextureSize. r=mattwoodrow
--HG--
extra : rebase_source : f94300b24b90d063df095324663c9d8fa49e42e9
2012-11-28 15:34:45 +13:00
Robert O'Callahan
f12ff30dc6 Bug 815591. Don't build nsDisplayBackgroundColor if there is no background color and we're not going to do hit-testing. r=mattwoodrow
--HG--
extra : rebase_source : ce6fbf882f00d7c3ceb7f149bb6e9cb21ed6f74d
2012-11-28 01:50:09 +13:00
Scott Johnson
948f478584 Bug 812372: Rename DocumentViewerImpl to nsDocumentViewer for consistency. [r=ehsan] 2012-11-28 18:26:39 -06:00
Chris Jones
a821d1f0e5 Bug 814778: Disable font inflation for the b2g master process. r=dbaron 2012-11-28 12:16:01 -08:00
Ed Morley
03039c96ca Merge mozilla-central to mozilla-inbound 2012-11-28 13:05:25 +00:00
Olli Pettay
24ea638847 Bug 804811, propagate events even from disabled form controls to chrome. B2G-only hack, r=jst 2012-11-28 13:51:34 +02:00
Matt Woodrow
489b64c3b6 Bug 796847 - Make AdjustInvalidAreaForSVGEffects correctly adjust for the coordinate space of the input rect. r=dholbert 2012-11-28 17:06:07 +13:00
Matt Woodrow
98607acc14 Bug 814272 - Cache the bounds of nsDisplayBackgroundImage items. r=roc 2012-11-28 17:05:32 +13:00
Daniel Holbert
5f85127435 Bug 815928 part 3: Fix typo s/elemnt/element/ in comments & tests. DONTBUILD, rs=Waldo 2012-11-27 19:15:36 -08:00
Nicholas Nethercote
0e97b98462 Bug 814312 - Avoid PL_ArenaPool recycling in the layout engine. r=roc.
--HG--
extra : rebase_source : 7aaa3d745583c595692f1effd933cc70931194ff
2012-11-25 14:40:28 -08:00
Robert O'Callahan
83280931f9 Bug 813722. Create layers for opacity:0 elements with animated opacity. r=mattwoodrow
--HG--
extra : rebase_source : 5dbcb7966983f040f340f661dd8a585dc92dae1e
2012-11-23 14:09:24 +13:00
Robert O'Callahan
b36f5b4ead Bug 809478. Handle 90-degree rotations when snapping transformed gradients. r=jrmuizel
--HG--
extra : rebase_source : 61e2873b334f89a0a8b6ae0a7df0dfa37e668d0b
2012-11-23 14:09:12 +13:00
Matt Woodrow
e035462997 Bug 802385 - Never flatten component alpha layers when compositing with an accelerated layer manager. r=roc 2012-11-22 18:34:32 +13:00
Matt Woodrow
773bc1d51b Bug 810275 - Remove the inactive layer tree offset when compute the active scrolled root position. r=roc 2012-11-22 18:33:37 +13:00
Nicholas Cameron
4e42aee667 Bug 812908; add a debug pref for forcing active layers; r=roc 2012-11-23 12:29:05 +13:00
Ed Morley
68f1c3e84e Backout d30b99cfd933 (bug 802385), 58ce0ddf7611 (bug 810275), 1c96b4a67d38 (bug 810592) for reftest failures 2012-11-22 09:59:23 +00:00
Matt Woodrow
dc1ae681d7 Bug 802385 - Never flatten component alpha layers when compositing with an accelerated layer manager. r=roc 2012-11-22 18:34:32 +13:00