Robert O'Callahan
1936cf799f
Bug 810470. Part 5: Remove more unused code. r=mattwoodrow
...
--HG--
extra : rebase_source : c8f0d038a37d8fa9e581d83bfe6ea7bc10bd0eef
2012-11-09 18:14:14 -05:00
Robert O'Callahan
9e3732f25f
Bug 810470. Part 4: Make only background-attachment:fixed backgrounds that have propagated to the viewport use a dedicated layer, and refactor how we do that. r=mattwoodrow
...
--HG--
extra : rebase_source : f1085ce640e50617b687f9902edd83816512f786
2012-11-09 18:14:14 -05:00
Robert O'Callahan
14d5cbdb22
Bug 810470. Part 3: Remove code for invalidating background-attachment:fixed content when scrolling. r=mattwoodrow
...
New invalidation logic takes care of this automatically.
--HG--
extra : rebase_source : 0112cfe02dbaaabf04e4010823a3cceeb6549fcd
2012-11-09 18:14:14 -05:00
Robert O'Callahan
e8d8fdb494
Bug 810470. Part 2: Change nsDisplayBackground invalidation to store and compare the background positioning rect. r=mattwoodrow
...
--HG--
extra : rebase_source : c9141ba46d034fc496a3e9e33efce5b022bec41c
2012-11-08 10:05:32 -05:00
Robert O'Callahan
98fc051fd7
Bug 810470. Part 1: Cache nsStyleBackground pointer in nsDisplayBackground. r=mattwoodrow
...
--HG--
extra : rebase_source : a104cfa5d8c72e208866b56507c56174e14ef143
2012-11-07 23:08:40 -05:00
Benoit Jacob
a1d7e0f511
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Robert O'Callahan
bc66b87ac2
Bug 811301. Part 3: Cleanup presshell code now that we don't do special state save/restore for the root scroll frame. r=mats
...
Scrolling is never synchronous now, so we don't need to block scripts
or reflows when restoring the scroll position.
2012-11-14 22:40:28 -08:00
Robert O'Callahan
ef63ff8332
Bug 811301. Part 2: Remove saved state IDs now that the root scroll frame state is captured normally. r=mats
2012-11-14 22:40:17 -08:00
Robert O'Callahan
8a0e4f635b
Bug 811301. Part 1: Save and restore state of root scroll frame when reframing the root element, and treat root scroll frame state like any other frame. r=mats
2012-11-14 22:39:58 -08:00
Robert O'Callahan
15d3d80fbd
Bug 759993. Part 0: FrameLayerBuilder::GetThebesLayerScaleForFrame should not cross popup boundaries. r=mattwoodrow
2012-11-11 00:17:16 -08:00
Ryan VanderMeulen
25c2ea1279
Backed out 8 changesets (bug 810470) due OSX reftest failures.
2012-11-14 22:14:44 -05:00
Robert O'Callahan
31c5fd6b1a
Bug 810470. Part 8: Limit the BasicLayers background-caching optimization to cases where the destination context has an integer translation only, and snap the image rectangle. r=mattwoodrow
...
Previous patches in this bug enabled the nsDisplayCanvasBackground
background-caching optimization for the test 402807-1.html. That exposed
an existing bug where we don't snap the background image to pixel
boundaries when drawing through that path. This patch fixes it.
This patch also stops the IsSingleFixedPositionImage path from using
mDestRect, returning the rect as an out-parameter instead.
--HG--
extra : rebase_source : 314cd040d3041b050f9eb1a0c39dfce3c4d6d0e6
2012-11-14 17:35:18 -08:00
Robert O'Callahan
e8d95cbb23
Bug 810470. Part 7: Simplify TryOptimizeToImageLayer/IsSingleFixedPositionImage now that colors are not involved. r=mattwoodrow
...
--HG--
extra : rebase_source : fcad2b21f6fdc966b28ea35bff2769459c2797fd
2012-11-10 00:42:10 -05:00
Robert O'Callahan
3bfd677602
Bug 810470. Part 6: Rename nsDisplayBackground to nsDisplayBackgroundImage. r=mattwoodrow
...
--HG--
extra : rebase_source : f1253ac9aeff0384dcbcc319c88744713d3b22a3
2012-11-09 18:14:59 -05:00
Robert O'Callahan
ebb4aca7a5
Bug 810470. Part 5: Remove more unused code. r=mattwoodrow
...
--HG--
extra : rebase_source : 1e92e771f1da6c666eac5928a5dbe672384f3c38
2012-11-09 18:14:14 -05:00
Robert O'Callahan
3c634e99a3
Bug 810470. Part 4: Make only background-attachment:fixed backgrounds that have propagated to the viewport use a dedicated layer, and refactor how we do that. r=mattwoodrow
...
--HG--
extra : rebase_source : 957eb0d5f45cd756fc121135ff6d8dff483c8bf4
2012-11-09 18:14:14 -05:00
Robert O'Callahan
a198ed8fb6
Bug 810470. Part 3: Remove code for invalidating background-attachment:fixed content when scrolling. r=mattwoodrow
...
New invalidation logic takes care of this automatically.
--HG--
extra : rebase_source : f598635e58390ef868a057e8ea8ab0cf2410b8a9
2012-11-09 18:14:14 -05:00
Robert O'Callahan
6c79567ebe
Bug 810470. Part 2: Change nsDisplayBackground invalidation to store and compare the background positioning rect. r=mattwoodrow
...
--HG--
extra : rebase_source : 2a4f44b98000d52301053c685e50f81e251e7e8c
2012-11-08 10:05:32 -05:00
Robert O'Callahan
eb37630a01
Bug 810470. Part 1: Cache nsStyleBackground pointer in nsDisplayBackground. r=mattwoodrow
...
--HG--
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_openLocationLastURL.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_openLocationLastURL.js
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_popupblocker.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_popupblocker.js
rename : browser/components/privatebrowsing/test/browser/perwindow/popup.html => browser/components/privatebrowsing/test/browser/global/popup.html
extra : rebase_source : cddca78450149e80131208f76b4cebd96b7526a1
2012-11-07 23:08:40 -05:00
Matt Joras
5efd4dad8e
Bug 798033 - Removes 'using namespace' from dom headers - r=khuey
2012-11-10 10:45:52 -05:00
Matt Woodrow
4f7062809b
Bug 811831 - Don't create layers for nsDisplayOpacity items that have an opacity of 0. r=roc
2012-11-14 14:43:29 -08:00
Ehsan Akhgari
303a79fb7c
Bug 810355 - Convert nsDidReflowStatus into an enum class; r=dholbert
2012-11-13 22:47:33 -08:00
Matt Woodrow
e2651fa885
Bug 810186 - Don't unnecessarily nest inactive layers. r=roc
2012-11-13 14:22:21 -08:00
Matt Woodrow
6a40d5fd04
Bug 808491 - Force 3d transformed layers to always be active. r=roc
2012-11-13 22:26:29 -08:00
Bas Schouten
dec539af30
Bug 811173. Part 1: Allow nsDisplayBackgroundColor::GetBounds to enable snapping. r=roc
...
--HG--
extra : rebase_source : 4eb0dadaaf17d7c30a82454c98390fd5c01eb4ec
2012-11-13 11:57:59 -08:00
Robert O'Callahan
2792f27f85
Bug 788322. Don't crash when we drawWindow on a page containing a remote <iframe>. r=mattwoodrow
...
The test is actually a test for bug 792351. It doesn't pass yet, since
we're not drawing remote iframes properly, but the test should at least
not cause a crash.
--HG--
extra : rebase_source : c25305bf872525d9b918950a3f9d77479a78a1e4
2012-11-13 11:55:52 -08:00
Robert O'Callahan
858138cda2
Bug 804606. On Mac, call ApplyPluginGeometryUpdates immediately when we've computed geometry, instead of waiting until the paint event. r=smichaud
...
--HG--
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_geoprompt.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_geoprompt.js
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_geoprompt_page.html => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_geoprompt_page.html
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_openlocation.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_openlocation.js
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_zoomrestore.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_zoomrestore.js
rename : toolkit/system/androidproxy/Makefile.in => toolkit/system/windowsproxy/Makefile.in
rename : toolkit/system/androidproxy/nsAndroidSystemProxySettings.cpp => toolkit/system/windowsproxy/nsWindowsSystemProxySettings.cpp
extra : rebase_source : 006071633b23f5ab34a27e46100fe32fbff9f735
2012-11-07 09:38:11 +13:00
Ryan VanderMeulen
5bbdea2881
Backed out changeset 43e4b01c0150 (bug 810186) for reftest failures.
2012-11-13 18:25:09 -05:00
Matt Woodrow
11fd423f63
Bug 810186 - Don't unnecessarily nest inactive layers. r=roc
2012-11-13 14:22:21 -08:00
Jeff Muizelaar
dd29583933
Bug 809603. Simplify border radius drawing. r=roc
...
This adds a RoundedRect class that we use to do the offsetting. This class can
probably also be used elsewhere. With this patch we handle the Gmail checkboxes
in a single draw instead of in pieces like we currently do.
--HG--
extra : rebase_source : 8809f12b386eef2ce7364fb98e681fba343efdfe
2012-11-12 17:55:26 -08:00
Felipe Gomes
952b0d3adc
Bug 803255. Ensure previous document viewer is cleared when creating a new one to avoid leaking the old one. r=bz
2012-11-12 13:00:19 -08:00
Matt Woodrow
bcdaf96109
Bug 805197 - Compute a region in LayerTreeInvalidation. r=roc
2012-11-12 10:31:15 -08:00
Ryan VanderMeulen
a17df69b99
Backed out changeset 5054c2552a30 (bug 798033) for b2g bustage.
2012-11-10 11:52:15 -05:00
Matt Joras
ed596163dd
Bug 798033 - Removes 'using namespace' from dom headers - r=khuey
2012-11-10 10:45:52 -05:00
Seth Fowler
db5b4c84bf
Bug 802849 - Refactor nsPresContext::MediaFeatureValuesChanged so that it can handle rebuilding style data for all callers. r=dbaron
2012-11-08 22:40:41 -08:00
Peter Van der Beken
2b73b3b4d1
Bustage fix (bug 804991 - Make FromContent expect a non-null pointer and add FromContentOrNull)
...
--HG--
extra : rebase_source : e7185c02b8cebd76201670f874d7c5b35bea9eb4
2012-11-09 22:10:06 +01:00
L. David Baron
baccbd0090
Bug 809533, patch 5: Remove unneeded null-checks in nsIPresShell.h. r=roc
2012-11-09 10:30:28 -08:00
L. David Baron
4ef58f8175
Bug 809533, patch 4: Remove null-checks of NS_New*Frame callers in the frame constructor. r=bzbarsky
2012-11-09 10:30:28 -08:00
Jonathan Kew
a6f11a5eff
bug 774560 pt 2 - implement text-transform:full-width. r=smontagu
2012-11-09 09:43:48 +00:00
Matt Woodrow
a573135e7f
Bug 799165 - Don't revoke a view manager flush on PresShell destruction if we don't own the refresh driver. r=roc
2012-11-09 19:21:45 +13:00
Bas Schouten
475f579ef1
Bug 809178: Don't let the inactive layer manager keep a gfxContext alive. r=mattwoodrow
2012-11-09 07:01:24 +01:00
Chris Jones
8a2473fc33
Bug 806029: Have remote content drop their buffers when they're hidden. r=mattwoodrow sr=roc
2012-11-07 19:51:55 -08:00
Masatoshi Kimura
3bd83e2eac
Bug 801402 - Use EncodingUtils::FindEncodingForLabel from DOM. r=sicking
2012-11-07 18:04:22 -05:00
L. David Baron
0f4a543158
Bug 809533, patch 2: Don't null-check inside NS_New*Frame. r=roc
2012-11-07 11:55:53 -08:00
L. David Baron
cbecfc83f0
Bug 809533, patch 1: Make allocation in the frame arena and the display list arena infallible. r=roc
2012-11-07 11:55:53 -08:00
Daniel Holbert
bf91bdf97d
Bug 783415 part 1: Make "display" value of flex items compute to their blockified forms. r=dbaron
2012-11-07 11:28:59 -08:00
Robert Longson
95d45d92ee
Bug 779971 - Make nsSVGTextPathProperty::DoUpdate trigger nsSVGTextFrame::NotifyGlyphMetricsChange() off an asynchronous change hint (to avoid calling nsLayoutUtils::FrameNeedsReflow synchronously under nsISVGChildFrame::ReflowSVG or during frame teardown, and avoid infinite loops caused by using an event queue event). r=jwatt.
...
--HG--
extra : rebase_source : 4dc4e59cf423f6ffb02826fb2f357edda85c048c
2012-11-07 09:53:44 +00:00
Mounir Lamouri
226d823007
Bug 809425 - Fix GCC 4.7 warnings in nsDocumentViewer.cpp. r=bz
2012-11-07 16:51:32 +00:00
Jonathan Watt
1a92bc6ab1
Bug 809328 - Stop using nsChangeHint_UpdateEffects in nsSVGRenderingObserver::DoUpdate overrides. r=roc.
...
--HG--
extra : rebase_source : 79d032ea6ad6275882ab675004d2e02b932d56d5
2012-11-07 13:54:55 +00:00
Ed Morley
18a52c3135
Backout 99a2125bd365 (bug 779971) for reftest failures
2012-11-07 12:31:00 +00:00