Jeff Walden
dc6bf5f361
Bug 847480 - Convert DeprecatedAbs overloads taking floating point (except for nscoord uses, when nscoord is optionally a floating point type) to Abs. r=Ms2ger
2013-03-05 15:43:44 -08:00
Jeff Walden
ae46876880
Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger
2013-03-05 15:43:30 -08:00
Timothy Nikkel
66cfa5bd69
Bug 848421. Part 2. Remove useless PresContext argument to nsCSSRendering::FindBackground. r=mats
2013-03-07 10:03:49 -06:00
Daniel Holbert
723a4f151a
Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth
2013-03-06 00:05:55 -08:00
Jeff Walden
8be01906e2
Bug 835542 - Implement mozilla::Abs. r=Ms2ger
2013-02-15 19:55:36 -08:00
Seth Fowler
47e3e67b60
Bug 842850 (Part 1) - Use an SVGImageContext class for overridden SVG properties. r=dholbert,joe sr=bz
2013-02-28 12:22:43 -08: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
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
Avi Halachmi
4ebab1bc1d
Bug 838758: Cache GradientStops instead of gfxPattern. r=jrmuizel
...
Our gfxPattern cache is currently way too specific, which causes lots of
unnecessary cache misses. The only thing that we actually need to key on is the
color stops.
This switches the cache to hold GradientStops instead of gfxPatterns. This
improves our cache hit rate and is simpler. It also avoids doing caching when
not using Azure, which currently has no benefit.
Average paint times results (in ms)
(on windows 7 x64, i7-3630qm, HD4000)
-------------------------------------
m-c
open: 3.5 close: 3.3
m-c cache-key
open: 2.6 close: 2.4
ux
open: 7.3 close: 5.2
ux cache-key
open: 6.9 close: 5.3
2013-02-15 20:54:49 +02:00
William Chen
e7213c7b47
Bug 827227 - Fixed int overflow when scaling border-image-width. r=dbaron
2013-02-14 11:57:20 -08:00
Matt Woodrow
6f3d5aed37
Bug 836844 - Pass the right clip area for canvas frames. r=roc
2013-02-04 07:11:49 -05:00
Jeff Muizelaar
6aa9eb6efe
Bug 823147 - Avoid moving the start location of non-repeating radial gradients. r=roc
2013-01-18 13:28:06 -05: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
David Zbarsky
506bcc0ab0
Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz
2013-01-12 16:53:01 -05: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
61cd6733e2
Bug 663776. Part 2: Move TransformRectToRect from nsCSSRendering to gfxUtils. r=mattwoodrow
2012-12-07 12:58:13 +13:00
Jeff Walden
8a6657de57
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05: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
6dd482f82a
Bug 816692 - Use the clipped imgIContainer when converting an nsDisplayBackgroundImage into a layer. r=roc
2012-12-10 18:34:17 +13:00
Matt Woodrow
21666d450a
Bug 819837 - Always treat empty images as being background-attachment:scroll, r=roc
2012-12-10 18:34:15 +13:00
Ed Morley
6844d4cd20
Backout 55d5f3cd5c85, d89ae7f40549 & 270391fca858 (bug 663776) for assertions
2012-12-07 12:37:36 +00:00
Robert O'Callahan
031ea933c4
Bug 663776. Part 2: Move TransformRectToRect from nsCSSRendering to gfxUtils. r=mattwoodrow
2012-12-07 12:58:13 +13:00
Mats Palmgren
18a9006d8e
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01: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
f526d9c7c1
Bug 809478. Handle 90-degree rotations when snapping transformed gradients. r=jrmuizel
2012-11-23 14:09:12 +13: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
Robert O'Callahan
76df39ca66
Bug 810470. Part 5: Remove more unused code. r=mattwoodrow
2012-11-09 18:14:14 -05:00
Robert O'Callahan
7b53429aaf
Bug 810470. Part 2: Change nsDisplayBackground invalidation to store and compare the background positioning rect. r=mattwoodrow
2012-11-08 10:05:32 -05:00
Robert O'Callahan
781e267046
Bug 810470. Part 1: Cache nsStyleBackground pointer in nsDisplayBackground. r=mattwoodrow
2012-11-07 23:08:40 -05:00
Matt Woodrow
ee6369e00d
Bug 798964 - Make mLineContinuationPoint correct when we call Init() on a frame that isn't the first on the line. r=roc
2012-10-25 18:32:25 +13:00
Matt Woodrow
75024a0ace
Bug 798964 - Add nsDisplayBackground color and make the bounds of nsDisplayBackground match the image. r=roc
2012-10-25 18:32:25 +13:00
Chris Lord
b311e6b6da
Bug 797021 - Fix border clipping with multiple background layers. r=roc
...
Bug 786502 broke border clipping with multiple background layers as it stopped
iterating from the bottom-most layer when drawing, and thus skipped background
clip setting.
2012-11-02 08:35:32 +00:00
Bas Schouten
65d650f159
Bug 805831: Add a cache for border corner gradients. r=joedrew
2012-10-27 06:32:52 +02:00
Phil Ringnalda
7f050604ee
Back out fbd8fdb7c544 (bug 805831) for build failures
2012-10-26 21:53:41 -07:00
Bas Schouten
acf5444217
Bug 805831: Add a cache for border corner gradients. r=joedrew
2012-10-27 06:32:52 +02:00
Paul Adenot
2634e601d9
Bug 800319 - Make the gradient cache differentiate between backend types. r=Bas
2012-10-26 15:34:43 +02:00
Mats Palmgren
97a23c3004
Bug 798691, part 2. r=roc
2012-10-25 13:17:10 +02:00
Phil Ringnalda
6a2b76fab7
Back out c95958e3b85d and e8a8bf41e0c4 (bug 798964) for Android reftest-4 failures
2012-10-25 01:19:57 -07:00
Matt Woodrow
ab281d5f07
Bug 798964 - Make mLineContinuationPoint correct when we call Init() on a frame that isn't the first on the line. r=roc
2012-10-25 18:32:25 +13:00
Matt Woodrow
35bc7b0327
Bug 798964 - Add nsDisplayBackground color and make the bounds of nsDisplayBackground match the image. r=roc
2012-10-25 18:32:25 +13:00
Daniel Holbert
fdc48f572e
Bug 800603: Just check rv (not rv & outparam) after calling imgIRequest:GetImage & GetImagePrincipal. r=jrmuizel
2012-10-16 16:05:54 -07:00
Mats Palmgren
2039b1c0bd
Bug 798691. r=roc
2012-10-14 20:27:37 +02:00
Jeff Muizelaar
5f0f361115
Bug 799335. Fix unintenional image flash on tab switch. r=joe,dholbert
...
This was caused by bug 792199.
There are two parts to this fix:
1. Always decode during StartDecoding even if we already have a Decoder
(hopefully this is safe) This was a bug in the original patch.
2. After calling StartDecoding() we recheck if we're complete and abort if
we're not doing a SYNC_DECODE. Before this regression we would usually be done
decoding the image because of the decoding we did when we Locked all of the
images on tab switch.
2012-10-12 16:04:32 -04:00
Jeff Muizelaar
3ac9f89155
Bug 799335. Rename nsStyleImage::RequestDecode to StartDecoding. r=dholbert
...
Now that RequestDecode call StartDecoding this make more sense.
2012-10-12 16:04:03 -04:00
David Zbarsky
b22e7c6a8e
[Bug 799407] Fix build warnings in layout r=roc
2012-10-10 01:00:05 -04:00
Robert O'Callahan
b4af1d44d6
Bug 787947. Avoid scaling by 0 when snapping gradient tiles. r=jrmuizel
2012-09-25 15:25:48 +12:00
Ed Morley
bd7a949b90
Backout a5c50066ecbb (bug 787947), ee9f796b8416 (bug 794709) for crashtest/reftest assertions
2012-10-04 13:15:00 +01:00
Robert O'Callahan
6822e26a59
Bug 787947. Avoid scaling by 0 when snapping gradient tiles. r=jrmuizel
2012-09-25 15:25:48 +12:00