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
Ehsan Akhgari
1f225691bd
Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
...
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Chris Lord
dd23190f15
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 19:16:51 +00:00
Chris Jones
d890c07f90
Bug 799768: Only bother computing an invalid rect if it affects composition and enable omtc for X11 b2g builds. r=mattwoodrow
2012-10-11 16:55:42 -07:00
Robert O'Callahan
4ae5b3c2bd
Bug 812776. Reset InlineBackgroundData whenever there are no display lists extant. Frame trees can't change while there are display lists extant. r=mattwoodrow
2012-11-19 23:54:41 +13:00
Matt Woodrow
0902037b15
Bug 811927 - Allow conversion of nsDisplayBackgroundImage into ImageLayers. r=roc
2012-11-19 16:28:18 +13:00
Robert O'Callahan
a1db460ed0
Bug 810470. Part 8: Limit the BasicLayers background-caching optimization to cases where the destination context has an integer translation only, and snap the image rectangle. r=mattwoodrow
...
Previous patches in this bug enabled the nsDisplayCanvasBackground
background-caching optimization for the test 402807-1.html. That exposed
an existing bug where we don't snap the background image to pixel
boundaries when drawing through that path. This patch fixes it.
This patch also stops the IsSingleFixedPositionImage path from using
mDestRect, returning the rect as an out-parameter instead.
2012-11-14 17:35:18 -08:00
Robert O'Callahan
66263d6c24
Bug 810470. Part 7: Simplify TryOptimizeToImageLayer/IsSingleFixedPositionImage now that colors are not involved. r=mattwoodrow
2012-11-10 00:42:10 -05:00
Robert O'Callahan
36461eed23
Bug 810470. Part 6: Rename nsDisplayBackground to nsDisplayBackgroundImage. r=mattwoodrow
2012-11-09 18:14:59 -05:00
Robert O'Callahan
795f32a645
Bug 810470. Part 4: Make only background-attachment:fixed backgrounds that have propagated to the viewport use a dedicated layer, and refactor how we do that. r=mattwoodrow
2012-11-09 18:14:14 -05:00