Chris Pearce
898cdaeb1f
Bug 775965 - Make nsRootPresContext::mRegisteredPlugins a refptr hash table to the content object rather than weak refs to frames. r=roc
2012-08-14 16:06:42 +12:00
Masayuki Nakano
1d4f21b65a
Bug 782175 Support slower scroll settings with mousewheel.*.delta_multiplier_* r=smaug
2012-08-17 10:32:15 +09:00
Robert O'Callahan
a71f60da86
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.
2012-08-10 23:10:12 +12:00
Neil Deakin
fae99fd13d
Bug 743975 - use a direct call instead of move uistatechanged event, r=smaug
2012-08-15 14:52:40 -04:00
Neil Deakin
34ac541af0
Bug 743975 - remove accessibility events from widget, replace with a nsBaseWidget::GetAccessible method, r=trevsaunders
2012-08-15 14:52:37 -04:00
Neil Deakin
510f6f1a72
Bug 743975 - move theme and window size done events to direct calls, r=smaug
2012-08-15 14:52:35 -04:00
Ed Morley
a15c1334fe
Backout bcac58cbf328 & 9c75f0428f8a (bug 775965) for causing bug 782981
2012-08-15 18:10:55 +01:00
Kyle Huey
433d46efea
Merge m-c to b-s.
2012-08-15 06:25:20 -07:00
Kyle Huey
9bf3c06eeb
Merge m-c to b-s.
2012-08-14 11:14:40 -07:00
Ehsan Akhgari
b457a9ddf0
Merge removal of nsnull
2012-08-14 11:29:00 -04:00
Kyle Huey
13ed261c0c
Bug 697230: Part 1 - Centralize style image observers. r=bz
2012-08-13 15:04:19 -07:00
Aryeh Gregor
e2dd9c2028
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Chris Pearce
9759154f6c
Bug 775965 - Make nsRootPresContext::mRegisteredPlugins a refptr hash table to the content object rather than weak refs to frames. r=roc
2012-08-14 16:06:42 +12:00
Simon Montagu
5098d4d89f
Don't split inline ancestors of bidi frames if we don't have any child frames after the split. Bug 779003, r=roc
2012-08-13 20:51:36 -07:00
Chris Lord
07153819b1
Bug 777260 - Fix invalidations on transform items in container layers. r=roc
...
Since Bug 758620, it's possible for an nsDisplayTransform to appear as the
child of a container layer. This caused problems when it was inactive, as the
invalidation would not be transformed in this case.
Fix this in FrameLayerBuilder by mandating that InvalidateThebesLayerContents
takes the untransformed invalidation and apply the transform in
BuildContainerLayer.
2012-08-13 22:54:38 -04:00
Chris Lord
1f9aff999b
Bug 777260 - Respect LAYER_ACTIVE_FORCE in ChildrenCanBeInactive. r=roc
...
ChildrenCanBeInactive returns false if any child items have active layer states,
but was only checking LAYER_ACTIVE and not LAYER_ACTIVE_FORCE.
2012-08-13 22:54:09 -04:00
Ryan VanderMeulen
212cdce23a
Merge inbound to m-c.
2012-08-11 22:33:42 -04:00
Masayuki Nakano
649734f593
Bug 719320 part.8-10 Remove the code handling legacy mouse events in layout r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
7912249da5
Bug 719320 part.8-5 Dispatch legacy mouse scroll events before dispatching wheel event into system group if the wheel event isn't consumed r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
acbe3bbdd7
Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst
2012-08-12 10:42:34 +09:00
Scott Johnson
bb4cb24a6a
Bug 777089: Add preference to control the function used to map specified font sizes to inflated font sizes. [r=dbaron]
2012-08-11 13:33:36 -05:00
Honza Bambas
5fe7a22e2c
Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking
2012-08-10 22:44:11 -04:00
Neil Deakin
1a89394d0d
Bug 391834, don't allow prompts in beforeunload, unload and pagehide events,r=smaug,patch mostly by gavin
2012-08-13 15:05:34 -04:00
Matt Woodrow
c2e9a5d59c
Bug 780868 - Only reuse MaskLayers on LayerManagers with the same backend type. r=nrc
2012-08-13 22:11:40 +12:00
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
Ms2ger
93ce055147
Bug 767790 - Remove nsIHTMLDocument::{Get,Set}IsFrameset; r=mounir
2012-07-02 08:22:37 +02:00
Robert O'Callahan
7b6abb6f47
Backout bug 768775 for now
2012-07-02 14:43:37 +12:00
Robert O'Callahan
8d2a81741e
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
...
--HG--
extra : rebase_source : 81b9a7951ce78f60aa8eaeca4f66f62561133254
2012-07-02 11:46:32 +12:00
Robert O'Callahan
1162a096a1
Bug 770001. When comparing clips, adjust for any change in the ThebesLayer coordinate system. When clips are different, try to accumulate differences intelligently, taking into account that changes in clips outside the bounds of the clipped display item don't matter. r=mattwoodrow
...
--HG--
extra : rebase_source : d958c629307045f2592ffe658cd1a2e608713cbd
2012-07-02 11:46:21 +12:00
David Zbarsky
cd3c58ee76
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Matt Woodrow
65ed2f2ee6
Bug 539356 - Part 28 - Cached nsDisplayBackground rasterizations with BasicLayers. r=roc
2012-06-30 15:06:14 +12:00
Matt Woodrow
8530c5649f
Bug 539356 - Part 26 - Send invalidations for hidden documents. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
df33b4b071
Bug 539356 - Part 25 - Invalidate display items that have a changed clip. r=roc
2012-06-30 15:06:13 +12:00
Oleg Romashin
54721f863f
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
1d473e382a
Bug 539356 - Part 19 - Only repaint retained layers after the previous repainted has been drawn to the window. r=roc
2012-06-30 15:06:13 +12:00
Matt Woodrow
b7ecd3eb49
Bug 539356 - Part 14 - Handle multiple widget layer managers retaining data for the same frame. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
574dba78d6
Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
56a4c51474
Bug 741682 - Disable component alpha layers with BasicLayers. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
ae6a4a79e6
Bug 739671 - Store optimized Color/ImageLayers on the ThebesLayers that they replace. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
67eaa8edd4
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-06-30 15:06:12 +12:00
Matt Woodrow
4b10a2b53c
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
2012-06-30 15:06:11 +12:00
Matt Woodrow
1f0dbc7c74
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Matt Woodrow
d41fe1225c
Bug 539356 - Revert changes made by bug 728983
2012-06-30 15:06:10 +12:00
Matt Woodrow
69d08d71a9
Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
2012-06-30 15:06:10 +12:00
Matt Woodrow
a571105c89
Bug 539356 - Part 7 - Store FrameLayerBuilder objects on the LayerManager instead of nsDisplayListBuilder. r=roc
2012-06-30 15:06:10 +12:00
Matt Woodrow
f535bd8833
Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc
2012-06-30 15:06:10 +12:00
Matt Woodrow
a6e3f20c79
Bug 539356 - Part 3 - Make GetParentPresContext() succeed when the current PresContext has no frames. r=bz
2012-06-30 15:06:09 +12:00
Jonathan Watt
513ddf221e
Bug 769242 - Rename nsDisplaySVG to nsDisplayOuterSVG in preparation for adding other SVG display list item types. r=dholbert.
2012-06-28 20:51:20 +01:00
Ehsan Akhgari
9e198d3f62
Bug 766843 - Exempt inner table frames from optimized dynamic position change handling, as the required handling is performed for outer table frames; r=bzbarsky
2012-06-27 16:24:01 -04:00
Chris Lord
f52875b4e5
Bug 758620 - Force fixed-position frames to have their own layers. r=roc
...
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-27 16:43:57 +01:00
Chris Lord
9a816c469a
Bug 758620 - Layout fixed-position frames to the set scroll-port. r=roc
...
If a scroll position clamping scroll-port size has been set, layout fixed
position frames with respect to this instead of the calculated containing
block size.
2012-06-27 16:43:46 +01:00
Ehsan Akhgari
a95b6edeea
Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
...
This patch does the following:
* It adds nsITransferable::Init(nsILoadContext*). The load context
might be null, which means that the transferable is non-private, but
if it's non-null, we extract the boolean value for the privacy mode
and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
represent the document that the string is coming from.
nsIClipboardHelper implementation internally gets the nsILoadContext
from that and passes it on to the transferable upon creation. The
reason that I did this was that nsIClipboardHelper is supposed to be a
high-level helper, and in most of its call sites, we have easy access
to a document object.
* It modifies all of the call sites of the above interfaces according to
this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
the call sites.
2012-04-16 22:14:01 -04:00
Daniel Holbert
df94dd9bd8
Bug 666041 patch 3: Create boilerplate nsFlexContainerFrame class. r=bz
2012-06-26 15:12:13 -07:00
Daniel Holbert
0051caa58b
Bug 666041 patch 2.5: Add nsCSSFrameConstructor code for detecting when a flex container needs to have its frames rebuilt. r=bz
2012-06-26 15:11:53 -07:00
Daniel Holbert
dd5d8688a3
Bug 666041 patch 2: Add "-moz-flex" & "-moz-inline-flex" values for "display" property. r=bz
2012-06-26 15:11:38 -07:00
Ed Morley
cd98097038
Backout de70e79ced32, ddd519d0767e, 9b952d924953 & 03efce585669 (bug 758620) for reftest failures
2012-06-26 16:13:33 +01:00
Chris Lord
7edca27f23
Bug 758620 - Force fixed-position frames to have their own layers. r=roc
...
Introduce a new display-list item 'nsDisplayFixedPosition' that represents
fixed-position elements. This item cannot be merged, which forces fixed
position elements to have their own layer, and has a BuildLayer implementation
that sets the necessary metadata on a Layer to be able to maintain its
position correctly during composition when asynchronously panning and zooming.
2012-06-26 14:43:11 +01:00
Chris Lord
87d5e4ea27
Bug 758620 - Layout fixed-position frames to the set scroll-port. r=roc
...
If a scroll position clamping scroll-port size has been set, layout fixed
position frames with respect to this instead of the calculated containing
block size.
2012-06-26 14:42:57 +01:00
Ed Morley
3c64d735a8
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-26 09:52:55 +01:00
Nicholas Cameron
26fadecba0
Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc
2012-06-26 14:43:31 +12:00
Nicholas Cameron
01224f6b7a
Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc
2012-06-26 14:43:30 +12:00
Nicholas Cameron
6b5607e36f
Bug 757347; changes to FrameLayerBuilder. r=roc
2012-06-26 14:43:30 +12:00
Nicholas Cameron
e6af467b3d
Bug 757347; changes to mask layer user data. r=roc
2012-06-26 14:43:30 +12:00
Nicholas Cameron
6011f19ec2
Bug 757347; Add a cache for image containers. r=roc
2012-06-26 14:43:30 +12:00
Nicholas Cameron
2237afc914
Back out bug 757346
...
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Jonathan Watt
9ac7bb2267
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Nicholas Cameron
7914eb8944
Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
3cd654450f
Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
abe8ccd904
Bug 757347; changes to FrameLayerBuilder. r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
aafc59666b
Bug 757347; changes to mask layer user data. r=roc
2012-06-26 09:44:41 +12:00
Nicholas Cameron
ed4f682932
Bug 757347; Add a cache for image containers. r=roc
2012-06-26 09:44:41 +12:00
Jonathan Watt
ec3416999b
Bug 767996 - Prevent DoApplyRenderingChangeToTree calling nsSVGUtils::InvalidateBounds() and passing in an nsSVGOuterSVGFrame. r=me.
2012-06-25 18:55:30 +01:00
Aryeh Gregor
e6e1d6b4e8
Bug 766795 - Fix asserts when placing cursor in editable detached content; r=roc,ehsan
2012-06-24 09:54:43 +03:00
Bas Schouten
0064f5fb68
Bug 764117 - Part 1: Prefer performance over avoiding seaming in border drawing. r=roc
2012-06-22 16:27:38 +02:00
Robert O'Callahan
a0d0cba0e5
Bug 766007. Create scrollframes for frameset documents. r=tnikkel
2012-06-22 22:51:05 +12:00
Mounir Lamouri
1f70fdd32a
Back out bug 766007, bug 703241 and bug 752796 due to perma-orange (419f0d1b848b to 8661c74deeb5).
2012-06-22 11:13:32 +02:00
Robert O'Callahan
704486f05e
Bug 703241. Part 2: Stop the 'scroll top of line into view' behavior when ancestors in the line are transformed or positioned. Allow that behavior for any kind of line-participant ancestor. r=mats
2012-06-22 17:06:54 +12:00
Robert O'Callahan
596c6feb9c
Bug 703241. PresShell::DoScrollContentIntoView and PresShell::ScrollFrameRectIntoView should take transforms into account. r=matspal
2012-06-22 17:06:49 +12:00
Robert O'Callahan
5480454568
Bug 766007. Create scrollframes for frameset documents. r=tnikkel
2012-06-22 17:06:40 +12:00
L. David Baron
16fef30b6a
Implement new values of animation-direction. (Bug 655920) r=bzbarsky
2012-06-21 11:44:34 -07:00
Kartikaya Gupta
0cf219076d
Bug 755971 - Add methods to nsLayoutUtils to calculate the padding boxes. r=bz
2012-06-21 09:35:17 -04:00
Mats Palmgren
b3fab0a0ed
Bug 764541. r=smontagu
2012-06-21 12:51:38 +02:00
Ryan VanderMeulen
3c55454e37
Backout b35294da2c4b (bug 764117) due to OSX reftest orange.
2012-06-20 22:56:36 -04:00
Bas Schouten
7dda2cd9c8
Bug 764117: Prefer performance over avoiding seaming. r=roc
2012-06-20 23:41:13 +02:00
Scott Johnson
d5b1127af7
Bug 763702, Part 2/2: Crashtest for bug 763702. [r=dbaron]
...
--HG--
extra : rebase_source : 46de60b9ddc1dd6c0f80be39d4f5491aa1525e90
2012-06-20 11:09:37 -05:00
Ehsan Akhgari
fc3761841a
Bug 765597 - Invalidate the thebes layer as well as the overflow area when moving frames; r=dbaron
2012-06-19 16:47:27 -04:00
Jonathan Watt
1d7315c090
Bug 766120 - Stop conflating effects offset and continuation union size in nsSVGIntegrationUtils. r=longsonr.
2012-06-19 16:28:04 +01:00
Ehsan Akhgari
217735f725
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (layout parts); r=roc
...
--HG--
extra : rebase_source : 9f3da1b47dcb9d7cc950488b9b70aa682b6984de
2012-06-18 23:26:34 -04:00
Kartikaya Gupta
a8f112f62d
Bug 763570 - Part 2 - Add a scrollframe from frameset documents on Fennec, so that they work with async pan/zoom and touch events. r=bz
2012-06-15 17:49:53 -04:00
Kartikaya Gupta
985015647e
Bug 763570 - Part 1 - Back out 18b206c111cd from bug 747493 as we have a better solution that also fixes other broken frameset behaviours. r=tnikkel
2012-06-15 17:49:46 -04:00
Matt Brubeck
889af1a907
Merge last green changeset from inbound to mozilla-central
2012-06-13 13:23:54 -07:00
Scott Johnson
d4d53d2412
Bug 733614: Backout changes from bug 695222 for mozilla 16 branch [r=dbaron].
2012-06-13 11:00:56 -05:00
Siddharth Agarwal [
3c45c1f03b
Bug 764376 - Fix references to |class nsArenaMemoryStats|; r=ehsan
2012-06-13 10:43:38 -04:00
Ed Morley
2840374911
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-12 10:36:42 +01:00
L. David Baron
a780231060
Don't assume ordering of callers of nsPresContext::ScreenWidthInchesForFontInflation; instead, track changes only for the caller that cares about changes. (Bug 759755, patch 5) r=bzbarsky
2012-06-11 22:43:31 -07:00
L. David Baron
9c11da2c07
Properly dirty intrinsic widths when doing things that change inflation. (Bug 759755, patch 3) r=roc
2012-06-11 13:57:35 -07:00
L. David Baron
36736e18b3
Back out patches 2 and 3 of bug 759755 for causing intermittent failures of layout/reftests/font-inflation/container-with-clamping.html .
2012-06-10 17:36:18 -07:00
Ryan VanderMeulen
b74e4a29db
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
061d4c2616
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Ryan VanderMeulen
1241b67c63
Merge the last PGO-green inbound changeset to m-c
2012-06-10 18:21:22 -04:00
Olli Pettay
093e674c1f
Bug 763014 - crash in PresShell::HandleEventInternal, r=mats
2012-06-11 00:45:09 +03:00
L. David Baron
8719c1bb1c
Properly dirty intrinsic widths when doing things that change inflation. (Bug 759755, patch 3) r=roc
2012-06-10 13:02:23 -07:00
Olli Pettay
94414ed431
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Boris Zbarsky
34f805faee
Bug 763424. Dynamic changes to generated content don't work correctly on frames which pass a child content insertion frame to ProcessChildren (e.g. <td>). r=dbaron
2012-06-11 18:21:35 -04:00
Matt Brubeck
614ef16d00
Re-land backout of bug 754202 and fix other accidental changes from merge 75b67011b798 on a CLOSED TREE
2012-06-11 11:12:18 -07:00
Nathan Froyd
fdb381e06d
Bug 674922 - report on most common objects allocated in a PresShell's arena; r=roc,njn
2012-06-06 13:35:40 -04:00
Nathan Froyd
21b0f8399f
Bug 674922 - report per-frame-type numbers in about:memory; r=njn,roc
2012-06-06 13:29:16 -04:00
Nathan Froyd
d4a8e9a29f
Bug 674922 - account for all of nsPresArena::State's members; r=njn
2012-06-05 12:33:54 -04:00
Ed Morley
7d13aab294
Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms
2012-06-11 10:08:32 +01:00
Oleg Romashin
2e0b0654ad
Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc
2012-06-11 16:45:39 +12:00
Matt Woodrow
954f3d3580
Bug 539356 - Part 19 - Only repaint retained layers after the previous repainted has been drawn to the window. r=roc
2012-06-11 16:45:39 +12:00
Matt Woodrow
056cc5db29
Bug 539356 - Part 14 - Handle multiple widget layer managers retaining data for the same frame. r=roc
2012-06-11 16:45:39 +12:00
Matt Woodrow
e06b7d554b
Bug 539356 - Part 12 - Remove unnecessary LayerManagerLayerBuilder indirection. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
391ce6dad4
Bug 741682 - Disable component alpha layers with BasicLayers. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
ae4bb8838b
Bug 739671 - Store optimized Color/ImageLayers on the ThebesLayers that they replace. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
1a109388f5
Bug 539356 - Part 11 - Reimplement empty transactions. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
aee92f1d56
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
2012-06-11 16:45:38 +12:00
Matt Woodrow
5076b975a0
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
...
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Matt Woodrow
8ab773e4a8
Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
2012-06-11 16:44:09 +12:00
Matt Woodrow
391c1e697d
Bug 539356 - Part 7 - Store FrameLayerBuilder objects on the LayerManager instead of nsDisplayListBuilder. r=roc
2012-06-11 16:44:08 +12:00
Matt Woodrow
0c4e74a43d
Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc
2012-06-11 16:44:08 +12:00
Matt Woodrow
e490eb0686
Bug 539356 - Part 3 - Make GetParentPresContext() succeed when the current PresContext has no frames. r=bz
2012-06-11 16:44:08 +12:00
Nicholas Cameron
41314b89f2
Bug 755078 - Backout previously-landed patch for bug 755078. r=roc
2012-06-09 14:22:40 -04:00
David Zbarsky
0a3a5fbf6a
Bug 758533: Check that nsImageRenderer has an image when getting the container r=gal
2012-06-10 17:31:42 -07:00
Ryan VanderMeulen
846a6a41bf
Merge m-c to inbound
2012-06-10 17:59:00 -04:00
Aryeh Gregor
8e7de01930
Bug 762862 - Rename nsTypedSelection to mozilla::Selection; r=ehsan
...
--HG--
rename : layout/generic/nsTypedSelection.h => layout/generic/Selection.h
2012-06-08 17:20:55 +03:00
Timothy Nikkel
b7d78e22bc
Bug 747493. Give frameset documents a basic scroll layer so we can communicate the document's metrics to the compositor and frontend. r=roc,mats
2012-06-09 19:26:57 -05:00
Kartikaya Gupta
f8a53f8b94
Bug 705106 - Use the correct scroll port size when trying to scroll to an area. r=roc
2012-06-09 12:14:39 -04:00
Robert O'Callahan
8288a5940b
Bug 731293. Add nsLayoutUtils::GetParentOrPlaceholderForCrossDoc. r=mats
2012-06-09 00:22:51 +12:00
Robert O'Callahan
31953a0563
Bug 731293. Remove nsFrameManager parameter from nsLayoutUtils::GetParentOrPlaceholderFor. r=mats
2012-06-09 00:22:25 +12:00
Robert O'Callahan
a54ea3aa5f
Bug 753329. Share ThebesLayerInvalidRegion for a given ContainerLayer across all the frames that are sharing that layer as their ContainerLayer. r=mattwoodrow
...
* * *
Bug 753329. Followup: put ThebesLayerInvalidRegionProperty in display-list-builder coordinates so it can be shared by frames with different coordinate systems. r=mattwoodrow
2012-06-07 22:07:32 +12:00
Robert O'Callahan
26dd819e2e
Bug 761572. Allow click and dblclick events to be sent to an element even if it's made display:none during the mouseup event. r=smaug
2012-06-07 22:06:39 +12:00
Mounir Lamouri
65040cbb94
Bug 760848 - Make select.size reflection follow the specifications. r=smaug
2012-06-07 01:27:53 +02:00
Ehsan Akhgari
ccdd37d975
Merge mozilla-central into mozilla-inbound
2012-06-06 12:46:50 -04:00
Ed Morley
0fd801a0b6
Merge mozilla-central to mozilla-inbound
2012-06-06 10:24:28 +01:00
Ed Morley
8e3f4a6794
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-06 09:20:35 +01:00
Ms2ger
6b95a92395
Bug 760047 - Don't handle a null aDocument in nsGlobalWindow::SetNewDocument; r=mounir
2012-06-06 09:36:58 +02:00
Ms2ger
4ff76331ca
Bug 629882 - Support currentColor in the 2D canvas context; r=dbaron
...
This changes nsCSSParser::ParseColorString to fill in an nsCSSValue instead
of an nscolor, and exposes nsRuleNode::ComputeColor to turn this nsCSSValue
into an nscolor.
Because gradients can be used with different canvas elements in different
documents, these cannot pass useful values for nsRuleNode::ComputeColor's
aPresContext and aStyleContext arguments. This patch also changes SetColor
to deal with those parameters being null.
2012-06-06 09:36:38 +02:00
Ehsan Akhgari
d54aaab73b
Bug 157681 - Part 2: Optimize positioned frame offset changes by moving the frame as opposed to reflowing it in case we know that the size of the frame will not change; r=dbaron
...
This patch adds a change hint to signal that one of the offsets on a
frame has been changed. When processing the hint, we do one of the
following things based on the position property of the frame.
* For static frames, we ignore the offset changes completely, as they
will not change the layout.
* For relative positioned frames, this patch refactors the
nsHTMLReflowState::ComputeRelativeOffsets function so that it can be
used from other callers, and it uses that to compute the new relative
offsets, and uses the offsets computed previously to compute the new
position of the frame.
* For absolute positioned frames, we set up a fake parent reflow state
object, and then we create a new reflow state object for the frame in
question. This setup is similar to what nsFrame::BoxReflow does.
Once we have the new reflow state object, we use it to compute the
absolute offsets, and then we use the computed offsets to set the new
position of the frame. The offset computation is similar to what
nsAbsoluteContainingBlock::ReflowAbsoluteFrame does. In some cases
where it is possible for the dimensions of the frame to change based
on the offset changes, we fall back to a full reflow.
2012-06-06 00:53:48 -04:00
Scott Johnson
95ee0198eb
Bug 749186, Followup 2: Crashtest for bug 749186 [r=dbaron].
...
--HG--
extra : rebase_source : 8fd8b01b46c9150f8ba14f87b8b34aa6fa9da11c
2012-06-05 22:47:38 -05:00
Scott Johnson
e35726280c
Bug 749186, Followup Patch 1: Cache font inflation settings in pres shell to prevent crash. [r=dbaron]
...
--HG--
extra : rebase_source : dc8b8f66bcd49c54ecefdf94793100b7901e6f3b
2012-06-05 22:47:33 -05:00
Geoff Lankow
552f02f3f1
Merge m-c to m-i
2012-06-06 15:13:51 +12:00
Geoff Lankow
1214b72681
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
L. David Baron
6570cc2a66
Restore application of font size inflation to radios and checkboxes. (Bug 757937) r=roc
2012-06-04 16:26:30 -07:00
Nathan Froyd
7a87ca1ecf
Bug 760812 - correct bitflags for allocating objects by size in nsPresArena; r=roc
2012-06-05 10:14:58 -04:00
Kartikaya Gupta
ee659229d7
Bug 758361 - Move the before-first-paint event so it doesn't get improperly triggered on a plugin codepath. r=bz
2012-06-04 12:26:03 -04:00
Boris Zbarsky
3e2c65e37d
Bug 759997. Break out the three branches of SurfaceFromElement into separate functions so that we can call the one that matches the kind of element we have directly. r=roc
2012-05-31 14:16:49 -04:00
Joel Maher
7ba48baac9
Bug 748088 - Native android reftest are not testing OMTC+OGL. r=ajuma
2012-06-01 08:42:38 -04:00
Jeff Muizelaar
5d52e9af75
Bug 759457. Don't fast path shadows with negative scale. r=roc
...
We don't support this yet, so don't bother trying.
2012-05-31 18:22:28 -04:00
Boris Zbarsky
0129fdd04a
Backed out changeset 6a46906eb017 (bug 759997) because the bug it depends on got backed out.
2012-05-31 17:05:03 -04:00
Boris Zbarsky
1eccfcef17
Bug 759997. Break out the three branches of SurfaceFromElement into separate functions so that we can call the one that matches the kind of element we have directly. r=roc
2012-05-31 14:16:49 -04:00
L. David Baron
1cfabfe8f6
Unprefix the border-image-* properties and add a temporary alias for -moz-border-image (but not for its subproperties, which we haven't shipped prefixed). (Bug 713643, patch 5) r=bzbarsky
2012-05-30 22:19:49 -07:00
L. David Baron
9e7a3546cf
Remove nsStyleBorder::GetActualBorder, since it now does the same thing as nsStyleBorder::GetComputedBorder. (Bug 713643, patch 3) r=bzbarsky
2012-05-30 22:19:49 -07:00
Shriram Kunchanapalli
3216ac51ce
Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt
2012-05-30 18:43:39 +01:00
Boris Zbarsky
6543d621c5
Bug 464758. Don't try to check for :before/:after pseudos for frames that can't have them. r=dbaron
2012-05-29 23:45:17 -04:00
Robert O'Callahan
3ce7640e85
Bug 758179. Part 1: Flush layout before calling nsFrame::HandlePress/HandleRelease. r=mats
2012-05-30 01:13:36 +12:00
Boris Zbarsky
e7ff5ec8dd
Bug 758885. Don't apply the dynamic :hover reresolution skipping optimization to selectors which can match on mutable state other than :hover. r=dbaron
2012-05-29 00:17:45 -04:00
Nicholas Cameron
5731bf3be3
Bug 758561 - Don't build a mask for an empty layer. r=roc
2012-05-28 21:10:08 -04:00
Nicholas Cameron
eaca72e8fd
Bug 757346 - Change from clipping the mask to drawing it. r=roc
2012-05-27 16:55:22 -04:00
Takanori MATSUURA
5c9f3f4809
Bug 751521 - Separate pixman detection from cairo. r=glandium
2012-05-26 08:44:00 +02:00
Alexander Surkov
05d6b0b663
Bug 757670 - make nsIPresShell::GetLinkLocation faster, r=bz, tbsaunde
2012-05-24 15:57:16 +09:00
Kartikaya Gupta
0a9040618b
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Neil Deakin
994d3d4070
Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz
2012-05-23 14:46:04 -04:00
Kartikaya Gupta
04a457fab1
Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage
2012-05-23 11:08:19 -04:00
Kartikaya Gupta
9db13b7a79
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Robert O'Callahan
ecbab2ff94
Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel
2012-05-04 17:00:57 +12:00
Nicholas Cameron
a75759c60f
Bug 753784; force mask layers to have a single tile - misc bits and pieces. r=roc
2012-05-17 10:30:10 +12:00
Nicholas Cameron
9be563af61
Bug 753784; add the ability to force a single tile. r=roc
2012-05-22 19:14:03 -04:00
Jeff Muizelaar
4053a1e846
Bug 757039. Handle non-uniform scales when doing device space blurs. r=roc
...
The Java screenshoting code draws pages at non-uniform scales. It's not much
work to handle these so let's do it.
--HG--
extra : rebase_source : 6b3a2a6db21f9cff4ce97a5a10c368d95f730387
2012-05-22 11:32:08 -04:00
David Zbarsky
671206ed34
Bug 756813: Prevent creation of ImageLayer if ImageContainer is null r=gal
2012-05-21 10:47:40 -07:00
Ed Morley
f0346ff780
Merge mozilla-central to mozilla-inbound
2012-05-21 13:19:38 +01:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
90bd8753e1
Remove caching of current inflation container and its width from the pres context. (Bug 747720, patch 6) r=roc
...
This is no longer needed because we're getting the width from
nsFontInflationData and the null-ness of the container from
mInflationDisabledForShrinkWrap.
2012-05-20 22:18:28 -07:00
L. David Baron
3ab78f01f9
Remove width determination parameters from font inflation methods. (Bug 747720, patch 5) r=roc
...
These are no longer needed since we're getting the width from the
nsFontInflationData.
2012-05-20 22:18:28 -07:00
L. David Baron
4a752104bd
Use the same width basis for font inflation throughout a font inflation flow root. (Bug 747720, patch 3) r=roc
...
Font inflation flow roots are similar to block formatting contexts,
though I'm trying to make not all block formatting contexts be flow
roots in later patches on this bug, bug 707195, and related bugs.
This will lead to more consistent font size inflation in a flow of text
where the blocks vary in width (e.g., because some of the blocks have
horizontal margins) but we determine the text to comprise a single flow.
2012-05-20 22:18:27 -07:00
L. David Baron
11f5c76522
Replace AutoMaybeNullInflationContainer with AutoMaybeDisableInflationForShrinkWrap since the concept of the pres context's current inflation container will be going away. (Bug 747720, patch 2) r=roc
2012-05-20 22:18:27 -07:00
Phil Ringnalda
9636fcfcd2
Bug 688128 - Don't run test_flush_on_paint.html on OS X, where it mostly fails, r=roc
2012-05-18 22:22:55 -07:00
Benjamin Smedberg
2187798a40
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Jeff Muizelaar
9731bb1eff
Bug 754985. Draw shadows in device space when using a uniform scale. r=roc
...
--HG--
extra : rebase_source : 9d5bf7c1e6a2373718724ace6da1229b2213c1b6
2012-05-16 16:45:25 -04:00
David Zbarsky
e93bdbfeeb
Bug 756229 - Fix some layout warnings. r=roc
2012-05-18 11:42:39 -04:00
Robert Longson
165f6890cf
Bug 528332 - Implement non-scaling-stroke vector-effect. Part 1 - style system changes r=dbaron
2012-05-18 09:33:40 +01:00
Aryeh Gregor
7cb03d1868
Bug 756045 - Turn "ASSERTION: anonymous nodes should not be in child lists" into an NS_WARNING; r=bz
2012-05-18 09:20:49 +03:00
Robert Longson
a067109b15
Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt
2012-05-17 11:02:41 +01:00
Jonathan Watt
c8b52ec634
Bug 734082 - Compute and store bounds and visual overflow bounds for both SVG leaf and container frames. r=roc.
2012-05-17 05:05:09 +01:00
Nicholas Cameron
044718db79
Bug 755078 - Disable mask layers on Android. r=roc
2012-05-17 10:30:10 +12:00
Mats Palmgren
d329029d95
Bug 754480 - Remove PresShell members associated with mContentToScrollTo, put that data in a temporary content property instead. part=3/3 r=bz
2012-05-16 19:32:40 +02:00
Mats Palmgren
ca5bacff08
Bug 754480 - Sort members in size order. Use narrower types where possible. part=2/3 r=bz
2012-05-16 19:32:40 +02:00
Mats Palmgren
8d1bd9831d
Bug 754480 - Remove unused mDragService member. part=1/3 r=bz
2012-05-16 19:32:40 +02:00
Trevor Saunders
8df11e79ab
bug 693933 - make nsFrameSelection::GetSelection() return nsTypedSelection* r=smaug
2012-04-06 17:54:38 -04:00
Robert O'Callahan
8a4183542c
Bug 754196. If ScrollToShowRect has no need to scroll, don't call ScrollTo, so pending smooth scrolls won't be interrupted. r=matspal
2012-05-16 17:40:57 +12:00
Ed Morley
6a622a847e
Merge mozilla-central to mozilla-inbound
2012-05-15 18:19:25 +01:00
Serge Gautherie
9fa7b9f5ee
Bug 632408. (Bv1) Improve newer test code some more. r=roc.
2012-05-15 15:33:55 +02:00
Vincent LAMOTTE
2c02cd383c
Bug 657953 (1/2) - Implement the layout part of the meter element. r=roc
2012-05-16 17:47:10 +02:00
Matt Woodrow
3c6ff5136f
bug 750334 - rotating image appears too big during transition, then snaps to correct size r=roc
...
--HG--
extra : rebase_source : a8064d474693838e68f7b865f76043e1192a07a5
2012-05-15 10:31:39 +12:00
Ehsan Akhgari
b814ee999e
Bug 696229 - Adjust the hint correctly while drawing the caret for drag/drop so that it gets attached to the beginning of the lines correctly; r=roc
2012-05-11 14:50:19 -04:00
Nicholas Cameron
29f95ca6fd
Bug 754488 - Fix warning in FrameLayerBuilder.cpp. r=dholbert
2012-05-14 19:01:05 -04:00
Mats Palmgren
6b03870b6a
Bug 749935 - Make all nsRect Union methods saturating. If width/height overflows nscoord_MAX then clamp the x/y to nscoord_MIN / 2 and try again. r=roc
2012-05-14 22:11:39 +02:00
Matt Woodrow
ec8821b6ee
Bug 722603 - Improve dirty rect calculation with 3d transforms and preserve-3d. r=roc
2012-05-11 19:49:14 +12:00
Robert O'Callahan
7ae2ea0471
Bug 681192. Part 17: Disable test_transformed_scrolling_repaints_2.html on Mac. r=matspal
...
--HG--
extra : rebase_source : 6af0be8370c0e07e55954245f6a6305d04eb2a2b
2012-05-10 17:24:21 +12:00
Robert O'Callahan
dca2ccff9c
Bug 681192. Part 10: Control rounding direction of scaledOffset to try to make the residual be close to mActiveScrolledRootPosition. r=tnikkel
...
--HG--
extra : rebase_source : f27fb737f8956ed117df0be3a71da847cc2048c0
2012-05-10 17:24:20 +12:00
Robert O'Callahan
412d571a68
Bug 681192. Part 6: Test that various scrolling operations inside scaled transforms don't trigger unnecessary repainting. r=matspal
...
--HG--
extra : rebase_source : a72afaa7ebb5e9b59cf574cd973f966eee5c7f45
2012-05-10 17:24:19 +12:00