Commit Graph

4167 Commits

Author SHA1 Message Date
Chris Jones
7ee7b46bd3 Bug 783066: Paint the backgrounds of remote subdocuments like we paint those of same-process subdocuments. r=roc 2012-09-05 09:23:45 -07:00
Robert O'Callahan
f716b5f69e Bug 787089. Rip out mUpdatePluginGeometryForFrame optimization. It's not known to be a significant win, and creates problems when prescontext ancestor chains are broken; the complexity probably isn't worthwhile. Also, soon (or now) we can rework plugin bounds computation to be use the display list built for rendering. r=matspal
--HG--
extra : rebase_source : 0394fcb5111b8b96b5f8ce48e20d6e5503f9ccf7
2012-09-05 22:30:10 +12:00
Robert O'Callahan
98b856dbc0 Bug 785588. Perform asynchronous scroll operations before firing requestAnimationFrame callbacks. r=tnikkel
--HG--
extra : rebase_source : 3c1439773981db4ea1b957db4351f50899229130
2012-09-05 22:29:15 +12:00
Daniel Holbert
ac23760ca2 Bug 763689 patch 3: Support min-height:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron 2012-09-04 16:26:11 -07:00
Daniel Holbert
cb09d97d7e Bug 763689 patch 2: Support min-width:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron 2012-09-04 16:26:10 -07:00
Brendan Dahl
2cafcdd70a Bug 745025 - Part 2 - Adds layout/printing support for mozPrintCallback. r=roc 2012-08-30 17:24:35 -07:00
Simon Montagu
e549b9a983 Don't forget to empty the buffer after ResolveParagraph. Bug 788086, r=roc 2012-09-04 00:46:43 -07:00
Nicholas Cameron
b5afb8cd06 Bug 769021; fix a memory leak with mask sharing. r=khuey 2012-09-04 13:02:56 +12:00
Nicholas Cameron
99b5362c97 Bug 786817; Check multiple masks properly and invalidate after removing a mask layer. r=roc 2012-09-04 13:02:56 +12:00
Nicholas Cameron
f4d629e6dc Back out bug 769021, bug 786817 2012-09-03 22:47:51 +12:00
Nicholas Cameron
70503d1a66 Bug 769021; fix a memory leak with mask sharing. r=khuey 2012-09-03 22:35:33 +12:00
Nicholas Cameron
a0e4293626 Bug 786817; Check multiple masks properly and invalidate after removing a mask layer. r=roc 2012-09-03 22:35:33 +12:00
Ed Morley
2ca37472a4 Backout 03cb77f8d75d (bug 769021), 04fd792509d6 (bug 786817) for burning the tree 2012-09-03 09:20:05 +01:00
Nicholas Cameron
7a6cc0c46b Bug 769021; fix a memory leak with mask sharing. r=khuey 2012-09-03 18:58:07 +12:00
Nicholas Cameron
6201de1c7c Bug 786817; Check multiple masks properly and invalidate after removing a mask layer. r=roc 2012-09-03 18:58:07 +12:00
Robert O'Callahan
c87a66cef9 Bug 780847. Built-in support for mouse/touch events targeting nodes within a certain radius via heuristics. r=mats,smaug
--HG--
extra : rebase_source : 13a350bb6c993e5a23e54657cbe9f22c287036ad
2012-08-20 12:02:42 +12:00
Robert O'Callahan
c506f79e34 Bug 780847. Fix nsLayoutUtils::IsProperAncestorFrame(CrossDoc) to handle case where aAncestorFrame == aCommonAncestor == aFrame->GetParent(). r=mats
--HG--
extra : rebase_source : 9f8d01c7049a701ac5bcf633ee605443b81aec35
2012-08-20 10:25:49 +12:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
David Zbarsky
d4de439068 Bug 780692 Part 2.5: Rename GetRootFrameThroughViews to GetNearestFrameContainingPresShell. r=tn 2012-08-30 17:19:26 -04:00
David Zbarsky
a7f4d825b0 Bug 780692 Part 2: Flush layout when handling touch events r=smaug 2012-08-30 14:41:09 -04:00
Chris Lord
040162f094 Bug 786672 - Use the scrolled frame for nsDisplayScrollLayer when finding the active scrolled root. r=roc
The underlying frame of an nsDisplayScrollLayer can change and end up returning
different values when finding the active scrolled root. Instead of relying on
display-item ordering/merging, get the scrolled frame from the item (which was
already storing it).
2012-08-30 08:31:16 +01:00
L. David Baron
86f05ac6f8 Print which bits have errors to try to distinguish overwriting from hardware problems. (Bug 785737) r=roc 2012-08-29 18:27:01 -07:00
Ehsan Akhgari
531525812e Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : adad9af01d9168a14d87c201c1bd51a3a7a768f5
2012-08-29 10:56:51 -04:00
Ehsan Akhgari
73180678c6 Bug 782062 - Do not attempt to move frames with views in their subtree without doing a reflow to prevent the view position from getting out of sync; r=roc
--HG--
extra : rebase_source : 2e4ea7d139dc953a4c3d525b15e5753fb585e057
2012-08-29 09:46:09 -04:00
Robert O'Callahan
fe0e20ccfa Bug 784410. Don't target bubbling scroll commands at an element unless we have at least one device pixel to scroll to. r=mats 2012-08-29 23:21:40 +12:00
Chris Lord
0b93911368 Bug 785333 - Make sure layers are only associated with a single frame. r=roc
Use Layer user-data to ensure that a Layer doesn't end up being found multiple
times for different frames during construction.
2012-08-29 11:53:34 +01:00
Chris Lord
d322fd5f46 Bug 785333 - Keep track of merged frames with all display items. r=roc
This changes the display-item storage to store layers against the underlying
frame and all merged frames of an item (and similarly, to retrieve them against
all frames of an item).
2012-08-29 11:53:27 +01:00
Chris Lord
9e0e5d24bf Bug 785333 - Store container layers against merged frames. r=roc
As well as storing the container layer against the underlying frame of the
container item, store it against its merged frames as well. In addition, check
for old container layers against merged frames when building a container layer.

This protects against losing the layer when the underlying frame of a container
item changes to either a new frame or an existing, merged frame.
2012-08-29 11:53:20 +01:00
Chris Lord
d538b2ed4c Bug 785333 - Don't rely on layer ordering in ContainerState::Finish. r=roc
Rather than relying on a particular ordering of layers in
ContainerState::Finish, use ContainerLayer::Reposition to more reliably remove
old, unused layers.
2012-08-29 11:53:06 +01:00
Boris Zbarsky
ccd4da9732 Bug 732209 part 4. Propagate the CORS state throughout the CSS loading process. r=sicking,dbaron 2012-08-28 13:10:08 -04:00
Ryan VanderMeulen
f2718c8e3a Merge m-c to inbound. 2012-08-27 22:54:14 -04:00
Gavin Sharp
f99257a9f5 Back out bug 785333 (revisions 79345542f853 and a1756976e61d) to fix crasher bug 785626 2012-08-27 16:41:19 -07:00
Philipp von Weitershausen
5801c8b2ab Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Paul Adenot
cb645f930a Bug 761393 - Add telemetry probes to guess the retention time. r=taras 2012-08-26 21:12:36 -07:00
Paul Adenot
a29fbcc5af Bug 761393 - Cache the gfxPatterns using an nsExpirationTracker and an hashtable. r=dbaron 2012-08-26 21:09:46 -07:00
David Zbarsky
5b8ee4d5ca Fix 2 logging calls I added today to also log the element and it's id, no bug, r=me 2012-08-26 00:14:31 -04:00
David Zbarsky
e0fe5ae49b Bug 785657 - Enable async animations in content processes r=cjones 2012-08-25 21:27:28 -04:00
David Zbarsky
6a9972f334 Bug 785648 - Improve OMTA logging r=cjones 2012-08-25 21:27:28 -04:00
David Zbarsky
68b3e0e5bf [Bug 785454] Remove nsPresShell::GetFrameForPoint r=smaug 2012-08-25 00:09:48 -04:00
Benoit Girard
9c58fbf74c Bug 785287 - Profiler: Add the document URL in DoReflow. r=roc
--HG--
extra : rebase_source : 816fc213bdc9e3201913f8df944a2a84e6f33bfc
2012-08-23 22:07:21 -04:00
Chris Lord
d844099677 Bug 785333 - Keep track of merged frames with all display items. r=roc
This changes the display-item storage to store layers against the underlying
frame and all merged frames of an item (and similarly, to retrieve them against
all frames of an item).
2012-08-24 16:17:22 +01:00
Chris Lord
db96f622c9 Bug 785333 - Store container layers against merged frames. r=roc
As well as storing the container layer against the underlying frame of the
container item, store it against its merged frames as well. In addition, check
for old container layers against merged frames when building a container layer.

This protects against losing the layer when the underlying frame of a container
item changes to either a new frame or an existing, merged frame.
2012-08-24 16:17:22 +01:00
Chris Lord
f823b5376f Bug 781516 - Remove DisplayItemDataEntry.mIsMergedFrame. r=roc
This is unnecessary as it just duplicates the functionality of
mIsSharingContainerLayer.
2012-08-24 11:59:37 +01:00
Ehsan Akhgari
4549b4f331 Bug 579517 follow-up: Remove NSPR types that crept in 2012-08-27 12:28:11 -04:00
Chris Lord
302322fd64 Bug 771154 - Invalidate only the frame rect when new frames come into view. r=roc
Instead of forcing a full-layer invalidation when new frames appear, invalidate
only the bounds of the frame. Invalidating untrusted geometry still causes a
full-layer invalidation.
2012-08-23 12:14:47 +01:00
Chris Lord
97efc4771c Bug 781516 - Fix invalidation caused by unprocessed merged frames. r=roc
As clip items aren't processed, they have no associated layer entries. This is
a problem when a clip item's underlying frame is the same as one that gets
merged into a container layer, as display-item data will be created, but no
layer entry will be added. This will cause it to be removed on the next
layer-build, and cause a full invalidation.

Fix this by adding an 'mIsMergedFrame' entry to DisplayItemDataEntry and setting
it on all merged frames in BuildContainerLayerFor. This property stops the
entry from being removed when it gets updated.
2012-08-23 09:30:53 +01:00
David Zbarsky
6b65174cd9 Bug 784846 - The ShouldPrerender check for async animations is wrong r=mattwoodrow 2012-08-23 02:05:27 -04:00
Ehsan Akhgari
57ac5ddc72 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Doug Sherk
b018fea56e Bug 780397: Convert FrameMetrics.mViewportScrollOffset from nsIntPoint to gfx::Point r=roc 2012-08-21 21:37:15 -07:00
Doug Sherk
2347943aeb Bug 775447: Let touch-event listeners cancel async pan/zoom r=cjones 2012-08-21 21:37:06 -07:00