[email protected]
ffbfe625c2
Setting .src should reset image animations; don't animate images no one is
...
looking at. Bug 210001, r=pavlov, sr=jst
2004-01-08 18:29:28 +00:00
[email protected]
a90ec6ff21
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
2004-01-07 22:30:53 +00:00
[email protected]
08bd329713
Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky.
2003-12-26 04:24:11 +00:00
[email protected]
01533e488c
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
2003-12-24 21:51:50 +00:00
[email protected]
640685cbe9
Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
2003-12-21 05:36:36 +00:00
[email protected]
d47517f6dc
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). [email protected] , [email protected] .
2003-11-19 01:20:56 +00:00
[email protected]
b3bc9bd206
Be a little smarter about handling the mess that is broken images. Only look
...
for a frame if we've had a frame at some point in the past; this should keep us
from calling GetPrimaryFrameFor quite so much during pageload. Bug 225848,
r+sr=jst
2003-11-16 07:34:25 +00:00
[email protected]
cd2ef420d6
Only paint the image if its computed width or height is nonzero. Otherwise, we
...
may divide by zero when computing the transform matrix. Bug 221975, r+sr=roc
2003-11-06 16:03:34 +00:00
uid502
4fc4723244
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
[email protected]
1f9609e30b
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2003-10-22 06:09:48 +00:00
[email protected]
c11c6bf27e
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. [email protected] , [email protected] .
2003-09-27 04:18:26 +00:00
[email protected]
7f3c28c2b5
Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt
2003-09-13 17:55:56 +00:00
[email protected]
634c6e9bdc
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
2003-07-28 21:25:13 +00:00
[email protected]
d0bbbe41b0
Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
...
nsINodeInfo a tad. Bug 211634, r=jkeiser, sr=jst
2003-07-24 17:30:52 +00:00
[email protected]
660339f971
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
2003-07-11 21:16:12 +00:00
[email protected]
563c620e45
Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
...
nsIHTMLContent. Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
[email protected]
dc58ced898
Ongoing deCOMtamination. r+sr=dbaron
2003-06-29 03:43:05 +00:00
[email protected]
5755dea24a
Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky
2003-06-19 23:52:58 +00:00
[email protected]
384f320c3a
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
[email protected]
aa24a7bb8e
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from [email protected]
2003-06-17 16:40:34 +00:00
[email protected]
c8a200d763
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
[email protected]
2003-06-13 20:10:01 +00:00
[email protected]
ea938a7550
address reviewer comments that I forgot when checking in patch for bug 204386. r+sr=bz
2003-05-30 19:47:08 +00:00
[email protected]
bd01116d4f
204386 r+sr=bz Allow setting Image.src to empty
2003-05-25 20:43:08 +00:00
[email protected]
0be0aa3679
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to [email protected] (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
[email protected]
f98e358469
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
[email protected]
1c6123bf88
199045 r+sr=bz a=asa Animated image rotates although "Animate images should loop ... [X] never" is marked
2003-05-04 18:06:10 +00:00
[email protected]
79abb67bbb
When doing a placeholder, paint it and the alt text in the foreground layer,
...
not the background one. Bug 156987, r+sr=roc+moz, a=sspitzer
2003-05-03 02:34:42 +00:00
[email protected]
b665dcc056
Images with no alt attr in quirks mode should show a placeholder, even if they
...
were blocked. Bug 201288, r+sr=roc+moz, a=asa
2003-04-29 18:49:42 +00:00
[email protected]
2efe7303c9
192566 r=danm sr=smfr even though we may disagree with the user experience in some cases, this fix will stop the editor from drawing the alpha blended images in the case of only the images being selected (see resizing images)
2003-04-22 23:18:34 +00:00
[email protected]
c4f180a7f9
Make sure that Init() failures for image frames don't mean no alt text. Also
...
fixes a crasher when reframing fixed-pos frames.
This change adds an assertion in ConstructHTMLFrame that InitAndRestoreFrame
should succeed (unless it returns NS_ERROR_FRAME_REPLACED). This is an interim
change; eventually we want to bail out on errors, but there may be frame impls
that return errors in non-error conditions from Init() (eg nsFrameSetFrame did
that) and we're a little close to freeze.
Bug 202506, r=rbs, sr=roc+moz
2003-04-21 23:57:47 +00:00
[email protected]
96e24c2612
70820 patch by [email protected] r=dbaron sr=jst ALT in broken image cannot be changed by the DOM
2003-04-18 21:02:49 +00:00
[email protected]
c9af8cc895
"Backing" changes back in since tree has reopened.
2003-04-02 03:19:50 +00:00
[email protected]
49c1daf88c
Backing all this out, since tree is closed.
2003-04-02 02:02:10 +00:00
[email protected]
260a624563
Make the IconLoad hold a ref to the image listener. Fixes race to a crash.
...
Bug 199021, r=pavlov, sr=dbaron
2003-04-02 01:35:20 +00:00
[email protected]
ee93f24c95
Don't invalidate and such if no initial reflow yet. Bug 83774, r=pavlov
2003-03-19 06:51:46 +00:00
[email protected]
75b0e27470
Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
...
type="image"> into the content nodes and out of nsImageFrame. r=pavlov, sr=jst
2003-03-19 03:47:09 +00:00
[email protected]
36485f27ea
Make ismap images not overwrite the query part of the URL (bug 185169), [email protected]
2003-03-12 21:22:21 +00:00
[email protected]
2fe11fa566
Bug 196072. Don't invalidate image area when incoming image data is for different frame. r=pavlov sr=bz
2003-03-05 23:55:53 +00:00
[email protected]
97ef0afb7f
Eliminate libpr0n's use of prescontexts as unique keys; use documents instead
...
and do not hold a ref to them. Bug 190475, r=pavlov, sr=jst
2003-02-26 05:51:32 +00:00
[email protected]
b0ee17c54f
Bug 189077, make nsImageFrame smaller by using frame state bits, [email protected] , [email protected] .
2003-02-24 22:20:26 +00:00
[email protected]
834096485c
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
[email protected]
ba58162e96
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
[email protected]
1c37d177d4
Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
2003-01-09 14:26:32 +00:00
[email protected]
10ab824360
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 21:19:10 +00:00
[email protected]
8859d5e783
Reduce code size by using PaintSelf member function to paint background, border, and outline. b=184702 r+sr=roc
2002-12-23 22:05:47 +00:00
[email protected]
263e4b792f
fix typo in comment.
2002-12-14 20:18:56 +00:00
[email protected]
d0e275516e
Re-landing these because I don't believe this are responsible for the Txul spike.
...
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-11 14:05:41 +00:00
[email protected]
aa5e6343da
Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...)
2002-12-11 05:11:02 +00:00
[email protected]
382e7a0fa6
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
...
r/sr=roc+moz
2002-12-10 23:41:12 +00:00
[email protected]
d55b15150e
Remove unneeded stubs for code to support Navigator 4.x-only suppress attribute. b=182554 r=biesi (who noticed the problem) sr=peterv
2002-11-28 23:02:31 +00:00