Commit Graph

3560 Commits

Author SHA1 Message Date
dbaron%dbaron.org
2e673b5344 Remove unneeded null checks in attribute mapping functions. r+sr=bzbarsky b=127269 2003-09-11 01:34:29 +00:00
bryner%brianryner.com
2fcdb4e2d5 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 21:50:21 +00:00
caillon%returnzero.com
f8e8aed8a7 Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
2003-08-22 03:06:53 +00:00
dbaron%dbaron.org
98a72bf009 Fix attribute mapping for image inputs by always mapping the attributes that work on image inputs. b=214077 r+sr=bzbarsky a=brendan 2003-08-11 21:53:24 +00:00
bzbarsky%mit.edu
59d4caaee1 Don't use uninitialiazed hashtable. Bug 214941, r=bsmedberg, sr=peterv, a=dveditz 2003-08-11 18:16:48 +00:00
jag%tty.nl
a49eb883ac Bug 212793: crash when following link when a file upload box is on the screen with XSLT generated content. r=Pike, sr=jst, a=choffman 2003-08-07 18:58:30 +00:00
roc+%cs.cmu.edu
0b8cd870e1 Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron 2003-08-06 03:07:12 +00:00
brendan%mozilla.org
b7cdb7debb Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron). 2003-08-05 20:09:21 +00:00
axel%pike.org
d21a2d98d9 bugs 151002, 212892, CDATA should be eTEXT, add nsIContent::ePROCESSING_INSTRUCTION and nsITextContent::AppendTextTo for XSLT perf 2003-08-01 11:44:17 +00:00
bzbarsky%mit.edu
f43d2fc1f1 Don't override earlier attrs on <body> with later ones from a separate <body>
tag (we merge all the attrs onto the single <body> node; oh, the insanity!)
Bug 214577, r+sr=peterv
2003-07-31 14:07:17 +00:00
bzbarsky%mit.edu
d9a8191591 Fix issues with ScriptAvailable() not firing for some scripts. Bug 214081, r+sr=jst 2003-07-31 01:28:16 +00:00
bzbarsky%mit.edu
9aa115b961 Fix border-side parsing to not mess up the color. Bug 214487, r+sr=dbaron 2003-07-30 23:45:34 +00:00
caillon%returnzero.com
a9e2dece76 Bug 38370.
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu
9f917de2e8 Fix crash when an event handler removes the submitting element from the
document.  Bug 194582, patch by mats.palmgren@bredband.net (Mats Palmgren),
r=jkeiser, sr=bzbarsky
2003-07-29 22:59:37 +00:00
bzbarsky%mit.edu
74f3b1e808 Fixing more windows bustage 2003-07-29 01:15:55 +00:00
caillon%returnzero.com
22e0eb6851 Introduce a weak ptr here to avoid extra addref/releases in this loop. r+sr=bzbarsky@mit.edu on irc. 2003-07-28 22:32:31 +00:00
bzbarsky%mit.edu
66da7e571d Left this out. Bug 213823, r=caillon, sr=build-bustage 2003-07-28 22:23:06 +00:00
bzbarsky%mit.edu
e2dae4d2f9 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:17:26 +00:00
bzbarsky%mit.edu
93aa1eeb86 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst 2003-07-28 21:09:56 +00:00
bsmedberg%covad.net
01ee486155 Fix assertion from bug 211470, rs=bz 2003-07-28 01:12:36 +00:00
bsmedberg%covad.net
3d0c40f387 Forgot a review nit from bug 211470. 2003-07-27 15:46:52 +00:00
bsmedberg%covad.net
279d0db1f7 Bug 211470 - need a common nsURIHashKey r=darin sr=bz 2003-07-27 15:20:11 +00:00
jshin%mailaps.org
f76e3889a4 bug 199237 : fix the rendering of the non-ASCII title of a media/image doc : follow-up (no actual change in the code but just a couple of changes in comment) 2003-07-26 05:54:42 +00:00
jshin%mailaps.org
b6b1c25129 bug 199237 : fix the rendering of the non-ASCII title of a non-text doc(image, media) opened in a new tab/window (r=bryner, sr=bz) 2003-07-26 05:17:26 +00:00
bzbarsky%mit.edu
d05c67bce3 Remove support for the single-':' form of -moz-* pseudo-elements. Bug 211657,
r+sr=dbaron
2003-07-25 22:44:58 +00:00
jaggernaut%netscape.com
95899387f6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
bzbarsky%mit.edu
9a4b8706ea Remove unused variable. 2003-07-25 04:06:31 +00:00
bzbarsky%mit.edu
92f086becd Don't bother loading scripts from the network when scripts are disabled. Bug
66857, r=sicking, sr=jst
2003-07-24 23:22:45 +00:00
caillon%returnzero.com
ec640a5d82 Bug 213341 - Use smart pointer classes for long lived strong references in nsGenericElement and friends.
r=bzbarsky@mit.edu sr=jst@netscape.com
2003-07-24 20:38:08 +00:00
bzbarsky%mit.edu
d0666152a5 Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
nsINodeInfo a tad.  Bug 211634, r=jkeiser, sr=jst
2003-07-24 17:30:52 +00:00
bzbarsky%mit.edu
f306ab9f52 Don't load the image for image inputs till we have all of our attributes. Bug
209242, r=caillon, sr=jst
2003-07-24 17:10:14 +00:00
caillon%returnzero.com
91b7c60bee Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)
2003-07-24 05:15:20 +00:00
dbaron%dbaron.org
47183725c7 Remove unused content quality stubs. b=111346 r+sr=bzbarsky 2003-07-22 18:38:08 +00:00
bzbarsky%mit.edu
ed18fdd23b Avoid having to call SetAttr for each attribute we set by just looping
backwards over the attributes in the parser node instead.  Bug 213347, r+sr=jst
2003-07-22 14:21:59 +00:00
bzbarsky%mit.edu
a92e4e109b Sync up the attribute-adding code in the fragment sink to the HTML sink to
avoid stripping quotes too many times.  Bug 212805; r=jkeiser; sr=jst
2003-07-22 01:31:34 +00:00
jaggernaut%netscape.com
6ab6643eee Fix bustage 2003-07-20 08:35:21 +00:00
jaggernaut%netscape.com
9819e5e8fa Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:40:43 +00:00
bzbarsky%mit.edu
aad8c26a95 Fixing build bustage. 2003-07-18 02:00:01 +00:00
caillon%returnzero.com
7495519180 Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
2003-07-18 01:26:47 +00:00
bzbarsky%mit.edu
840b81c0cd Make the URI of a sheet be its final URI after all the redirects, not the URI
linked to from the original document.  Bug 96858, r+sr=dbaron
2003-07-18 00:35:49 +00:00
bzbarsky%mit.edu
e6f3eb1465 Fix bug 212277. r=caillon, sr=darin 2003-07-15 07:01:16 +00:00
bzbarsky%mit.edu
ddba83b841 Fix up name resolution under forms to not find elements that are just
randomly in the document.  Bug 148782, r=caillon, sr=jst
2003-07-15 02:07:55 +00:00
jaggernaut%netscape.com
817298ce0b Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
dbaron%dbaron.org
0f8da4d057 A little selector matching cleanup. b=212603 r+sr=bzbarsky 2003-07-13 23:09:10 +00:00
jaggernaut%netscape.com
2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
bzbarsky%mit.edu
9a8abe477b Relanding bug bug 212133 (again), since last backout seemed to not affect Tp. 2003-07-12 22:32:20 +00:00
dbaron%dbaron.org
0fdf690be7 Make WalkContentStyleRules work correctly for XHTML tables without row groups. b=68061 r+sr=bzbarsky 2003-07-12 22:12:59 +00:00
bzbarsky%mit.edu
679ed391c9 Make elements deal better with a no-op SetDocument call. Bug 212262,
r=caillon, sr=jst
2003-07-12 18:01:58 +00:00
bzbarsky%mit.edu
c9311f5c07 Backing out yet again (bug 212133) since Tp is being weird again.... Let's hope
it's not this patch.  :(
2003-07-12 04:14:03 +00:00
bzbarsky%mit.edu
9cb380a7ff Make XBL anonymous content get its base URI from the XBL document (the binding
URI) instead of from the document of the bound element.  This way relative URIs
in a binding are always relative to the binding.  Bug 211128, r=caillon, sr=jst
2003-07-11 23:06:26 +00:00