175 Commits

Author SHA1 Message Date
dolske%mozilla.com
a319041510 Bug 369370 - pop-up window image zoom-out leads to wrong (broken) display. r=jst, a.19=damons
git-svn-id: svn://10.0.0.236/trunk@250595 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-22 04:41:38 +00:00
Olli.Pettay%helsinki.fi
3863c9fa0c Bug 389756, make full page zoom interact a bit better with image auto zoom, r+sr=jst, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@245161 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 19:58:05 +00:00
Olli.Pettay%helsinki.fi
0c36a0efa0 Bug 389756, backout, tree is burning
git-svn-id: svn://10.0.0.236/trunk@245155 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 18:21:18 +00:00
Olli.Pettay%helsinki.fi
cf5d6e4c29 Bug 389756, make full page zoom interact a bit better with image auto zoom, r+sr=jst, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@245152 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 18:13:52 +00:00
roc+%cs.cmu.edu
7caf8b7991 Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@242716 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-09 09:38:32 +00:00
roc+%cs.cmu.edu
aee1f987f6 backing out bug 355548 due to test failures
git-svn-id: svn://10.0.0.236/trunk@242652 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-08 23:11:30 +00:00
roc+%cs.cmu.edu
fb0a2b5cae Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@242648 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-08 22:36:56 +00:00
bzbarsky%mit.edu
99ede78674 Make document classes use QI tables as possible. Bug 408403, r+sr+a=jst
git-svn-id: svn://10.0.0.236/trunk@241331 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-15 05:43:12 +00:00
jonas%sicking.cc
fd6424c7ed Bug 366200: Fix problems with mRootContent being out of sync with mChildren by removing mRootContent. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@240892 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 02:26:10 +00:00
jst%mozilla.org
2bc9672fe5 Fixing bug 407812. Don't waste time calling QI in nsNodeSH::PreCreate() and nsElementSH::PostCreate(). r+sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@240768 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-11 01:19:19 +00:00
bzbarsky%mit.edu
c929b7fe04 Make HTML content objects use QI tables. Bug 389797, r+sr=jst, a=sicking.
git-svn-id: svn://10.0.0.236/trunk@232422 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 22:55:08 +00:00
bzbarsky%mit.edu
b9d92a233a Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal
and a uri.  Get the URI from the principal.  Bug 391438, r+sr+a=sicking


git-svn-id: svn://10.0.0.236/trunk@231781 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 05:35:09 +00:00
bzbarsky%mit.edu
3811c88532 Use the principal doing the load to decide on the URI to pass to content
policies.  This will help do the right thing for data:/javascript:/about:blank,
as well as allow us to skip content policies altogether if the caller is
system.  Bug 388597, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@231622 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 01:16:12 +00:00
Olli.Pettay%helsinki.fi
dab71982f2 Bug 389694, r+sr=jst, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@231506 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-05 13:24:30 +00:00
sharparrow1%yahoo.com
5cb5f9fc09 Bug 389663: CSS test crashes Firefox. r+sr=dbaron/bz
git-svn-id: svn://10.0.0.236/trunk@231065 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 20:20:30 +00:00
bzbarsky%mit.edu
d2d337437c Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
GetShellAt(0) to using this API.  Bug 378780.  API introduction part by me,
r+sr=jst.  Mass-changes done by taras using squash, r+sr=me


git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +00:00
sharparrow1%yahoo.com
4e50607a9e Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@219987 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-12 19:17:33 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
graydon%mozilla.com
84186f595b Bug 366063: better fix to critical crasher, replacing band-aid submitted in 333078.
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@218043 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 01:33:02 +00:00
graydon%mozilla.com
dea01bf08e Bug 333078, Temporary band-aid for nsImageDocument cycle collection crashers.
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217906 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-06 22:09:38 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
9332796f42 Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217223 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 01:23:45 +00:00
cst%yecc.com
4dc1cb5575 Bug 301477 image zoom cursor does not change after resizing browser window
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@216971 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 02:06:49 +00:00
cst%yecc.com
fa7000c4ab Bug 351969 nsImageDocument image scaling should never scale a dimension to 0px
r=biesi sr=jst


git-svn-id: svn://10.0.0.236/trunk@214146 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-26 01:49:38 +00:00
mats.palmgren%bredband.net
c9f10be5a1 Don't create ALT attribute for standalone image that was found in the cache. b=177747 r=bzbarsky sr=neil
git-svn-id: svn://10.0.0.236/trunk@201189 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 02:42:27 +00:00
dbaron%dbaron.org
f019e59995 Implement a stub imgIDecoderObserver to save code size in content and layout. b=339612 r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@200151 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 21:07:47 +00:00
dbaron%dbaron.org
7be4b9c543 Fix GC hazards associated with event handlers on images only reachable from their current network loads, some of which are regressions from 241518. b=321054 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@198815 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 18:35:21 +00:00
dbaron%dbaron.org
0972328eae Null-check mBodyContent. b=334080 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194453 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 07:21:41 +00:00
cvshook%sicking.cc
e2c22d1f10 Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364.
git-svn-id: svn://10.0.0.236/trunk@192842 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 08:21:21 +00:00
bryner%brianryner.com
1de3fc0366 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@192794 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:36:36 +00:00
cvshook%sicking.cc
35316b26ee Bug 326645: Remove mRootContent from nsDocument to avoid all the pains of keeping it in sync with the childlist. Also remove mBodyContent from nsHTMLDocument for the same reason. r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@192052 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 07:29:41 +00:00
cst%andrew.cmu.edu
d3e7932d02 Bug 197263 The automatic image resizing pref should toggle the default zoomed state of images, and not disable zooming entirely
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@191870 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 01:44:44 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
vladimir%pobox.com
f561d566b0 b=304561, firefox unsuitable for browsing high-res image galleries due to preview on tab icon, r=mconnor,sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@178982 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 20:05:24 +00:00
cst%andrew.cmu.edu
0e0b27bf8a Bug 305215 Fix crash going back while loading an image [@ ImageListener::OnStopRequest] (regression from bug 292503)
patch by Frank Wein <bugzilla@mcsmurf.de>, r=biesi sr=jst


git-svn-id: svn://10.0.0.236/trunk@178522 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 22:47:10 +00:00
bzbarsky%mit.edu
e79cce1c42 Allow passing a cached nsIContentPolicy service pointer to
NS_CheckContent*Policy if the caller has one.  Bug 304845, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@178242 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-19 15:00:01 +00:00
cst%andrew.cmu.edu
88c4924d49 Bug 292503 Working images should not have alt text that says there is an error
r=biesi sr=jst


git-svn-id: svn://10.0.0.236/trunk@177926 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-17 02:49:47 +00:00
bryner%brianryner.com
1cee43af71 Fix crash when closing a tab that contains an image (bug 294630). Patch by bz / beaufour, r+sr=me, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@173618 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-20 01:31:26 +00:00
bzbarsky%mit.edu
c1677f8f9d Fix typo that kept data: images from updating the titlebar. Bug 293399,
r=biesi, sr=brendan, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@173199 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-08 23:21:36 +00:00
bryner%brianryner.com
189a661d09 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
bzbarsky%mit.edu
da850874f2 Make sure to addref documents before calling Init(). Bug 291887, r+sr=jst,
a=brendan


git-svn-id: svn://10.0.0.236/trunk@172815 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 17:16:19 +00:00
bzbarsky%mit.edu
e2e0f7bfab Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
r=sicking, sr=peterv, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172410 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 22:58:35 +00:00
bzbarsky%mit.edu
2ed6c9fac8 Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@171749 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:54:35 +00:00
cst%andrew.cmu.edu
f9a5573f80 Bug 189982 automatic image resizing: state of the image should be kept after resizing the browser window
r=bz sr=roc


git-svn-id: svn://10.0.0.236/trunk@171669 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 18:59:22 +00:00
bzbarsky%mit.edu
99fc698a89 Center the clicked-on point when turning off image zoom. Bug 207219, patch by
Chris Thomas (CTho) <cst@andrew.cmu.edu>, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@171364 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 04:29:35 +00:00
bryner%brianryner.com
2474296ae5 Remove nsIHTMLContent interface (bug 276959). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167619 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 19:45:38 +00:00
varga%nixcorp.com
2087aa96b4 Updating my email address.
git-svn-id: svn://10.0.0.236/trunk@164196 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-22 18:33:55 +00:00
neil%parkwaycc.co.uk
7903ea1651 Don't use QueryInterface to get a view from a scrollable view b=258521 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162561 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 22:25:07 +00:00
neil%parkwaycc.co.uk
279e4281ed Bug 207219 Image resize should zoom clicked position r=varga sr=peterv
git-svn-id: svn://10.0.0.236/trunk@162022 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-09 22:40:40 +00:00
bryner%brianryner.com
2dbfb983b1 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +00:00