Commit Graph

3969 Commits

Author SHA1 Message Date
Chris Lord
887bd58e00 Bug 769541 - Fix display list creation for positioned descendants of fixed position frames. r=roc
Positioned descendants of positioned frames escape the child display list to
their parent's positioned descendants list when they don't have a z-index set.
This caused their invalidations to be logged against the incorrect layer.

To fix this, wrap each extra positioned descendant of a fixed-position frame
in its own nsDisplayFixedPosition so they receive their own layers.
2012-07-25 08:06:19 +01:00
Matt Woodrow
5102cafa8e Bug 770096 - Prevent crashes when encountering an empty ThebesLayer. r=roc 2012-07-25 09:39:01 +12:00
Jesse Ruderman
0b416224fe Add crashtest from bug 770381 2012-07-23 22:00:35 -07:00
Matt Brubeck
2e41f92cb5 Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures 2012-07-23 20:25:51 -07:00
David Zbarsky
3c4a102656 Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron 2012-07-23 17:34:49 -07:00
David Zbarsky
5deebe2e9b Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron 2012-07-23 17:34:46 -07:00
James Willcox
80029db926 Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey 2012-07-20 15:20:51 -04:00
Robert O'Callahan
369d480019 Bug 772690: Speed up nsDisplayList::SortByZOrder by removing (unnecessary) secondary sort by content order. r=dbaron 2012-07-23 08:20:11 -07:00
Ed Morley
69ac41ee19 Backout 4987ffd173a4 (bug 687267) for bustage 2012-07-23 14:47:54 +01:00
James Willcox
9c75650095 Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00
Matt Woodrow
35775825fa Bug 539356 - Part 28 - Cached nsDisplayBackground rasterizations with BasicLayers. r=roc 2012-07-23 15:00:36 +12:00
Matt Woodrow
0bc8f48c38 Bug 741682 - Flatten component alpha layers into their parent layer with BasicLayers. r=roc 2012-07-23 15:00:36 +12:00
Matt Woodrow
31acc195c6 Bug 741682 - Use nsRegion::ScaleToInsidePixels when computing opaque regions of layers. r=roc 2012-07-23 15:00:36 +12:00
Matt Woodrow
123b68c4c3 Bug 741682 - Add component alpha bounds and opaque regions to display list dumping. r=roc 2012-07-23 15:00:36 +12:00
Ms2ger
0a56bc3482 Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE. 2012-07-22 14:02:18 +02:00
Daniel Holbert
075f9841d5 Bug 776306: When prepending to a display list, only update its 'mTop' pointer if it was empty. r=roc 2012-07-21 22:06:58 -04:00
Jonathan Watt
bba15f0a70 Bug 776250 - Rename nsISVGChildFrame::UpdateBounds to nsISVGChildFrame::ReflowSVG to make it easier for non-SVG devs to understand the SVG code. r=roc.
--HG--
extra : rebase_source : 9c2d8f3d76dab1a842d6cc5607a13a49703061d6
2012-07-21 20:01:44 -04:00
James Willcox
f0d7883166 Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert 2012-07-20 15:20:51 -04:00
Jonathan Watt
77a641125d Bug 614732 - Implement display list based painting and hit-testing for SVG. r=roc.
--HG--
extra : rebase_source : 77e55885fbbf428008f5be787ddeb7e561c0d9bd
2012-07-20 14:12:29 -04:00
Chris Jones
ef35aa58e9 Bug 750977: Implement glue code for asynchronous panning/zooming. r=jlebar,roc,vingtetun
This is a rollup of three separate patches
 - Add nsIDocShell.asyncPanZoomEnabled. r=jlebar
 - Have BrowserElementChild service repaint requests and handle fallback synchronous scrolling (for now). r=jlebar,vingtetun
 - Glue async pan/zoom logic up between compositing, event dispatch, and repaint requests. r=roc

--HG--
rename : b2g/chrome/content/webapi.js => dom/browser-element/BrowserElementScrolling.js
2012-07-19 23:48:27 -07:00
Jonathan Watt
e52e0a6f49 Bug 775697 - Cancel layer transactions that haven't ended after nsDisplaySVGEffects::PaintAsLayer returns. r=roc. 2012-07-20 00:53:55 -04:00
Wes Johnston
95b13b9ed4 Bug 774987 - Remove a leak and unnecessary copy in touch event handling. r=smaug 2012-07-19 16:36:45 -07:00
Steve Fink
f20c2ef916 Backed out changeset afd9e75374e8 from a CLOSED TREE for breaking Windows builds 2012-07-19 14:55:48 -07:00
James Willcox
67949244f1 Bug 687267 - Initial support for Flash on Honeycomb r=benwa,vlad 2012-07-19 16:15:40 -04:00
Jonathan Watt
2e72406ef8 Bug 775304 - Don't visit the descendant frames for the nsChangeHint_UpdateEffects hint. r=roc, r=dbaron.
--HG--
extra : rebase_source : 11996bd6194d62f98eba81d5e3a13d29eaacd62b
2012-07-19 15:44:04 -04:00
Ed Morley
ea3f99b883 Backout e6068bdf8268 (bug 769541) for frequenent intemittent failures in border-radius/clipping-3.html 2012-07-19 11:27:37 +01:00
Chris Lord
da708e688e Bug 769541 - Fix display list creation for positioned descendants of fixed position frames. r=roc
Positioned descendants of positioned frames escape the child display list to
their parent's positioned descendants list when they don't have a z-index set.
This caused their invalidations to be logged against the incorrect layer.

To fix this, wrap each extra positioned descendant of a fixed-position frame
in its own nsDisplayFixedPosition so they receive their own layers.
2012-07-19 06:35:55 +01:00
David Zbarsky
88371b030a [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Matt Woodrow
f44f8caaf1 Bug 773100 - Invalidate the frame bounds instead of deleting the frame property. r=roc 2012-07-18 14:56:42 -04:00
Ehsan Akhgari
7099eb2ffc Backout changeset f0be368bb172 (bug 773100) for broken builds across the board 2012-07-18 12:19:20 -04:00
Matt Woodrow
61b2488959 Bug 773100 - Invalidate the frame bounds instead of deleting the frame property. r=roc 2012-07-16 22:28:44 -04:00
Ms2ger
e8f603b3f8 Bug 539356 - Followup: Fix unused variable warnings; r=mattwoodrow over IRC. 2012-07-18 16:28:53 +02:00
Ehsan Akhgari
13792204c3 Merge mozilla-central into mozilla-inbound 2012-07-18 09:38:49 -04:00
Jonathan Watt
a62a4b2be0 Bug 774133 - Make nsDisplayTransform take account of zooming for SVG transforms. r=roc. 2012-07-18 09:15:13 -04:00
Ed Morley
ab4a6323cd Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-18 13:32:24 +01:00
Ms2ger
35132b2b6e Bug 772487 - Use CPP_UNIT_TESTS for TestPoisonArea.cpp; r=khuey
--HG--
rename : layout/base/tests/TestPoisonArea.cpp => layout/base/tests/cpp-tests/TestPoisonArea.cpp
2012-07-18 12:36:08 +02:00
Matt Woodrow
55c47b5cde Bug 539356 - Part 7 - Store FrameLayerBuilder objects on the LayerManager instead of nsDisplayListBuilder. r=roc 2012-07-17 13:03:51 -04:00
Matt Woodrow
7ff6103aa6 Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc 2012-07-17 13:03:51 -04:00
Matt Woodrow
752c70ddaa Bug 539356 - Part 3 - Make GetParentPresContext() succeed when the current PresContext has no frames. r=bz 2012-07-17 13:03:51 -04:00
Nicholas Cameron
cd536b1d55 Bug 773626; mask sharing hash functions. r=roc 2012-07-16 06:44:15 -04:00
Rafael Ávila de Espíndola
f2824f38d7 Bug 774031 - Remove extra ;. r=roc. 2012-07-15 00:16:47 -04:00
Chris Lord
37292f8877 Bug 772079 - Fix ThebesLayerInvalidRegion being destroyed too soon. r=roc
A comment in ApplyThebesLayerInvalidation says that it preserves the content
of ThebesLayerInvalidRegion, in case there are multiple container layers for
the same frame. SetHasContainerLayer, however, immediately clears said property.

This was causing invalidations to be lost since Bug 758620 on fixed-position
elements, as they were being separated out onto their own layers but were still
merged in the root scroll layer. This is tracked in Bug 769541.

This fixes the problem by storing the new invalid region in DisplayItemDataEntry
and clearing/setting the ThebesLayerInvalidRegion property in the
UpdateDisplayItemData callback from FrameLayerBuilder::WillEndTransaction.
2012-07-14 08:49:05 +01:00
Wes Johnston
d5b0dd84fe Bug 732052 - Allow slide frames to use touch events. r=smaug,enn 2012-07-09 09:55:35 -07:00
Wes Johnston
1c845a94d4 Backout a7d1108f70fb, e32603f16465, 142b9df4d021, 2012-07-10 16:20:09 -07:00
Ehsan Akhgari
cdf6b06813 Bug 763223 - convert the assertion added in bug 157681 to a warning; r=dbaron 2012-06-18 20:58:08 -04:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Wes Johnston
1d0bf152bf Bug 732052 - Allow slide frames to use touch events. r=smaug,enn 2012-07-09 09:55:35 -07:00
Emmanuele Bassi
8e11d54d2a Bug 762303 - Unprefix CSS Transition properties and provide temporary aliases for -moz-transition and exposed subproperties. r=dbaron 2012-07-08 21:25:10 -04:00
Jonathan Watt
8b34895f35 Bug 769742 - Account for nsSVGOuterSVGFrames' border/padding offset by giving nsSVGOuterSVGFrame an anonymous child to wrap its real children. r=roc. 2012-07-09 02:04:56 +01:00
Benoit Girard
3009880b26 Bug 771219 - Restore display items when drawing a thebes layer. r=roc 2012-07-06 13:57:47 -04:00