Commit Graph

521 Commits

Author SHA1 Message Date
Timothy Nikkel
66cfa5bd69 Bug 848421. Part 2. Remove useless PresContext argument to nsCSSRendering::FindBackground. r=mats 2013-03-07 10:03:49 -06:00
Chris Lord
dbf6cad49a Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-07 10:17:33 +00:00
Ryan VanderMeulen
076a4bfaee Backed out 9 changesets (bug 716403) for Android 4.0 robocop bustage on a CLOSED TREE. 2013-03-06 16:11:05 -05:00
Chris Lord
4b5ed02f3d Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-06 16:56:00 +00:00
Ed Morley
42e8716b41 Backed out changeset cacb9f3ee44d (bug 840693) 2013-03-04 14:37:43 +00:00
Anthony Jones
1ebb331c24 Bug 840693 - Change to using gfx:: types in AsyncPanZoomController; r=cjones 2013-03-04 13:25:26 +13:00
Ryan VanderMeulen
a9311d990d Backed out 8 changesets (bug 716403) for frequent Android mochitest-8 failures on a CLOSED TREE. 2013-03-01 16:09:59 -05:00
Chris Lord
cc80044ef0 Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-01 15:46:34 +00:00
Matt Woodrow
5a5be469f9 Bug 846144 - Don't optimize backgrounds to an ImageLayer if they have border-radius clipping. r=roc 2013-02-28 21:49:30 +13:00
L. David Baron
ca6c366dc6 Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Robert O'Callahan
3ac2cf9858 Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow 2013-02-15 00:08:08 +13:00
L. David Baron
3c5d51984d Bug 841789, patch 1: Rename nsIFrame::GetStyleContext() to nsIFrame::StyleContext() since it can never return null. r=dholbert
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
2013-02-15 21:38:33 -08:00
Ed Morley
d358d97513 Backed out changeset b1905f6653d4 (bug 840902) on a CLOSED TREE 2013-02-14 11:47:08 +00:00
Robert O'Callahan
39a1cfb2bc Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow 2013-02-15 00:08:08 +13:00
Robert O'Callahan
b867b9a66c Bug 815591. Don't build nsDisplayBackgroundColor if there is no background color and we're not going to do hit-testing. r=mattwoodrow 2012-11-28 01:50:09 +13:00
Ryan VanderMeulen
a031b2313a Backed out changeset 394bbaa548e3 (bug 815591) for OSX reftest failures on a CLOSED TREE. 2013-02-13 22:10:09 -05:00
Robert O'Callahan
9fe259e54a Bug 815591. Don't build nsDisplayBackgroundColor if there is no background color and we're not going to do hit-testing. r=mattwoodrow 2012-11-28 01:50:09 +13:00
Nicholas Cameron
21eee07f90 Bug 828531; fix scaling CSS pixels for animations; r=roc 2013-02-13 10:00:54 +13:00
Matt Woodrow
6f3d5aed37 Bug 836844 - Pass the right clip area for canvas frames. r=roc 2013-02-04 07:11:49 -05:00
Robert O'Callahan
2c697b69ec Bug 828146. Ensure nsDisplayBackgroundImage::ComputeInvalidationRegion invalidates something for nsDisplayBackgroundImages which are themed. r=mattwoodrow 2013-02-01 17:09:32 +13:00
Matt Woodrow
ab9ffdd66a Bug 836179 - Add WriteDebugInfo so that display items can add extra information when printing display lists. r=roc 2013-01-30 18:07:30 +13:00
Matt Woodrow
085785781f Bug 832341 - Use the correct border area (rather than the canvas area) when computing the bounds of an nsDisplayCanvasBackgroundImage. r=roc 2013-01-30 18:07:29 +13:00
Matt Woodrow
47f5425b13 Bug 820839 - Draw OSX titlebar content into a retained buffer during the ThebesLayer painting phase, before we clear invalidation state. r=roc 2013-01-17 11:59:23 +13:00
Mats Palmgren
7532b4e736 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
L. David Baron
3ddb6bda70 Bug 827717: Change record of CSS animation start to be before delay so that dynamic changes to animation-delay are honored. r=bzbarsky
This matches the CSS Working Group consensus recorded in
http://lists.w3.org/Archives/Public/www-style/2012Nov/0261.html , though
the spec hasn't yet been updated.
2013-01-10 21:14:51 -08:00
Robert O'Callahan
67b24645e1 Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel 2013-01-05 16:12:24 +13:00
Phil Ringnalda
f40517090e Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
b20214218e Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel 2013-01-05 16:12:24 +13:00
Robert O'Callahan
ae130ef998 Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
2013-01-04 02:23:11 +13:00
Anthony Jones
9b73c5a057 Bug 811950 - Remove fixed position environment variable. r=roc 2012-12-23 10:47:16 -05:00
Nicholas Cameron
aea2a68ed3 Bug 823460; start throttled transitions with delays; r=dbaron; a=blocking-basecamp 2012-12-23 17:52:13 +13:00
Matt Woodrow
805b4b99a3 bug 822865 - Null check the background outparam before assigning to it. r=roc 2012-12-21 22:09:25 +13:00
Matt Woodrow
3b7a11e7b7 Bug 819915 - Fix IsSingleFixedPositionImage to actually check if we only have a single image. r=roc 2012-12-17 17:30:57 +13:00
Matt Woodrow
c12fd9a1e6 Bug 821477 - Don't build nsDisplay{Canvas}BackgroundImage items when the image is empty. r=roc 2012-12-14 11:16:14 +13:00
Matt Woodrow
a5e3a00144 Bug 820246 - Split nsDisplayCanvasBackground into separate color and image items. r=roc 2012-12-13 14:15:55 +13:00
Ed Morley
796b280dbe Backout 4777ad9776ec (bug 820246) for causing frequent failures in background-image-zoom-1.html on Android 2012-12-13 12:25:12 +00:00
Matt Woodrow
eaf9b6ff1b Bug 820246 - Split nsDisplayCanvasBackground into separate color and image items. r=roc 2012-12-13 14:15:55 +13:00
Jeff Muizelaar
9521bde057 Bug 798245. Propagate the zoom from the tab child into the frame metrics. r=cjones
This lets the default zoom make it back to the APZC when the viewport is set.
2012-12-11 17:49:57 -05:00
Robert O'Callahan
ade675721e Bug 663776. Part 0.5: Mark layers that could have their transforms changed via off-main-thread animations or empty transactions, and treat all ThebesLayerOGL descendants of such layers as potentially resampled so that their buffers are put into the correct state and size. r=mattwoodrow 2012-12-12 18:21:23 +13:00
Nicholas Cameron
6edbdb7f5a Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz 2012-12-12 10:12:43 +13:00
Matt Woodrow
3b529fb2f3 Bug 820131 - Compute a more accurate bounds for nsDisplayBoxShadowOuter. r=roc 2012-12-12 09:36:54 +13:00
Matt Woodrow
b57ce4b91d Bug 791644 - Refactor nsDisplayTransform::GetResultingTransformMatrix into two functions with less optional parameters. r=roc 2012-09-18 10:34:21 +12:00
Robert O'Callahan
1c4b1ee72f Backout 7aceff7124d9 (bug 815591) for Mac test failures 2012-11-29 20:39:36 +13:00
Robert O'Callahan
43c1261b3a Bug 815593. Don't layerize images that exceed MaxTextureSize. r=mattwoodrow 2012-11-28 15:34:45 +13:00
Robert O'Callahan
693369ce2c Bug 815591. Don't build nsDisplayBackgroundColor if there is no background color and we're not going to do hit-testing. r=mattwoodrow 2012-11-28 01:50:09 +13:00
Matt Woodrow
ba7d569baa Bug 814272 - Cache the bounds of nsDisplayBackgroundImage items. r=roc 2012-11-28 17:05:32 +13:00
Nicholas Nethercote
a8dd8eefd2 Bug 814312 - Avoid PL_ArenaPool recycling in the layout engine. r=roc. 2012-11-25 14:40:28 -08:00
Robert O'Callahan
ea6dbc4b1f Bug 813722. Create layers for opacity:0 elements with animated opacity. r=mattwoodrow 2012-11-23 14:09:24 +13:00
Nicholas Cameron
69dc9e7134 Bug 812908; add a debug pref for forcing active layers; r=roc 2012-11-23 12:29:05 +13:00
Chris Lord
e5c8d0572d Bug 783368 - Add critical display port content property. r=roc
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 22:34:18 +00:00