Matt Woodrow
470534c6d3
Bug 539356 - Add to pref to disable painting from the refresh driver. r=roc
2012-08-13 22:11:33 +12:00
Matt Woodrow
1f62ddd68b
Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
...
* * *
Fix Empty transactions with the new paint timing
2012-08-13 22:10:10 +12:00
Ed Morley
a0bb24f111
Backout 5d77941eba28 (bug 772726), df597d36bcbb (bug 383026), c9c7e1b9aed9 (bug 779399) for failures in meter-native-style.html
2012-08-10 14:50:43 +01:00
Robert O'Callahan
2f48a66a41
Backing out f89374c446c2 for build bustage (bug 691591)
2012-08-10 23:55:51 +12:00
Robert O'Callahan
c12d4c82bd
Bug 691651. When an element changes between having a transform and not having one, don't reframe if we don't need to. r=dbaron
...
--HG--
extra : rebase_source : 4bc4f5fc7b5c9e621518e9f8c574259ea0de3b0a
2012-08-10 23:16:49 +12:00
Robert O'Callahan
5f20fdc3bc
Bug 779399. Scale gradient cell to exactly fill snapped rect. r=jrmuizel
...
We need to make sure that when we snap the fillRect, we also adjust the scaling
of the gradient so it exactly fills the snapped tileRect.
--HG--
extra : rebase_source : f967398e3b327dff8fcfbd2fc95f2e4eae8ae9d7
2012-08-10 23:10:12 +12:00
Chris Lord
0bc8e449b7
Bug 779269 - Implement a TryMerge method for nsDisplayFixedPosition. r=roc
...
Allow nsDisplayFixedPosition items that share the same fixed-pos frame to be
merged. This avoids a bug where the Google PDF viewer document image gets
re-rendered offset on the initial frame of a scroll when layer acceleration is
enabled.
2012-08-10 09:36:33 +01:00
Robert O'Callahan
cde908d3c4
Bug 691651. When an element changes between having a transform and not having one, don't reframe if we don't need to. r=dbaron
...
--HG--
extra : rebase_source : ed990c17d2501ea5f4d09dea56baeada41cd3f35
2012-08-10 23:16:49 +12:00
Aryeh Gregor
982100775b
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Ed Morley
991653b152
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-09 12:46:05 +01:00
Ms2ger
a51e9be374
Bug 780387 - Part f: Stop using PRBool & PRPackedBool; r=bsmedberg
2012-08-09 09:10:13 +02:00
Ms2ger
aa7cd71f5c
Bug 780387 - Part e: Stop using PRSize; r=bsmedberg
2012-08-09 09:10:11 +02:00
Ms2ger
331accfcb4
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Bobby Holley
943789da00
Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
...
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
William Chen
60fc0f1ee6
Bug 778420 - Initial stab at the tests. v2 r=bholley
...
--HG--
extra : rebase_source : c24abc031c82a87f2f669e4b708f8ee364a9682b
2012-08-06 22:15:49 +02:00
Chris Jones
ea2f43b3fb
Bug 778067: Disable 735943.html for <browser remote>, for now. r=jlebar
2012-08-08 10:51:40 -07:00
Chris Lord
8d9debfca4
Bug 775431 - Add missing indentation for MOZ_DUMP_PAINT_LIST. r=mattwoodrow
...
This part of the patch got lost rebasing somewhere.
2012-08-08 12:46:55 +01:00
Cameron McCormack
369658e4e3
Bug 655877 - Part 40: Factor out 'distance from point to rect' calculation from text frame selection routine. r=roc
2012-08-08 21:37:14 +10:00
Cameron McCormack
8d5386333d
Bug 655877 - Part 32: Allow nsCharClipDisplayItems to be constructed without an nsDisplayListBuilder. r=roc
2012-08-08 21:37:14 +10:00
Cameron McCormack
b9841b9ddd
Bug 655877 - Part 27: Ignore text-shadow in SVG text frames. r=roc
2012-08-08 21:37:13 +10:00
Cameron McCormack
46d5786b85
Bug 655877 - Part 19: Add function to convert text decorations to a path. r=roc
2012-08-08 21:37:11 +10:00
Timothy Nikkel
2f1dc96c4c
Annotate crashtest assert with bug number covering it (bug 780985).
2012-08-07 15:27:25 -05:00
Timothy Nikkel
5c62bb3c35
Mark crashtest for bug 460389 as sometimes asserting. Bug 780985 covers fixing it so we don't assert.
2012-08-07 15:24:49 -05:00
Timothy Nikkel
530cbb11d5
Add crashtests from bug 460389 and bug 522170.
2012-08-07 13:25:39 -05:00
Chris Lord
bd93048cf7
Bug 775431 - Make MOZ_DUMP_PAINT_LIST output terminal-friendly. r=mattwoodrow
...
Only output in HTML if we're dumping to a file, otherwise output as it did
before the HTML output change was made.
2012-08-07 18:57:26 +01:00
Robert O'Callahan
fce3de4ae2
Bug 780582. Ensure that mouse-up/touch-end events are processed by some frame, so that capture is released. r=smaug
2012-08-07 23:07:54 +12:00
Robert O'Callahan
4648ff3143
Bug 776836. When invalidating ThebesLayers due to an appunits-per-dev-pixel change, we can't trust the frame geometry. r=mattwoodrow
2012-08-07 23:07:07 +12:00
Simon Montagu
07b09b2133
Implement the new CSS property value unicode-bidi: isolate-override. Bug 774335, r=dbaron
2012-08-07 01:42:46 -07:00
Jan Varga
c89ae3e144
Bug 779684 - Move FrameIteratorFlags to nsFrameIterator class. r=roc
2012-08-06 20:27:04 -04:00
Ed Morley
e652569507
Backout b4a63a0b90c2 (bug 778420), b849f1b3859a (bug 778420), d522b5a13b27 (bug 72964), 3a12c64bf53a (bug 778420), c07148142675 (bug 726053) for failures in test_bug435425.html on a CLOSED TREE
2012-08-07 00:57:27 +01:00
Bobby Holley
6e8f328744
Bug 778420 - Fix up tests that don't like the new enablePrivilege, r=jmaher.
...
--HG--
extra : rebase_source : 07565c66b279ba5a58b5902b697110f940c255fd
2012-08-06 22:38:19 +02:00
William Chen
f706938203
Bug 778420 - Initial stab at the tests. v2 r=bholley
...
--HG--
extra : rebase_source : e014ba90baa75ba3146f4e3fb5c447b87a8e83c0
2012-08-06 22:15:49 +02:00
David Zbarsky
25d8a787fa
Bug 780342 - Don't allow compositor-driven animation of frames that are not prerendered, provide diagnostics for when that happens r=cjones
2012-08-06 16:33:23 -04:00
Robert O'Callahan
7261891bd6
Bug 772679. Handle frame with NS_HAS_CONTAINER_LAYER having no display items. r=tnikkel
2012-08-05 20:59:06 +12:00
Robert O'Callahan
4db91fd321
Bug 772679. Mark test as passing on Mac.
2012-08-05 00:27:07 +12:00
Robert O'Callahan
77f45e1f0b
Bug 772679. Testcase.
2012-08-05 00:26:58 +12:00
Robert O'Callahan
e88fd7de46
Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel
...
Change GetThebesLayerResolutionForFrame to GetThebesLayerScaleForFrame,
which just returns a scale. Ensure that the scale is as accurate as possible
even if dedicated layers for scrolled content (or any layers at all) have not
been created yet, by taking into account transforms that have not yet
generated layers. This makes the decisions made by
nsGfxScrollFrameInner::ScrollToImpl independent of whether there is
currently an active layer for the scrolled content (or much more nearly so).
In nsGfxScrollFrameInner::ScrollToImpl, do not use the current internal
fractional offset of the ThebesLayer, which is in a mostly unrelated
coordinate space to our scroll positions. Instead, just try to make sure
that the previous and next scroll position differ by a whole number of
layer pixels.
2012-08-05 00:26:38 +12:00
David Zbarsky
fe804d085c
[Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc
2012-08-05 23:00:56 -04:00
David Zbarsky
d505b382d4
Bug 779684: Create a stack-based nsFrameIterator class out of nsIFrameTraversal and nsIFrameEnumerator r=roc
...
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
2012-08-05 23:00:55 -04:00
Ed Morley
1d8d82865d
Backout 6ea008b301da, 14d17919e235, b15fb3603bfe & f89ae41eed63 (bug 772679) for turning test_offsets.html perma-orange on native Android mochitest-7
2012-08-05 14:35:08 +01:00
Robert O'Callahan
59747de4ad
Bug 772679. Handle frame with NS_HAS_CONTAINER_LAYER having no display items. r=tnikkel
2012-08-05 20:59:06 +12:00
Robert O'Callahan
abb4785ba6
Bug 772679. Mark test as passing on Mac.
2012-08-05 00:27:07 +12:00
Robert O'Callahan
24c014c2c3
Bug 772679. Testcase.
2012-08-05 00:26:58 +12:00
Robert O'Callahan
078dd6ac15
Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel
...
Change GetThebesLayerResolutionForFrame to GetThebesLayerScaleForFrame,
which just returns a scale. Ensure that the scale is as accurate as possible
even if dedicated layers for scrolled content (or any layers at all) have not
been created yet, by taking into account transforms that have not yet
generated layers. This makes the decisions made by
nsGfxScrollFrameInner::ScrollToImpl independent of whether there is
currently an active layer for the scrolled content (or much more nearly so).
In nsGfxScrollFrameInner::ScrollToImpl, do not use the current internal
fractional offset of the ThebesLayer, which is in a mostly unrelated
coordinate space to our scroll positions. Instead, just try to make sure
that the previous and next scroll position differ by a whole number of
layer pixels.
2012-08-05 00:26:38 +12:00
Cameron McCormack
4a39934652
Bug 655877 - Part 29: Don't underline links within SVG text by default. r=dbaron
2012-08-05 11:01:19 +10:00
Cameron McCormack
2d3a383cc3
Bug 655877 - Part 18: Ensure even line-ending white space SVG text frames are created. r=bz
2012-08-05 11:01:18 +10:00
Cameron McCormack
c0c27a68a3
Bug 655877 - Part 17: Ensure non-SVG child elements of SVG text elements do not get frames. r=bz
2012-08-05 11:01:18 +10:00
Ms2ger
1e53e4af55
Bug 777293 - Remove NS_NewCSSStyleSheet; r=dbaron
2012-08-04 09:44:01 +02:00
Jonathan Kew
2a787bd2bf
bug 721750 - support text-shadow property on ::-moz-selection. r=dbaron
2012-08-04 19:52:21 +01:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
4eb11bee72
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
b549803df7
Back out bug 772679 for crashes.
2012-08-04 15:10:45 +02:00
Robert O'Callahan
ab66bd51d9
Bug 772679. Mark test as passing on Mac.
2012-08-05 00:27:07 +12:00
Robert O'Callahan
a93ec4fde1
Bug 772679. Testcase.
2012-08-05 00:26:58 +12:00
Robert O'Callahan
a8cf24827e
Bug 772679. RestrictToLayerPixels needs to accurately convert between appunits scroll offsets and ThebesLayer pixel coordinates. r=tnikkel
...
Change GetThebesLayerResolutionForFrame to GetThebesLayerScaleForFrame,
which just returns a scale. Ensure that the scale is as accurate as possible
even if dedicated layers for scrolled content (or any layers at all) have not
been created yet, by taking into account transforms that have not yet
generated layers. This makes the decisions made by
nsGfxScrollFrameInner::ScrollToImpl independent of whether there is
currently an active layer for the scrolled content (or much more nearly so).
In nsGfxScrollFrameInner::ScrollToImpl, do not use the current internal
fractional offset of the ThebesLayer, which is in a mostly unrelated
coordinate space to our scroll positions. Instead, just try to make sure
that the previous and next scroll position differ by a whole number of
layer pixels.
2012-08-05 00:26:38 +12:00
Ms2ger
e6463200a3
Merge m-c to m-i.
2012-08-04 13:02:15 +02:00
Mike Hommey
be451c22dc
Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE
2012-08-04 10:38:41 +02:00
Ms2ger
a1a20f374b
Bug 777293 - Remove NS_NewCSSStyleSheet; r=dbaron
2012-08-04 09:44:01 +02:00
Mike Hommey
e79d87471e
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 08:48:56 +02:00
Chris Jones
3a11727da8
Bug 780346: Add a sample label to refresh driver. irl-r=mattwoodrow
2012-08-03 20:23:24 -07:00
Ed Morley
5815384247
Backout 14245bf85a3d (bug 778420), b9f603d3eef4 (bug 778420), e9bc27234022 (bug 72964), d5aa53121d29 (bug 778420), 959cc7ef5f5a (bug 726053) for m1 failures in test_offline_gzip.html
2012-08-03 23:29:10 +01:00
David Zbarsky
02175ccbab
Bug 706179 Part 3: Turn on the use of scaling for layers in FrameLayerBuilder r=mattwoodrow
2012-08-03 14:29:22 -07:00
Bobby Holley
dfdcb801d5
Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
2012-08-03 22:19:54 +02:00
William Chen
d1fa2a97bc
Bug 778420 - Initial stab at the tests. r=bholley
2012-08-03 22:19:54 +02:00
Cameron McCormack
45a49ac210
Bug 655877 - Part 16: Treat all values of display other than 'none' as 'inline' in SVG text frames. r=roc
2012-08-02 21:38:51 +10:00
Cameron McCormack
d63a0ddfaa
Bug 655877 - Part 15: Don't treat SVG text frames as being positioned. r=roc
2012-08-02 21:38:50 +10:00
Cameron McCormack
b71d455883
Bug 655877 - Part 14: Ignore float in SVG text frames. r=roc
2012-08-02 21:38:49 +10:00
Cameron McCormack
bd1f97f84e
Bug 655877 - Part 8: Ignore letter-spacing in SVG text frames. r=roc
2012-08-02 21:38:47 +10:00
Cameron McCormack
66b5bc0967
Bug 655877 - Part 4: Add FCDATA_ flag for SVG text. r=roc
2012-08-02 21:38:46 +10:00
David Zbarsky
a6b2e14982
Bug 778799 - When offloading animations, use the device pixels to figure out scale instead of CSS pixels r=mattwoodrow
2012-07-31 10:28:23 -07:00
David Zbarsky
799477d8ed
Bug 755084 Part 3: Move checks for whether to animate opacity and transforms on the compositor thread to nsLayoutUtils, and make them also check whether the compositor is actually running r=cjones,dbaron
2012-07-31 10:28:22 -07:00
David Zbarsky
8c734bee81
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-31 10:28:22 -07:00
David Zbarsky
bde306fdca
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-31 10:28:21 -07:00
Scott Johnson
c5aaabe440
Bug 764567: Implement column-fill part of CSS3 multicol spec, now with regression fixes [r=roc].
2012-07-31 11:21:19 -05:00
Aryeh Gregor
4fc090c08b
Bug 734953 - Restore transform: skew() support; r=dbaron
2012-07-30 16:48:02 +03:00
Neil Deakin
28413e223c
Bug 357725, support minimum and maximum size constraints on windows and popups, r=mats,jmathies,karlt,smichaud,sr=neil
2012-07-30 20:43:29 -04:00
Neil Deakin
b960ff246c
Bug 582719, use nsQueryFrame for menus and popups rather than GetType, r=neil
2012-07-30 20:43:28 -04:00
David Zbarsky
312c029975
Bug 706179 Part 2: Add a BaseTransform and scaling to layers, r=roc, cjones
2012-07-30 19:20:00 -07:00
David Zbarsky
fa3cb43e08
Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones
2012-07-30 17:42:26 -07:00
Ryan VanderMeulen
26da6164d3
Merge m-c to inbound.
2012-07-30 20:14:22 -04:00
Mark Finkle
a4d33f44cf
Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580)
2012-07-30 14:36:12 -04:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Mark Finkle
0061afb4f0
Backout 883bdf118b52 since dependent code was backed out from m-c
2012-07-30 14:41:54 -04:00
David Zbarsky
888555c386
Bug 778799 - When offloading animations, use the device pixels to figure out scale instead of CSS pixels r=mattwoodrow
2012-07-30 11:25:25 -07:00
Aryeh Gregor
2e7996f8d1
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Ehsan Akhgari
c80897316e
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
58769bb9d6
Bug 777292 - Don't use |= on nsresult; r=ehsan
2012-07-27 17:03:08 +03:00
David Zbarsky
b553f704bb
Bug 778501 Part 4: DeviceContext should be an nsRefPtr r=roc
2012-07-29 21:36:32 -07:00
David Zbarsky
1197f91329
Bug 778501 Part 3: Clean up the includes in nsPresContext.h r=roc
2012-07-29 21:29:41 -07:00
David Zbarsky
8ad934811b
Bug 778501 Part 2: mEventManager should be an nsRefPtr r=roc
2012-07-29 21:29:33 -07:00
David Zbarsky
31275596fb
Bug 778501 Part 1: mLanguage should be an nsCOMPtr r=roc
2012-07-29 21:29:23 -07:00
Trevor Saunders
15be0e10a2
bug 765252 - ensure doc accessibles don't out live the related pres shell r=bz, davidb, surkov
2012-07-28 00:21:40 -04:00
Nicolas Silva
8f06b10d98
Bug 773462 - Rename calls to ImageContainer::SetCurrentImage into ImageContainer::SetCurrentImageInTransaction when the method is used within a layer transaction. r=roc
2012-07-26 14:11:22 -04:00
David Zbarsky
8bda81abf5
Bug 706179 Part 2: Add a BaseTransform to layers r=roc
2012-07-27 13:23:45 -07:00
David Zbarsky
86be1fc259
Bug 755084 Part 3: Move checks for whether to animate opacity and transforms on the compositor thread to nsLayoutUtils, and make them also check whether the compositor is actually running r=cjones,dbaron
2012-07-27 13:23:45 -07:00
David Zbarsky
2d67ac5273
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-27 13:23:45 -07:00
David Zbarsky
c76cb082e0
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-27 13:23:44 -07:00
Henri Sivonen
ee51a2e035
Bug 775467 - Make readyState progress through all states without duplicate transitions. r=bzbarsky.
2012-07-27 16:35:09 +03:00
Matt Woodrow
60ae0739e9
Bug 777924 - Invalidate layers when transitioning out of flattening component alpha. r=roc
2012-07-27 15:02:46 +12:00
Matt Woodrow
dc1844c96e
Bug 777617 - Allow component alpha flattening of fixed position and zoomed display items. r=roc
2012-07-27 15:02:01 +12:00
Geoff Lankow
77bd987d6e
Bug 230959 - Inconsistent extra 1 pixel width of XUL window; r=Neil
2011-09-07 22:14:04 +12:00
Matt Brubeck
4c19df0013
Back out 30fbd796d3bb and 50e2e602bab0 (bug 765252) because of Windows build failure
2012-07-25 20:10:06 -07:00
Trevor Saunders
89e69ff062
bug 765252 - ensure PresShell::Destroy() always shutsdown the related accessible document r=bz, davidb
2012-07-21 07:48:05 -04:00
Ed Morley
0981437de6
Backout 1244b8a8e57a (bug 755084), 32d16d0f87c9 (bug 706179), 8548e016d4a9 (bug 768440), 697f5b87eae9 (bug 768440), 808fc2bd4e8c (bug 755084), 54b1484cd125 (bug 755084), 876726b632c0 (bug 706179) for xul android R3 failures
2012-07-25 16:37:04 +01:00
Robert O'Callahan
1af8a8fb76
Bug 768775. For linear gradients where the gradient line is parallel to an axis and runs from one edge of a background tile to the other, we can repeat the background by just repeating the gradient instead of drawing individual tiles. r=jrmuizel
2012-07-02 11:46:32 +12:00
David Zbarsky
d84e52f500
Bug 755084 Part 3: Move checks for whether to animate opacity and transforms on the compositor thread to nsLayoutUtils, and make them also check whether the compositor is actually running r=cjones,dbaron
2012-07-25 01:55:00 -07:00
David Zbarsky
30025de69a
Bug 706179 Part 2: Add a BaseTransform to layers to return the layer's transform without scaling applied r=roc
2012-07-25 01:48:10 -07:00
David Zbarsky
673c1ec883
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-25 01:48:10 -07:00
David Zbarsky
bb16aa6296
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-25 01:48:09 -07:00
Chris Lord
f61563bc07
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
7798b353c1
Bug 770096 - Prevent crashes when encountering an empty ThebesLayer. r=roc
2012-07-25 09:39:01 +12:00
Jesse Ruderman
ec53261541
Add crashtest from bug 770381
2012-07-23 22:00:35 -07:00
Matt Brubeck
091f852d76
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
f1b8756af2
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-23 17:34:49 -07:00
David Zbarsky
730141f891
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
f97d0fb4b7
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
2012-07-20 15:20:51 -04:00
Robert O'Callahan
1de2ed34a2
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
865b492e14
Backout 4987ffd173a4 (bug 687267) for bustage
2012-07-23 14:47:54 +01:00
James Willcox
a2f250042f
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
c69e1228e9
Bug 539356 - Part 28 - Cached nsDisplayBackground rasterizations with BasicLayers. r=roc
2012-07-23 15:00:36 +12:00
Matt Woodrow
8ecc9d2eaf
Bug 741682 - Flatten component alpha layers into their parent layer with BasicLayers. r=roc
2012-07-23 15:00:36 +12:00
Matt Woodrow
fba08bf999
Bug 741682 - Use nsRegion::ScaleToInsidePixels when computing opaque regions of layers. r=roc
2012-07-23 15:00:36 +12:00
Matt Woodrow
b96b7cad13
Bug 741682 - Add component alpha bounds and opaque regions to display list dumping. r=roc
2012-07-23 15:00:36 +12:00
Ms2ger
8c936ae394
Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE.
2012-07-22 14:02:18 +02:00
Daniel Holbert
87ccc5e897
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
1adb494274
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
ff21a06364
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert
2012-07-20 15:20:51 -04:00
Jonathan Watt
2d338f4adf
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
2cf7adf64a
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
43a701ee65
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
d48f4b5292
Bug 774987 - Remove a leak and unnecessary copy in touch event handling. r=smaug
2012-07-19 16:36:45 -07:00
Steve Fink
6dcbf4aa2b
Backed out changeset afd9e75374e8 from a CLOSED TREE for breaking Windows builds
2012-07-19 14:55:48 -07:00
James Willcox
d6aa2eee6c
Bug 687267 - Initial support for Flash on Honeycomb r=benwa,vlad
2012-07-19 16:15:40 -04:00
Jonathan Watt
24e8391ab6
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
d051841a70
Backout e6068bdf8268 (bug 769541) for frequenent intemittent failures in border-radius/clipping-3.html
2012-07-19 11:27:37 +01:00
Chris Lord
b97eacb39d
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
7f0f075928
[Bug 774505] Don't include Layers.h everywhere r=cjones
2012-07-18 12:31:40 -04:00
Matt Woodrow
64a3aef505
Bug 773100 - Invalidate the frame bounds instead of deleting the frame property. r=roc
2012-07-18 14:56:42 -04:00
Ehsan Akhgari
b2f5ade590
Backout changeset f0be368bb172 (bug 773100) for broken builds across the board
2012-07-18 12:19:20 -04:00
Matt Woodrow
15320ad1ad
Bug 773100 - Invalidate the frame bounds instead of deleting the frame property. r=roc
2012-07-16 22:28:44 -04:00
Ms2ger
c24522638b
Bug 539356 - Followup: Fix unused variable warnings; r=mattwoodrow over IRC.
2012-07-18 16:28:53 +02:00
Ehsan Akhgari
0b1420ef08
Merge mozilla-central into mozilla-inbound
2012-07-18 09:38:49 -04:00
Jonathan Watt
4f45194725
Bug 774133 - Make nsDisplayTransform take account of zooming for SVG transforms. r=roc.
2012-07-18 09:15:13 -04:00
Ed Morley
a2bf606a9d
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-07-18 13:32:24 +01:00
Ms2ger
5968c05fa8
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
a12f572f37
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
0794dcd107
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
4b1cfba70d
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
04a6484c7f
Bug 773626; mask sharing hash functions. r=roc
2012-07-16 06:44:15 -04:00
Rafael Ávila de Espíndola
56cc1f3585
Bug 774031 - Remove extra ;. r=roc.
2012-07-15 00:16:47 -04:00
Chris Lord
15c3324aa3
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
b01e9e1147
Bug 732052 - Allow slide frames to use touch events. r=smaug,enn
2012-07-09 09:55:35 -07:00
Wes Johnston
3a85b40bc8
Backout a7d1108f70fb, e32603f16465, 142b9df4d021,
2012-07-10 16:20:09 -07:00
Ehsan Akhgari
f5c730efe6
Bug 763223 - convert the assertion added in bug 157681 to a warning; r=dbaron
2012-06-18 20:58:08 -04:00
Nathan Froyd
5b30baa4c3
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
709cc65d28
Bug 732052 - Allow slide frames to use touch events. r=smaug,enn
2012-07-09 09:55:35 -07:00
Emmanuele Bassi
06a1c689ee
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
f410406b60
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
5d6dc74a0f
Bug 771219 - Restore display items when drawing a thebes layer. r=roc
2012-07-06 13:57:47 -04:00
Masatoshi Kimura
ce099da2b8
Bug 752187 - Part 10: Implement rendering unprefixed gradients. r=dbaron
2012-07-07 10:27:08 -04:00
Jeff Muizelaar
9d0c428baf
Bug 764188 - Expose a global frame tree generation number. r=dbaron
...
This generation number will be incremented every time that the frame
tree for a presshell changes. Callers need to deal with the case where
this value overflows. We use this to avoid a bunch of Android
screenshotting.
2012-07-04 11:42:29 -04:00
Daniel Holbert
31ad14ad8d
Bug 696253, patch 5: implement parsing/computation for CSS property 'align-self'. r=dbaron
2012-07-06 17:06:21 -07:00
Daniel Holbert
b95bbf1e06
Bug 696253, patch 4: implement parsing/computation for CSS property 'align-items'. r=dbaron
2012-07-06 17:06:21 -07:00
Daniel Holbert
be5b7b1e6b
Bug 696253, patch 3: implement parsing/computation for CSS property 'flex-direction'. r=dbaron
2012-07-06 17:06:20 -07:00
Daniel Holbert
ddeaa7a0d3
Bug 696253, patch 2: implement parsing/computation for CSS property 'order'. r=dbaron
2012-07-06 17:06:19 -07:00
Daniel Holbert
d71777623e
Bug 696253, patch 1: implement parsing/computation for CSS property 'justify-content'. r=dbaron
2012-07-06 17:06:19 -07:00
Mounir Lamouri
5885dd639e
Bug 635498 - Make <input type='number'> behaves like <input type='text'>. r=sicking
...
--HG--
extra : rebase_source : 0754f845fd6223cd48ca8908ebf642636f0fd9ed
2012-06-10 22:23:17 +02:00
Masayuki Nakano
d198821e6a
Bug 537230 part.2 Remake the test for selection underlines with CSS3 text-decoration r=roc
2012-07-04 14:59:50 +09:00
Masayuki Nakano
de1fe00cec
Bug 537230 part.1 Paint connection of complex style decoration lines smoothly r=roc
2012-07-04 14:59:50 +09:00
Ehsan Akhgari
cebe52a580
Backout changeset ef47dbb6313a (bug 539356) because of performance and correctness regressions
2012-07-03 20:31:07 -04:00
Ehsan Akhgari
7ca323fbe6
Backout changeset eea5704272d0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:28:32 -04:00
Ehsan Akhgari
70f358a631
Backout changeset 60affaedccc3 (bug 539356) because of performance and correctness regressions
2012-07-03 20:26:55 -04:00
Ehsan Akhgari
5c63bf26a2
Backout changeset bd0a91621ea9 (bug 539356) because of performance and correctness regressions
2012-07-03 20:25:57 -04:00
Ehsan Akhgari
514088f9e1
Backout changeset f83491fc735a (bug 539356) because of performance and correctness regressions
2012-07-03 20:25:37 -04:00
Ehsan Akhgari
6ef72aef93
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
Ehsan Akhgari
729030ee5b
Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions
2012-07-03 20:21:03 -04:00
Ehsan Akhgari
99bc5e9399
Backout changeset ba840bf34511 (bug 539356) because of performance and correctness regressions
2012-07-03 20:20:24 -04:00
Ehsan Akhgari
abc68780bc
Backout changeset 90ab708bab8b (bug 539356) because of performance and correctness regressions
2012-07-03 20:19:49 -04:00
Ehsan Akhgari
ee77eaaad9
Backout changeset 65410094add4 (bug 539356) because of performance and correctness regressions
2012-07-03 20:19:18 -04:00
Ehsan Akhgari
032c183b13
Backout changeset ce5e9fefee19 (bug 539356) because of performance and correctness regressions
2012-07-03 20:18:34 -04:00
Ehsan Akhgari
388ec767e6
Backout changeset 0c75abcb72ff (bug 539356) because of performance and correctness regressions
2012-07-03 20:17:01 -04:00
Ehsan Akhgari
cc4eb213b4
Backout changeset e794d5f88e0c (bug 539356) because of performance and correctness regressions
2012-07-03 20:14:47 -04:00
Ehsan Akhgari
0138ec138a
Backout changeset cb1ac88bedc2 (bug 539356) because of performance and correctness regressions
2012-07-03 20:14:11 -04:00
Ehsan Akhgari
0ca08d6135
Backout changeset f7599b247eef (bug 539356) because of performance and correctness regressions
2012-07-03 20:10:16 -04:00
Ehsan Akhgari
ca0e8309a1
Backout changeset 17cc480ae05d (bug 539356) because of performance and correctness regressions
2012-07-03 20:08:53 -04:00
Ehsan Akhgari
023780edbe
Backout changeset 6234134d4430 (bug 539356) because of performance and correctness regressions
2012-07-03 20:08:19 -04:00
Ehsan Akhgari
e556c0c5a0
Backout changeset 2cf9546ee691 (bug 770001) because DLBI is being backed out
2012-07-03 19:40:24 -04:00
Ehsan Akhgari
0491c34c2f
Backout changeset 25061ce7382b (bug 770041) because DLBI is being backed out
2012-07-03 19:39:44 -04:00
Ehsan Akhgari
c7621e142e
Backout changeset 4e29b12a5d25 (bug 770096) because DLBI is being backed out
2012-07-03 19:38:42 -04:00
Ehsan Akhgari
cf1ff79712
Backout changeset 6266a1336e2d (bug 770058 part 2) because DLBI is being backed out
2012-07-03 19:37:29 -04:00
Daniel Holbert
afa0755ec4
Bug 770299: use size_t instead of int for loop iterator in MaskLayerImageCache.h, to fix build warning. r=nrc
2012-07-03 09:01:30 -07:00
Ed Morley
d9cc8e4683
Backout 3175d72d8a40 (bug 770144) for turning 611498-1.html permaorange
2012-07-03 11:58:04 +01:00
Matt Woodrow
4300c575c2
Bug 770144 - Restrict ThebesLayer invalidations to the visible region. r=roc
2012-07-03 21:07:28 +12:00
Phil Ringnalda
0c72c07a23
Back out 921c2e13b45e (bug 770144) for reftest bustage
2012-07-02 21:04:38 -07:00
Matt Woodrow
cbb8788fca
Bug 770144 - Restrict ThebesLayer invalidations to the visible region. r=roc
2012-07-03 14:26:45 +12:00
Robert O'Callahan
2dcd49c2b6
Bug 770058. Part 2: When the document switches between active and inactive, invalidate all frames. r=mattwoodrow
2012-07-03 14:24:20 +12:00
Matt Woodrow
7e473bc2d6
Bug 770096 - Prevent crashes when encountering an empty ThebesLayer. r=roc
2012-07-03 14:23:11 +12:00
Matt Woodrow
9c93632805
Bug 770041 - Revert GetRootPresContext to pre-DLBI behaviour and add GetDisplayRootPresContext for DLBI. r=roc
2012-07-03 13:02:30 +12:00
Ed Morley
b0cc4dae44
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-07-02 10:03:16 +01:00
Ms2ger
62da2cddec
Bug 769437 - Remove a check that has been dead since 2005 to fix a build warning; r=mounir
2012-07-02 08:23:56 +02:00