Commit Graph

15050 Commits

Author SHA1 Message Date
Benoit Jacob
ee1217da86 Bug 806279 - CC macros refactoring: part 3: fold the TRAVERSE_NATIVE and AMBIGUOUS cases - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Benoit Jacob
d2969fa2d5 Bug 806279 - CC macros refactoring: part 2: generic BEGIN_ macros folding in the NATIVE case - r=mccr8,smaug 2012-11-15 02:32:39 -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
c29356c1a5 Bug 759993. Make nsIFrame::GetTransformMatrix robust for popup frames. r=tnikkel
* * *
[mq]: tmp
2012-11-11 00:02:56 -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
Brendan Dahl
d860d7b308 Bug 115199 - CSS2 @page rule style support. r=dbaron 2012-08-31 14:21:28 -07:00
Brendan Dahl
a893fe4500 Bug 115199 - CSS2 @page rule rendering support. r=roc 2012-08-31 14:20:56 -07: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
Boris Zbarsky
d23220892d Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Ehsan Akhgari
4fc7e67124 Bug 762179 - Re-enable the dynamic position change reftests on b2g and Android 2012-11-14 12:37:46 -08:00
Mats Palmgren
a2778d52eb Bug 811827 - Make the @page margin 0.5in. r=bdahl 2012-11-14 21:26:41 +01:00
Chris Pearce
9abb830db0 Bug 811381 - Remove ns prefix from media code. r=roc
--HG--
rename : content/media/nsAudioAvailableEventManager.cpp => content/media/AudioAvailableEventManager.cpp
rename : content/media/nsAudioAvailableEventManager.h => content/media/AudioAvailableEventManager.h
rename : content/media/nsAudioStream.cpp => content/media/AudioStream.cpp
rename : content/media/nsAudioStream.h => content/media/AudioStream.h
rename : content/media/nsMediaCache.cpp => content/media/MediaCache.cpp
rename : content/media/nsMediaCache.h => content/media/MediaCache.h
rename : content/media/nsBuiltinDecoder.cpp => content/media/MediaDecoder.cpp
rename : content/media/nsBuiltinDecoder.h => content/media/MediaDecoder.h
rename : content/media/nsBuiltinDecoderReader.cpp => content/media/MediaDecoderReader.cpp
rename : content/media/nsBuiltinDecoderReader.h => content/media/MediaDecoderReader.h
rename : content/media/nsBuiltinDecoderStateMachine.cpp => content/media/MediaDecoderStateMachine.cpp
rename : content/media/nsBuiltinDecoderStateMachine.h => content/media/MediaDecoderStateMachine.h
rename : content/media/dash/nsDASHDecoder.cpp => content/media/dash/DASHDecoder.cpp
rename : content/media/dash/nsDASHDecoder.h => content/media/dash/DASHDecoder.h
rename : content/media/dash/nsDASHReader.cpp => content/media/dash/DASHReader.cpp
rename : content/media/dash/nsDASHReader.h => content/media/dash/DASHReader.h
rename : content/media/dash/nsDASHRepDecoder.cpp => content/media/dash/DASHRepDecoder.cpp
rename : content/media/dash/nsDASHRepDecoder.h => content/media/dash/DASHRepDecoder.h
rename : content/media/gstreamer/nsGStreamerDecoder.cpp => content/media/gstreamer/GStreamerDecoder.cpp
rename : content/media/gstreamer/nsGStreamerDecoder.h => content/media/gstreamer/GStreamerDecoder.h
rename : content/media/gstreamer/nsGStreamerReader.cpp => content/media/gstreamer/GStreamerReader.cpp
rename : content/media/gstreamer/nsGStreamerReader.h => content/media/gstreamer/GStreamerReader.h
rename : content/media/ogg/nsOggCodecState.cpp => content/media/ogg/OggCodecState.cpp
rename : content/media/ogg/nsOggCodecState.h => content/media/ogg/OggCodecState.h
rename : content/media/ogg/nsOggDecoder.cpp => content/media/ogg/OggDecoder.cpp
rename : content/media/ogg/nsOggDecoder.h => content/media/ogg/OggDecoder.h
rename : content/media/ogg/nsOggReader.cpp => content/media/ogg/OggReader.cpp
rename : content/media/ogg/nsOggReader.h => content/media/ogg/OggReader.h
rename : content/media/omx/nsMediaOmxDecoder.cpp => content/media/omx/MediaOmxDecoder.cpp
rename : content/media/omx/nsMediaOmxDecoder.h => content/media/omx/MediaOmxDecoder.h
rename : content/media/omx/nsMediaOmxReader.cpp => content/media/omx/MediaOmxReader.cpp
rename : content/media/omx/nsMediaOmxReader.h => content/media/omx/MediaOmxReader.h
rename : content/media/plugins/nsMediaPluginDecoder.cpp => content/media/plugins/MediaPluginDecoder.cpp
rename : content/media/plugins/nsMediaPluginDecoder.h => content/media/plugins/MediaPluginDecoder.h
rename : content/media/plugins/nsMediaPluginHost.cpp => content/media/plugins/MediaPluginHost.cpp
rename : content/media/plugins/nsMediaPluginHost.h => content/media/plugins/MediaPluginHost.h
rename : content/media/plugins/nsMediaPluginReader.cpp => content/media/plugins/MediaPluginReader.cpp
rename : content/media/plugins/nsMediaPluginReader.h => content/media/plugins/MediaPluginReader.h
rename : content/media/raw/nsRawDecoder.cpp => content/media/raw/RawDecoder.cpp
rename : content/media/raw/nsRawDecoder.h => content/media/raw/RawDecoder.h
rename : content/media/raw/nsRawReader.cpp => content/media/raw/RawReader.cpp
rename : content/media/raw/nsRawReader.h => content/media/raw/RawReader.h
rename : content/media/raw/nsRawStructs.h => content/media/raw/RawStructs.h
rename : content/media/wave/nsWaveDecoder.cpp => content/media/wave/WaveDecoder.cpp
rename : content/media/wave/nsWaveDecoder.h => content/media/wave/WaveDecoder.h
rename : content/media/wave/nsWaveReader.cpp => content/media/wave/WaveReader.cpp
rename : content/media/wave/nsWaveReader.h => content/media/wave/WaveReader.h
rename : content/media/webm/nsWebMBufferedParser.cpp => content/media/webm/WebMBufferedParser.cpp
rename : content/media/webm/nsWebMBufferedParser.h => content/media/webm/WebMBufferedParser.h
rename : content/media/webm/nsWebMDecoder.cpp => content/media/webm/WebMDecoder.cpp
rename : content/media/webm/nsWebMDecoder.h => content/media/webm/WebMDecoder.h
rename : content/media/webm/nsWebMReader.cpp => content/media/webm/WebMReader.cpp
rename : content/media/webm/nsWebMReader.h => content/media/webm/WebMReader.h
2012-11-14 11:46:40 -08:00
Daniel Glazman
ec5abc800c Bug 811679 - Add nsIEditorObserver back; r=ehsan 2012-11-14 11:23:35 -08:00
Cameron McCormack
c70fffb507 Bug 811581 - Add a base class for all *RuleProcessorData classes. r=bz 2012-11-15 06:09:01 +11:00
Boris Zbarsky
4cadfe05c8 Bug 810876. Don't double-count the size of our placeholder when determining the overflow area for an image frame. r=mattwoodrow 2012-11-14 10:05:41 -08:00
William Lachance
5a3130a3ae Bug 811388 - Update mozdevice to 0.15, update consumers;r=ahal 2012-11-14 09:49:04 -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
bd7b89cb6f Bug 811570 - Make the root content scroll frame inactive initially if it is overflow hidden. r=roc 2012-11-13 22:26: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
bed3e28e39 Bug 811173. Part 2: Add other cases for nsDisplayItems that snap their bounds. r=mattwoodrow
--HG--
extra : rebase_source : 716ea707140907ccbed6d739ef81db1256a7b51b
2012-11-13 11:56:47 -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
Nicholas Cameron
b75eec07c3 Bug 800556; remove nsIDOMCanvasRenderingContext2D; r=Ms2ger,sr=bz
--HG--
extra : rebase_source : 461ff127a453116f3364f4ba1e414cc527f195bd
2012-11-13 16:35:36 -08:00
Karl Tomlinson
f779bed777 b=798157 use ARGB visuals only for popups that will be translucent r=roc
--HG--
extra : transplant_source : %87%9FFG%FA%9E%1D%12i%1C%B9%93%E5%F4%85%C8s%02%7B7
2012-11-13 18:04:42 -08:00
Ryan VanderMeulen
8f46b7f654 Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures. 2012-11-13 20:19:18 -05:00
Brendan Dahl
507304aa6c Bug 115199 - CSS2 @page rule style support. r=dbaron 2012-08-31 14:21:28 -07:00
Brendan Dahl
909d765772 Bug 115199 - CSS2 @page rule rendering support. r=roc 2012-08-31 14:20:56 -07: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
Ehsan Akhgari
c9d28e3e85 Bug 650567 - Mark 267459-2.html as passing on Android 2012-11-13 14:18:23 -08:00
Andrew McCreight
f83e248276 Bug 810103 - Make nsCSSStyleSheet::mRuleCollection into an nsRefPtr. r=bz 2012-11-12 11:19:01 -08:00
Ed Morley
34c529d347 Bug 728834 - Disable scrolling/fixed-text-1.html on Linux for intermittent failures 2012-11-13 10:47:59 +00: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
Luke Wagner
da2499ccc0 Bug 810192 - don't require a default constructor for Hash{Map,Set}; only construct objects for live elements (r=terrence) 2012-11-12 15:30:39 -08:00
Peter Van der Beken
9744ea0e6b Fix for bug 810597 (crash in GetPrintCanvasElementsInFrame). r=bz 2012-11-12 17:48:49 -05:00
William Lachance
f81e82b933 Bug 805116 - Print more of the logcat in mobile tests;r=gbrown 2012-11-12 13:57:13 -08:00