Commit Graph

3556 Commits

Author SHA1 Message Date
dbaron%dbaron.org
27cf2ed74a Fix attribute mapping for image inputs by always mapping the attributes that work on image inputs. b=214077 r+sr=bzbarsky a=brendan
git-svn-id: svn://10.0.0.236/trunk@145883 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-11 21:53:24 +00:00
bzbarsky%mit.edu
edbe6382af Don't use uninitialiazed hashtable. Bug 214941, r=bsmedberg, sr=peterv, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@145875 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-11 18:16:48 +00:00
jag%tty.nl
c96cf7021a 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
git-svn-id: svn://10.0.0.236/trunk@145702 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-07 18:58:30 +00:00
roc+%cs.cmu.edu
c0bc42c584 Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
git-svn-id: svn://10.0.0.236/trunk@145645 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-06 03:07:12 +00:00
brendan%mozilla.org
95220b5330 Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron).
git-svn-id: svn://10.0.0.236/trunk@145624 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 20:09:21 +00:00
axel%pike.org
2da9322e74 bugs 151002, 212892, CDATA should be eTEXT, add nsIContent::ePROCESSING_INSTRUCTION and nsITextContent::AppendTextTo for XSLT perf
git-svn-id: svn://10.0.0.236/trunk@145449 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-01 11:44:17 +00:00
bzbarsky%mit.edu
8f8f987c9c 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


git-svn-id: svn://10.0.0.236/trunk@145423 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-31 14:07:17 +00:00
bzbarsky%mit.edu
91bfd993dc Fix issues with ScriptAvailable() not firing for some scripts. Bug 214081, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@145410 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-31 01:28:16 +00:00
bzbarsky%mit.edu
feff597227 Fix border-side parsing to not mess up the color. Bug 214487, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145404 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 23:45:34 +00:00
caillon%returnzero.com
c8612ff038 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


git-svn-id: svn://10.0.0.236/trunk@145375 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu
a7dde4e815 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


git-svn-id: svn://10.0.0.236/trunk@145358 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-29 22:59:37 +00:00
bzbarsky%mit.edu
a0f8a29dd2 Fixing more windows bustage
git-svn-id: svn://10.0.0.236/trunk@145304 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-29 01:15:55 +00:00
caillon%returnzero.com
0faa02efe6 Introduce a weak ptr here to avoid extra addref/releases in this loop. r+sr=bzbarsky@mit.edu on irc.
git-svn-id: svn://10.0.0.236/trunk@145297 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 22:32:31 +00:00
bzbarsky%mit.edu
8d4d0761b1 Left this out. Bug 213823, r=caillon, sr=build-bustage
git-svn-id: svn://10.0.0.236/trunk@145295 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 22:23:06 +00:00
bzbarsky%mit.edu
67e7a64c5d DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145285 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:17:26 +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
bsmedberg%covad.net
f24d69bc30 Fix assertion from bug 211470, rs=bz
git-svn-id: svn://10.0.0.236/trunk@145261 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 01:12:36 +00:00
bsmedberg%covad.net
3ae54818a4 Forgot a review nit from bug 211470.
git-svn-id: svn://10.0.0.236/trunk@145254 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-27 15:46:52 +00:00
bsmedberg%covad.net
2c2c23dd44 Bug 211470 - need a common nsURIHashKey r=darin sr=bz
git-svn-id: svn://10.0.0.236/trunk@145253 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-27 15:20:11 +00:00
jshin%mailaps.org
7e66fe9290 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)
git-svn-id: svn://10.0.0.236/trunk@145223 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-26 05:54:42 +00:00
jshin%mailaps.org
e931489539 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)
git-svn-id: svn://10.0.0.236/trunk@145221 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-26 05:17:26 +00:00
bzbarsky%mit.edu
b9c67ee584 Remove support for the single-':' form of -moz-* pseudo-elements. Bug 211657,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@145213 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 22:44:58 +00:00
jaggernaut%netscape.com
df747d0621 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00
bzbarsky%mit.edu
fe3b50c34c Remove unused variable.
git-svn-id: svn://10.0.0.236/trunk@145181 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 04:06:31 +00:00
bzbarsky%mit.edu
7b256537b6 Don't bother loading scripts from the network when scripts are disabled. Bug
66857, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@145179 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 23:22:45 +00:00
caillon%returnzero.com
2d06d867c5 Bug 213341 - Use smart pointer classes for long lived strong references in nsGenericElement and friends.
r=bzbarsky@mit.edu sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@145165 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 20:38:08 +00:00
bzbarsky%mit.edu
b878645544 Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
nsINodeInfo a tad.  Bug 211634, r=jkeiser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@145155 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 17:30:52 +00:00
bzbarsky%mit.edu
68d2cd514f Don't load the image for image inputs till we have all of our attributes. Bug
209242, r=caillon, sr=jst


git-svn-id: svn://10.0.0.236/trunk@145154 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 17:10:14 +00:00
caillon%returnzero.com
cd46cbbaad 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)


git-svn-id: svn://10.0.0.236/trunk@145137 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 05:15:20 +00:00
dbaron%dbaron.org
20a7c5ebb1 Remove unused content quality stubs. b=111346 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@145076 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 18:38:08 +00:00
bzbarsky%mit.edu
153da6cfa1 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


git-svn-id: svn://10.0.0.236/trunk@145059 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 14:21:59 +00:00
bzbarsky%mit.edu
b1597b655e 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


git-svn-id: svn://10.0.0.236/trunk@145042 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 01:31:34 +00:00
jaggernaut%netscape.com
e9505aff6f Fix bustage
git-svn-id: svn://10.0.0.236/trunk@144993 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 08:35:21 +00:00
jaggernaut%netscape.com
40f122a577 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144991 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:40:43 +00:00
bzbarsky%mit.edu
7111a9cc92 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@144939 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 02:00:01 +00:00
caillon%returnzero.com
e69f301e32 Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
r=bzbarsky@mit.edu, sr=dbaron@dbaron.org


git-svn-id: svn://10.0.0.236/trunk@144937 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 01:26:47 +00:00
bzbarsky%mit.edu
7c1787f026 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


git-svn-id: svn://10.0.0.236/trunk@144934 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 00:35:49 +00:00
bzbarsky%mit.edu
c72fcc1fd4 Fix bug 212277. r=caillon, sr=darin
git-svn-id: svn://10.0.0.236/trunk@144877 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-15 07:01:16 +00:00
bzbarsky%mit.edu
c6ed9701dd Fix up name resolution under forms to not find elements that are just
randomly in the document.  Bug 148782, r=caillon, sr=jst


git-svn-id: svn://10.0.0.236/trunk@144869 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-15 02:07:55 +00:00
jaggernaut%netscape.com
36ab3d76a9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144817 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 07:37:39 +00:00
dbaron%dbaron.org
794f9a036b A little selector matching cleanup. b=212603 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144806 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 23:09:10 +00:00
jaggernaut%netscape.com
95a2235bee Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@144804 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:29:00 +00:00
bzbarsky%mit.edu
942de1d6ed Relanding bug bug 212133 (again), since last backout seemed to not affect Tp.
git-svn-id: svn://10.0.0.236/trunk@144785 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 22:32:20 +00:00
dbaron%dbaron.org
7cb18320f1 Make WalkContentStyleRules work correctly for XHTML tables without row groups. b=68061 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144784 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 22:12:59 +00:00
bzbarsky%mit.edu
fce404beea Make elements deal better with a no-op SetDocument call. Bug 212262,
r=caillon, sr=jst


git-svn-id: svn://10.0.0.236/trunk@144774 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 18:01:58 +00:00
bzbarsky%mit.edu
4106b4d8da Backing out yet again (bug 212133) since Tp is being weird again.... Let's hope
it's not this patch.  :(


git-svn-id: svn://10.0.0.236/trunk@144770 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 04:14:03 +00:00
bzbarsky%mit.edu
c8ff7820a4 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


git-svn-id: svn://10.0.0.236/trunk@144753 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 23:06:26 +00:00
dbaron%dbaron.org
593f58592d Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
dbaron%dbaron.org
401c86df69 Fix leak caused by CSS2PropertiesTearoff by simplifying aggregation. b=212269 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144730 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 20:44:25 +00:00
bzbarsky%mit.edu
bae5db92ca Bug 212133 take two. Make images load only after they get a parent if they are
coming from the sink.  Hopefully with better perf this time.  r=caillon, sr=jst


git-svn-id: svn://10.0.0.236/trunk@144723 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 20:00:31 +00:00