399 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
bc5588d5eb Make sure to pop off the line style and color we use for imagemaps so it
doesn't affect other drawing done by the page.  Bug 185467, buggy code found by
Jan Darmochwal <jdarmochwal@gmx.de>, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@171941 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-10 19:30:40 +00:00
bzbarsky%mit.edu
40ce30bcaa Show alt text for images blocked by security checks. Bug 285981, r=mvl, sr=jst
git-svn-id: svn://10.0.0.236/trunk@171233 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-26 02:26:58 +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
7c2b893117 When an image is resized, make it invalidate its mRect, since it needs to
repaint that area.  Bug 284166, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@170119 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-03 04:42:48 +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
bsmedberg%covad.net
fc4099e666 Bug 281414 - global s/nsIPrefBranchInternal/nsIPrefBranch2/ rs=darin (did not change backwards-compatible code in extensions/irc extensions/venkman or extensions/inspector)
git-svn-id: svn://10.0.0.236/trunk@169868 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 20:46:35 +00:00
darin%meer.net
2f1d8a824a s/BumpPriority/AdjustPriority/ (bug 278531) r=shaver sr=brendan
git-svn-id: svn://10.0.0.236/trunk@169576 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 22:21:21 +00:00
darin%meer.net
55f157bc26 fixes bug 278531 "generic request prioritization (loadgroup prioritization)" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@169569 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 20:58:01 +00:00
mvl%exedo.nl
ef6e7f1f43 Show alt text when imagee blocking is enabled
bug 281492, r=dwitte, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@169010 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 22:10:52 +00:00
neil%parkwaycc.co.uk
e717d9b1f9 Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner
git-svn-id: svn://10.0.0.236/trunk@167959 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-18 23:46:59 +00:00
bugzilla%arlen.demon.co.uk
e4daffa10a Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
p=bugmail@q1n.org r=pkwarren sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@167124 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-31 01:13:27 +00:00
cbiesinger%web.de
a8dbace73d 38447 layout,content,dom and xpwidget part: Implement Handling of URI Values on
CSS "cursor" Properties
for dom,layout,content: r+sr=bz
for widget: r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@167117 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-30 21:56:11 +00:00
bmlk%gmx.de
e547c59f49 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167037 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-26 19:48:54 +00:00
bzbarsky%mit.edu
7ad51611da Paint the placeholder and the first line of our alt text even if out box is not
big enough to fit them in their entirety.  Bug 263244, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@163548 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 21:52:36 +00:00
bzbarsky%mit.edu
2719923442 Don't do unneeded work in nsImageFrame::AttributeChanged. Bug 261723, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@163034 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 19:23:40 +00:00
roc+%cs.cmu.edu
ab88d1e1ac Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
roc+%cs.cmu.edu
c66af173cf Bug 257430. nsImageFrame and nsTableRowFrame need to always include their frame bounds in their overflow area. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@161574 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 13:33:17 +00:00
bryner%brianryner.com
21406015bf Extend invalidated region by one source row in each direction so that we fully cover the rows in a scaled image which may be drawn using a given source row. This fixes the "white lines" problem with scaled images (bug 222901). r=pavlov, sr=tor.
git-svn-id: svn://10.0.0.236/trunk@161441 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-28 23:59:15 +00:00
bryner%brianryner.com
736c955c54 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
b17b3249f7 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
aaronleventhal%moonset.net
68db552d54 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159341 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net
aac51e9f0b Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes
git-svn-id: svn://10.0.0.236/trunk@159268 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net
c361ea9f16 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159196 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:58:34 +00:00
dbaron%dbaron.org
e47fc7a034 Fix scaling of images in response to {min,max}-{width,height}. b=234686 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@158747 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-05 00:17:11 +00:00
caillon%redhat.com
3094a5267e Bug 241140
Consolidate DrawImage and DrawScaledImage
r=biesi sr=tor


git-svn-id: svn://10.0.0.236/trunk@155889 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 01:32:26 +00:00
jst%mozilla.jstenback.com
74089032ff Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
bzbarsky%mit.edu
dce306232a Add a version of CheckLoadURI that takes a source principal instead of a source
URI.  Update a bunch of callers to use it.  Bug 233108, r=caillon, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@155487 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 16:55:27 +00:00
tor%cs.brown.edu
fba58fbb27 Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@155393 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 15:21:24 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
996688b00b Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155061 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 13:13:35 +00:00
bzbarsky%mit.edu
0cb3f2e03b Don't look for the primary frame unless we have to on broken images. Bug
239262, r+sr=dbaron, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@154451 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-02 03:07:39 +00:00
roc+%cs.cmu.edu
44185c6657 Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153808 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 03:09:05 +00:00
bryner%brianryner.com
4b70febae6 inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153488 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 18:24:20 +00:00
bryner%brianryner.com
d956db112f Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 21:29:06 +00:00
dbaron%dbaron.org
e5ad15e520 Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@153040 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 21:38:31 +00:00
sicking%bigfoot.com
f53242a13f Bug 234615: Remove nsIHTMLContent::GetBaseTarget by cleaning up the imagemap code a bit which was the only client.
r=bryner sr=jst


git-svn-id: svn://10.0.0.236/trunk@153025 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 19:00:43 +00:00
cbiesinger%web.de
af62af08a0 233890, misc cleanup in some layout files, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@152949 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 18:56:13 +00:00
bryner%brianryner.com
7ace3321e6 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
cbiesinger%web.de
8f5b033ffb Bug 233587 small nsImageFrame cleanup - use nsILink to get a link href.
r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@152597 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 16:57:00 +00:00
dbaron%dbaron.org
76dd720050 Clean up code related to broken / loading image icons and make it observe pref changes. b=180620 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152237 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 20:30:02 +00:00
bryner%brianryner.com
018aeefc0d More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152137 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 10:09:07 +00:00
bryner%brianryner.com
70bf134ff4 Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@151636 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 09:35:59 +00:00
peterv%propagandism.org
94b69cb574 Miscellaneous cleanup. r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@151493 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:45:26 +00:00
jst%mozilla.jstenback.com
803e4eb910 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
bzbarsky%mit.edu
d3e33b0653 Setting .src should reset image animations; don't animate images no one is
looking at.  Bug 210001, r=pavlov, sr=jst


git-svn-id: svn://10.0.0.236/trunk@151035 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 18:29:28 +00:00
bryner%brianryner.com
468d3e2e8d 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.
git-svn-id: svn://10.0.0.236/trunk@150998 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 22:30:53 +00:00
bryner%brianryner.com
019725339d Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150737 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-26 04:24:11 +00:00
bryner%brianryner.com
4cca78120d deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150720 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-24 21:51:50 +00:00
bryner%brianryner.com
b5347dd60c 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.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00