Commit Graph

192 Commits

Author SHA1 Message Date
David Zbarsky
630c8fc41e Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Arpad Borsos
af5c52fa8a Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
Boris Zbarsky
7f288f2c5c Bug 437142. Be a little more careful with GetPrimaryFrameFor to work around the mess that <area> elements cause. r+sr=roc 2008-11-25 20:49:14 -05:00
Robert O'Callahan
bee2844b64 Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron 2008-09-18 21:47:21 +12:00
Mats Palmgren
664d2fe1c6 Minor code cleanup. b=182554 r+sr=roc 2008-09-06 17:52:33 +02:00
Mats Palmgren
34d41607c6 Paint a focus ring for <area shape="default">. b=448987 r+sr=roc 2008-08-07 16:44:04 +02:00
Mats Palmgren
60b96b44b0 Call Invalidate() in a way that does not flush pending notifications. b=448860 r+sr=roc 2008-08-04 14:45:38 +02:00
da6d55cdc6 Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
70e37b2ff0 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
0f958609c2 backout Bug 363089 2007-05-11 06:34:05 -07:00
833e8c64f1 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
1255dcbef5 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(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 2007-05-01 15:24:20 -07:00
sharparrow1@yahoo.com
376b32f2e8 Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:17:33 +00:00
sharparrow1@yahoo.com
2da748b9c2 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
timeless@mozdev.org
f4ef17d178 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
bzbarsky@mit.edu
16fe90d4c2 Make ReconstructDocElementHierarchy work correctly even if we first blew away a
pseudo which had the root as its content.  Bug 343293, r+sr=roc
2006-12-04 20:35:55 +00:00
sayrer@gmail.com
ccd44e209a bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron 2006-09-08 04:35:17 +00:00
timeless@mozdev.org
6623f2131b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +00:00
cvshook@sicking.cc
e52bf42d62 Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz 2006-07-02 07:23:10 +00:00
cvshook@sicking.cc
5df20de104 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
leon.sha@sun.com
b77bcae3cb Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+
2006-04-24 05:40:11 +00:00
dbaron@dbaron.org
06325f6000 Fix crash relating to uninitialized floats in cursor structure, and make imagemap images use the cursor style of the areas when in them (instead of the cursor style from the image) and the cursor style of the image when not in the areas (instead of a hardcoded default). b=302536 r=biesi sr=bzbarsky 2006-04-20 21:02:10 +00:00
dbaron@dbaron.org
96634178f2 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
dbaron@dbaron.org
60eede3c11 Single line comments to describe files (helpful in LXR) 2006-03-29 18:29:03 +00:00
timeless@mozdev.org
c95a9608ea Bug 298277 remove useless references to nsVoidArray
r=dbaron sr=dbaron
2006-02-23 10:30:59 +00:00
cvshook@sicking.cc
3a1f3e0e4b Bug 312592: Reduce amount of duplicated code in html contentsink.
r=mrbkap sr=peterv
2005-11-10 15:51:10 +00:00
bzbarsky@mit.edu
4d02579678 Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
bzbarsky@mit.edu
d53667675c Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2005-10-27 02:25:23 +00:00
peterv@propagandism.org
97ce448ce1 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
bzbarsky@mit.edu
dba6441109 Restore the ability to tab to links in an imagemap. Bug 304467, r+sr=roc 2005-08-24 00:03:59 +00:00
bzbarsky@mit.edu
93240998ef Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
bzbarsky@mit.edu
81187c2ab3 Don't invalidate the whole imagemap on unrelated attribute changes in the
subtree.  Bug 304753, r+sr=jst
2005-08-16 04:47:36 +00:00
mats.palmgren@bredband.net
86d34e3a96 Don't crash in the document observer methods when the container arg is null. b=301025 r+sr=bzbarsky a=benjamin 2005-07-24 01:21:17 +00:00
dbaron@dbaron.org
92f567b0bc Destroy things at the right time (and in one place) to fix crashes. b=206021 r=mats.palmgren sr=roc 2005-03-28 23:03:47 +00:00
bryner@brianryner.com
c4c10dcf35 Remove nsIHTMLContent interface (bug 276959). r+sr=jst. 2005-01-12 19:45:38 +00:00
bzbarsky@mit.edu
3ca292b0f8 Fixing build bustage. I have no idea how gcc 3.2 managed to build this... Bug
269697
2004-11-23 18:23:12 +00:00
bzbarsky@mit.edu
1cba645ccf Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
r+sr=jst
2004-11-23 17:45:37 +00:00
bryner@brianryner.com
242c51275c Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
mats.palmgren@bredband.net
6d0301eea1 Added more log messages for incorrect "coords" attribute values. b=233353 r+sr=bzbarsky 2004-08-08 14:05:35 +00:00
bryner@brianryner.com
6cde4639f0 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
peterv@propagandism.org
bd238fac2c Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst. 2004-06-25 12:26:02 +00:00
roc+@cs.cmu.edu
d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
gerv@gerv.net
a1ec040a65 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
sicking@bigfoot.com
04bff86218 Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst
2004-04-12 22:48:33 +00:00
roc+@cs.cmu.edu
bfa2b2d5c6 Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron 2004-03-10 03:09:05 +00:00
bryner@brianryner.com
180d96f792 Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
dbaron@dbaron.org
f4264ddfc8 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 2004-02-20 21:38:31 +00:00
sicking@bigfoot.com
73e360ede4 Bug 234615: Remove nsIHTMLContent::GetBaseTarget by cleaning up the imagemap code a bit which was the only client.
r=bryner sr=jst
2004-02-20 19:00:43 +00:00
bryner@brianryner.com
4b3323b7b2 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
jst@mozilla.jstenback.com
0c5e542fe7 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00