Robert O'Callahan
e97ba9d607
Bug 772679. Testcase.
2012-08-05 00:26:58 +12:00
Robert O'Callahan
e165f64efd
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
2529739530
Merge m-c to m-i.
2012-08-04 13:02:15 +02:00
Mike Hommey
4e998b1d36
Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE
2012-08-04 10:38:41 +02:00
Ms2ger
eacd737410
Bug 777293 - Remove NS_NewCSSStyleSheet; r=dbaron
2012-08-04 09:44:01 +02:00
Mike Hommey
17fb6cad2d
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 08:48:56 +02:00
Chris Jones
d7f6abdbe8
Bug 780346: Add a sample label to refresh driver. irl-r=mattwoodrow
2012-08-03 20:23:24 -07:00
Ed Morley
37898217b6
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
a2c20d2493
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
33def11e6c
Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
2012-08-03 22:19:54 +02:00
William Chen
9951db756c
Bug 778420 - Initial stab at the tests. r=bholley
2012-08-03 22:19:54 +02:00
Cameron McCormack
c819a0d0ac
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
ba7efb66ff
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
f41c8a5fe8
Bug 655877 - Part 14: Ignore float in SVG text frames. r=roc
2012-08-02 21:38:49 +10:00
Cameron McCormack
bc715a0a67
Bug 655877 - Part 8: Ignore letter-spacing in SVG text frames. r=roc
2012-08-02 21:38:47 +10:00
Cameron McCormack
b2e2529603
Bug 655877 - Part 4: Add FCDATA_ flag for SVG text. r=roc
2012-08-02 21:38:46 +10:00
David Zbarsky
921b64e645
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
f4b0395707
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
c0fdd4656f
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-31 10:28:22 -07:00
David Zbarsky
f386a1e940
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
79055c4778
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
dbc2cb2b5f
Bug 734953 - Restore transform: skew() support; r=dbaron
2012-07-30 16:48:02 +03:00
Neil Deakin
e1405e0a93
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
91964d02eb
Bug 582719, use nsQueryFrame for menus and popups rather than GetType, r=neil
2012-07-30 20:43:28 -04:00
David Zbarsky
1e9fefd64e
Bug 706179 Part 2: Add a BaseTransform and scaling to layers, r=roc, cjones
2012-07-30 19:20:00 -07:00
David Zbarsky
06ea1f66f2
Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones
2012-07-30 17:42:26 -07:00
Ryan VanderMeulen
ed3645f4ca
Merge m-c to inbound.
2012-07-30 20:14:22 -04:00
Mark Finkle
70a01196ec
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
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Mark Finkle
940f8b585c
Backout 883bdf118b52 since dependent code was backed out from m-c
2012-07-30 14:41:54 -04:00
David Zbarsky
39dc6657d0
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
903f6c9c84
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Ehsan Akhgari
b40b21d633
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
bcce1c96d2
Bug 777292 - Don't use |= on nsresult; r=ehsan
2012-07-27 17:03:08 +03:00
David Zbarsky
56b6f9129f
Bug 778501 Part 4: DeviceContext should be an nsRefPtr r=roc
2012-07-29 21:36:32 -07:00
David Zbarsky
eb615a17d7
Bug 778501 Part 3: Clean up the includes in nsPresContext.h r=roc
2012-07-29 21:29:41 -07:00
David Zbarsky
5b9d38f8ba
Bug 778501 Part 2: mEventManager should be an nsRefPtr r=roc
2012-07-29 21:29:33 -07:00
David Zbarsky
501df5fd18
Bug 778501 Part 1: mLanguage should be an nsCOMPtr r=roc
2012-07-29 21:29:23 -07:00
Trevor Saunders
dabf20ec71
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
e2ab39fb96
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
9bf8a70491
Bug 706179 Part 2: Add a BaseTransform to layers r=roc
2012-07-27 13:23:45 -07:00
David Zbarsky
7dcf199c9c
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
e83accbdd6
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-27 13:23:45 -07:00
David Zbarsky
5a900008c4
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
b43c71a1be
Bug 775467 - Make readyState progress through all states without duplicate transitions. r=bzbarsky.
2012-07-27 16:35:09 +03:00
Matt Woodrow
7d4513adad
Bug 777924 - Invalidate layers when transitioning out of flattening component alpha. r=roc
2012-07-27 15:02:46 +12:00
Matt Woodrow
aece3ea32b
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
bf29f2a21f
Bug 230959 - Inconsistent extra 1 pixel width of XUL window; r=Neil
2011-09-07 22:14:04 +12:00
Matt Brubeck
a16afabd41
Back out 30fbd796d3bb and 50e2e602bab0 (bug 765252) because of Windows build failure
2012-07-25 20:10:06 -07:00
Trevor Saunders
ebb5401d33
bug 765252 - ensure PresShell::Destroy() always shutsdown the related accessible document r=bz, davidb
2012-07-21 07:48:05 -04:00