Seth Fowler
1697ccd608
Bug 695763. Part 7. Invalidate img's if they are not decoded and we are asked to do a sync decode. r=matt.woodrow
2013-06-26 11:43:27 -05:00
Ms2ger
5c6989f531
Bug 880340 - Remove the security checks on nsImageLoadingContent methods; r=bz
2013-06-12 09:00:09 +02:00
Joe Drew
c4c196188f
Bug 867770 - Add a pref as to whether we layerize animated images, disabled by default. r=mattwoodrow
2013-05-30 21:33:17 -04:00
Joe Drew
9a5d492da7
Bug 867770 - Layerize all animated images. r=mattwoodrow
2013-05-30 09:50:50 -04:00
Matt Woodrow
0d5f8e14b1
Bug 869133 - Recycle the ImageLayers created by nsDisplayImage/nsDisplayBackgroundImage instead of recreating them each time. r=roc
2013-05-30 14:42:28 +12:00
Bobby Holley
54ef3d2952
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Mats Palmgren
796a090f34
Bug 866785 - Move repeated nsIFrame::List implementations code to a new method, ListGeneric, for re-use. Cleanup and improve the code a bit. r=roc
...
Specifically:
* move all the frame dump methods to nsIFrame. Especially nsFrame::ListTag
was annoying, often requiring a cast to nsFrame*.
* print common values in the same order for all types of frames
* print fluid continuations as "next-in-flow=%p" and non-fluid as
"next-continuation=%p" (as before)
* print the style-context more compactly, e.g.
"[sc=0x7faa6b60e0a0] pst=:first-line" becomes
"[sc=0x7faa6b60e0a0:first-line]"
* suppress printing visual/scroll-overflow rects when they are identical
to mRect and do the same for nsLineBox::List where it was especially
hard to see which lines actually had real overflow
* fix a bug that printed the child list name at the far right when the
principal list was empty (making it hard to see)
* print the address of child lists (other than the principal list) to
help debug frame list property bugs
* s/NS_IMETHODIMP/void/
2013-04-30 20:38:52 +02:00
Takeshi Kurosawa
a71a2b0b26
Bug 338033 - No visible focus indicator on image map areas with black background r=roc
2013-04-27 17:54:36 +09:00
Joe Drew
e035b7c8eb
Bug 832400 - Add an imgIContainer flag HIGH_QUALITY_SCALING that controls whether to use the high quality scaler, and only use it when we're drawing to a window. r=tn
2013-04-25 18:08:58 -04:00
Robert O'Callahan
7cbe6380ff
Bug 841192. Part 14: Convert all usage of nsDisplayClip(RoundedRect) to use DisplayListClipState/DisplayItemClip. r=mattwoodrow
...
This patch does several things. Sorry.
In BuildDisplayList implementations, instead of wrapping display items in nsDisplayClip, we
push clip state onto the nsDisplayListBuilder and give the display items an
explicit clip when they're created.
In FrameLayerBuilder, we use the explicit clips we find on display items instead of
computing our own.
We remove nsDisplayClip and everything that depends on it.
We remove ExplodeAnonymousChildLists. With nsDisplayClip gone, and
nsDisplayOptionEventGrabber removed in a previous patch, there are no
anonymous child lists.
nsDisplayItem::TryMerge implementations need to make sure they have the same
clip before being merged.
I ripped out the part of PruneDisplayListForExtraPage that adjusts clip rects.
As far as I can tell, it isn't actually necessary.
--HG--
extra : rebase_source : 6f3988b385d0ac54ab26fad10b12173884441f48
2013-03-04 22:56:02 +13:00
Cameron McCormack
35661a5229
Bug 842142 - Prevent odd text wrapping in SVG text. r=roc
2013-03-25 14:50:59 +11:00
Boris Zbarsky
f1589419f5
Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert
2013-03-19 21:47:48 -04:00
Seth Fowler
66d7e369f0
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
Seth Fowler
b929bbb906
Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe
2013-01-10 19:38:34 -08:00
Ryan VanderMeulen
eb66260ea3
Speculatively backout changeset e8d73b8ba1a1 (bug 825720) for Android armv6 reftest 2 timeouts.
2013-02-20 12:20:12 -05:00
Seth Fowler
2ad970af3d
Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe
2013-01-10 19:38:34 -08:00
L. David Baron
822b2ca3bc
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
d9665619b9
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : de498510bf8d85d9b0b2fab0137ef3be01c9adfa
2013-02-15 00:12:27 +13:00
Robert O'Callahan
59dfd955a1
Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : 50a3d6809ef76a25a3d02d91f2873d9ba11fdc56
2013-02-15 00:08:08 +13:00
L. David Baron
63fdfec174
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
Boris Zbarsky
2cedc779e3
Bug 831780. Only count the broken-image placeholder in the visual overflow, not the scrollable overflow. r=mattwoodrow
2013-01-17 23:17:41 -05:00
Mats Palmgren
6c53161814
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
Ryan VanderMeulen
68e828b65d
Backed out changeset c8fe09ac1842 (bug 825720) on suspicion of making bug 772443 nearly perma-orange.
2013-01-12 21:00:30 -05:00
Seth Fowler
ea4e910f0f
Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe
2013-01-10 19:38:34 -08:00
Alexander Surkov
db23e3552b
Bug 810572, part 2.5 - rename AccType constants again, r=tbsaunde, sr=roc
2012-12-18 10:25:52 +09:00
Jeff Walden
7146c23e80
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
Jeff Muizelaar
b4e2a8d95a
Bug 801061. Switch from imgIRequest to imgRequestProxy. r=joe
...
This doesn't switch all of the users yet, but is a step in the right
direction.
--HG--
extra : rebase_source : 91b4fef3f67586179c119208d000cf7629e04963
2012-10-12 08:43:01 -04:00
Alexander Surkov
e3cd8d0be2
Bug 810572, part2 - remove 'Accessible' postfix from AccTypes constants, r=tbsaunde, sr=roc
2012-12-12 19:04:12 +09:00
Mats Palmgren
0bae59cdf1
Bug 814677 - Replace XP_IS_SPACE with dom::IsSpaceCharacter and add form-feed to match DOM spec. r=bz
2012-11-30 17:04:11 +01:00
Matt Woodrow
37850af866
Bug 815593 - Remove unused variable. r=bustage
2012-11-29 19:01:48 +13:00
Robert O'Callahan
4fd3be0cc7
Bug 815593. Don't layerize images that exceed MaxTextureSize. r=mattwoodrow
...
--HG--
extra : rebase_source : f94300b24b90d063df095324663c9d8fa49e42e9
2012-11-28 15:34:45 +13:00
Matt Woodrow
5dc466f953
Bug 811927 - Allow conversion of nsDisplayBackgroundImage into ImageLayers. r=roc
2012-11-19 16:28:18 +13:00
Jeff Muizelaar
0827ec3aaa
Bug 794957. Use imgLoader instead of imgILoader. r=joe
...
This makes use of imgLoader instead of imgILoader in more places.
--HG--
extra : rebase_source : 6b391e5ecc2fd9558516c7493116e7e7852b71b3
2012-11-16 10:24:58 -08:00
Boris Zbarsky
4cadfe05c8
Bug 810876. Don't double-count the size of our placeholder when determining the overflow area for an image frame. r=mattwoodrow
2012-11-14 10:05:41 -08:00
Seth Fowler
4388c1b02d
Bug 807556 - Remove imgIRequest::loadImage's aRequest argument. r=joe
2012-11-03 23:04:07 -04:00
Matt Woodrow
36a85808b8
Bug 805696 - Always invalidate nsImageFrames when we change to a new image request. r=joe
2012-11-01 14:25:44 +13:00
Trevor Saunders
b51bb304d8
bug 542039 - accessible object types r=surkov, roc
2012-09-28 17:53:44 -04:00
Josh Matthews
80112a2809
Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe
2012-10-12 12:11:23 -04:00
Josh Matthews
36511684e4
Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe
2012-10-12 12:11:22 -04:00
Josh Matthews
2c57ae944e
Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe
2012-10-12 12:11:22 -04:00
Josh Matthews
08a5eceeeb
Back out bug 585385 for build bustage.
2012-10-11 21:58:24 -04:00
Josh Matthews
ae359191a3
Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe
2012-10-11 21:34:24 -04:00
Josh Matthews
de69f2ada1
Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe
2012-10-11 21:34:23 -04:00
Josh Matthews
f3459980ad
Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe
2012-10-11 21:34:23 -04:00
Matt Woodrow
3fb0e93449
Bug 781053 - Part 2 - Trigger empty transactions when an animated image in an ImageLayer changes frame. r=roc
2012-09-25 08:31:30 +12:00
Matt Woodrow
bc48b0711b
Bug 539356 - Avoid some causes of unnecessary painting. r=roc
2012-09-26 11:59:56 +12:00
Matt Woodrow
5f32437ca2
Bug 539356 - Add an option for frames to invalid just a rect instead of the frame bounds. r=roc
2012-08-29 17:48:45 +12:00
Matt Woodrow
2478cd23a6
Bug 769922 - Implement nsDisplayAltFeedback, since it can draw outside of the frame's overflow rect. r=roc
2012-08-29 17:48:44 +12:00
Matt Woodrow
79eed389a6
Bug 539356 - Part 27 - Make nsImageFrame's overflow include the AltFeedback image if it will use one. r=roc
2012-08-29 17:48:44 +12:00
Matt Woodrow
958ce7d98d
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00