12 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
532112b17b Only do a new image load if we're forced to or if the URI really changed. Bug
285428, r=biesi, sr=jst (note: sr was given in bug 286000 as part of the patch
there).


git-svn-id: svn://10.0.0.236/trunk@171771 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 02:55:02 +00:00
bzbarsky%mit.edu
b545c9a067 Add a method to ask a content node whether it may have a frame in some
presentation.  Bug 225941, r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@171033 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 03:07:10 +00:00
bzbarsky%mit.edu
54df69c399 Use the content policy REJECT reason as a basis for our "whether to show alt
text" decision instead of reading prefs ourselves.  Bug 202906, r=mvl, sr=jst


git-svn-id: svn://10.0.0.236/trunk@170075 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-02 04:05:12 +00:00
jst%mozilla.jstenback.com
eddb05cf73 Fixing bug 279945. Prevent drag n' drop of images whose extensions don't map to image mimetypes. r=caillon@gmail.com, sr=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@168753 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 17:23:35 +00:00
cbiesinger%web.de
ff1bd6473d bug 196380
o) move nsCopySupport into content (from layout), it belongs there better
o) add an |currentURI| attribute to nsIImageLoadingContent which allows access to the URI that is currently being displayed
o) use that from the image uri copy code
xpfe part: r=neil.parkwaycc.co.uk sr=bz rest: r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@157435 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-05 17:57:00 +00:00
mvl%exedo.nl
c0b2e4667b Make content policy api (nsIContentPolicy) not suck.
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@156366 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 18:34:18 +00:00
bzbarsky%mit.edu
e7ad4f7000 Load background images from style instead of from painting. This makes us
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time.  Bug
57607, r=pavlov, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@153725 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:57:51 +00:00
bzbarsky%mit.edu
e145168a0f 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


git-svn-id: svn://10.0.0.236/trunk@149399 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-16 07:34:25 +00:00
bzbarsky%mit.edu
0147d8d4a6 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@145284 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:09:56 +00:00
cbiesinger%web.de
56652f5c5e 204072 r+sr=bz a=sspitzer Cache IOService and imgILoader in nsImageLoadingContent
git-svn-id: svn://10.0.0.236/trunk@142062 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-02 19:21:00 +00:00
bzbarsky%mit.edu
99037d7097 Make CreateContextualFragment know what document the fragment is destined for.
Fixes some issues with images and innerHTML.  Bugs 198486, 198989, 201865.
r=jfrancis, sr=jst


git-svn-id: svn://10.0.0.236/trunk@141144 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 01:09:09 +00:00
bzbarsky%mit.edu
fb88aa9a22 New files for bug 83774. r=pavlov, sr=jst
git-svn-id: svn://10.0.0.236/trunk@139731 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 01:08:22 +00:00