4137 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
fb59007469 cite property on ins/del should be a URI, not a string. Bug 292754,
r+sr=jst, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@173020 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 23:32:35 +00:00
bzbarsky%mit.edu
4ce1a3a293 Remove an unneeded "creating" check, since we'll never have a document while
we're still being created now.  Bug 289322, r=sicking, sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@172991 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 15:56:18 +00:00
bzbarsky%mit.edu
87f32bb860 When a form control is removed from the document and no longer has a form, also
check whether it's still in the same subtree as its mForm.  If it is, then
don't remove it from the form.  Bug 291042, r=sicking, sr=peterv, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@172938 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 04:41:06 +00:00
bzbarsky%mit.edu
3f6088524e Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@172872 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 15:44:38 +00:00
jst%mozilla.jstenback.com
ebed1ee784 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +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
a16228acf0 Fix crashes when document.load is called on an already-parsing XML document.
Bug 289292, r=sicking, sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@172812 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 16:57:24 +00:00
bzbarsky%mit.edu
62937cbc08 Create CSSLoaders when the document object is created and deCOMify the getter.
Bug 290068, r=sicking, sr=peterv, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172416 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 01:27:11 +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
vladimir%pobox.com
715a56b8a3 more canvas landing horkage fixing
git-svn-id: svn://10.0.0.236/trunk@172391 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 07:30:14 +00:00
vladimir%pobox.com
dcf80e9788 b=288714, html canvas implementation, r=various,a=brendan
git-svn-id: svn://10.0.0.236/trunk@172389 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 06:33:23 +00:00
bzbarsky%mit.edu
577af8f892 Move the BindToTree call for the document element into SetRootContent. Bug
289209, r=sicking, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@172254 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 01:30:14 +00:00
bzbarsky%mit.edu
59247538c5 Make sure we've tried to create our CSSLoader before we try to dereference it.
Bug 289765, r+sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@172027 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 15:29:20 +00:00
aaronleventhal%moonset.net
95d3f2bd28 Missing part of checkin for bug 287730. Reporting position of radio buttons, r+sr=bz on missing part, a=asa
git-svn-id: svn://10.0.0.236/trunk@171851 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 14:08:12 +00:00
bzbarsky%mit.edu
6c4f2a810d Append HTML nodes to the DOM on node creation, not when we hit the close tag.
Should help with the Tp regression.  Bug 289311, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@171842 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 03:30:50 +00:00
bzbarsky%mit.edu
d600031fa4 Back out the preappend change now that the image changes are in to see what Tp does...
git-svn-id: svn://10.0.0.236/trunk@171776 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 03:40:51 +00:00
bzbarsky%mit.edu
532112b17b Only do a new image load if we're forced to or if the URI really changed. Bug
285428, r=biesi, sr=jst (note: sr was given in bug 286000 as part of the patch
there).


git-svn-id: svn://10.0.0.236/trunk@171771 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 02:55:02 +00:00
jst%mozilla.jstenback.com
466764776f Fixing bug 283897. Make midas state survive document.open/write/close. Regression from bug 283897. r=brade@comcast.net, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@171770 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 02:22:45 +00:00
cvshook%sicking.cc
a85ea92cab Bug 289053: Fix assertion when setting fontsize to empty or whitespace-only string. Also treat big relative fontsizes as absolute fontsizes so they at least render correctly.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@171768 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 02:07:52 +00:00
bzbarsky%mit.edu
3a25bfa362 Attempting to fix Tp regression
git-svn-id: svn://10.0.0.236/trunk@171759 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 01:23:07 +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
timeless%mozdev.org
2e1b67555f Bug 289063 protected recursion triggers ASSERTION: failed to load URL: 'NS_SUCCEEDED(rv)', file r:/mozilla/content/html/content/src/nsGenericHTMLElement.cpp, line 3469
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@171667 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 18:46:44 +00:00
bzbarsky%mit.edu
0bd33e20e8 Removing the type attr should make an input a text input. Bug 288331, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@171629 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 03:46:12 +00:00
bzbarsky%mit.edu
c980dc5f76 Move processing of various headers from the content sink into the document so
it'll happen for all of our document types.  Bug 288921, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@171627 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 03:28:54 +00:00
mrbkap%gmail.com
ce19ca701d bug 286733: Crash when attempting to handle misplaced content inside misplaced content because mContextTopIndex pointed to a closed index already. r=jst sr=rbs
git-svn-id: svn://10.0.0.236/trunk@171601 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 21:20:00 +00:00
aaronleventhal%moonset.net
b3bd84588b Bug 287730. Fix n of m positional info for HTML radio buttons. r=timeless, sr=bz
git-svn-id: svn://10.0.0.236/trunk@171556 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 13:43:43 +00:00
cst%andrew.cmu.edu
ac7d796c08 Bug 287695 fix hardcoded app name in default mailto: form subject
r=biesi sr=bz


git-svn-id: svn://10.0.0.236/trunk@171532 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 17:16:28 +00:00
neil%parkwaycc.co.uk
c82cb0c74e Implement group="system" for XBL handlers so that we don't try to handle events if <a> <textarea> or <xul:button> have already processed them r=jst sr=bryner
git-svn-id: svn://10.0.0.236/trunk@171381 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 12:26:02 +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
bzbarsky%mit.edu
716afea093 Make setting an entry in the options array fill in the array up to that point
with options if needed.  Bug 285498, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@171193 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-25 04:23:55 +00:00
mrbkap%gmail.com
2e94664017 bug 280044: Pass a title node to the content sinks so that attributes on title don't get lost. r=sicking sr=peterv
git-svn-id: svn://10.0.0.236/trunk@171044 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 07:09:24 +00:00
jwatt%jwatt.org
54788f1f36 Fixing bug 281741. We should implement the GetSVGDocument interface for HTMLEmbedElement. r=tor@acm.org, sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@171030 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 01:42:22 +00:00
peterv%propagandism.org
d06ab89f85 Fix for bug 285166: createElement crashes [@ NS_NewHTMLElement] [@
git-svn-id: svn://10.0.0.236/trunk@170850 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-17 20:41:27 +00:00
jst%mozilla.jstenback.com
3d9d095352 Fixing bug 188938. Adding the ability for plugins to participate in form submission. r=bzbarsky@mit.edu, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@170445 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-09 17:01:22 +00:00
bzbarsky%mit.edu
c5dd0c828f Remove the random 25-item limit of frameset row and col specs. Bug 285394,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@170444 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-09 16:47:30 +00:00
bmlk%gmx.de
44cb74265a limit the nowrap + width hack to quirks mode bug 277232 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@170242 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-06 18:33:12 +00:00
bzbarsky%mit.edu
ac5561476f Remove content dependency on the RDF-ness of bookmarks (since in general, they
need not be RDF-enabled at all).  Remove bizarre dependency of an interface we
really want to expose to embeddors on nsIParser.  Bug 101995 followup,
r=bsmedberg, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@170192 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-05 03:35:54 +00:00
jst%mozilla.jstenback.com
07f72886c9 Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@170153 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-04 02:01:54 +00:00
bzbarsky%mit.edu
f7fea72c9f Fix bug 257947 for real. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@170135 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-03 16:34:49 +00:00
jst%mozilla.jstenback.com
b42d44f3a4 Fixing bug 161587. Make the caller principal carry over to the callee when doing document.open(). r=caillon@gmail.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@170112 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-02 23:17:28 +00:00
bzbarsky%mit.edu
1719e56d4a Only dispatch label-triggered clicks to content, for now, pending sorting out
exactly what HandleEventWithTarget _should_ be doing.  Bug 284163, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@170030 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-01 03:03:05 +00:00
bzbarsky%mit.edu
accdfac9d2 Make sure to flush pending notifications as needed when calling
getElementById.  Bug 283468, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@170012 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-28 22:24:17 +00:00
mrbkap%gmail.com
8fe15ff614 bug 283564: Fix a leak when the HTML fragment sink is used to parse an empty string by ensuring that DidBuildModel() is always called. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@169884 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-26 04:33:04 +00:00
bryner%brianryner.com
165fa3ff89 Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@169873 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 22:07:01 +00:00
jst%mozilla.jstenback.com
4240308d76 Fixing bug 209020. Make midas (document eiditing mode) not partially persist when leaving a page, and make it possible to turn off designMode dynamically in a page. r=brade@comcast.net, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@169674 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 21:27:20 +00:00
gandalf%firefox.pl
5acf9b32d1 bug 279768: move dom.properties, MediaDocument.properties to global; r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@169647 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 16:53:28 +00:00
jshin%mailaps.org
b918fc6323 bug 244754 : URL is not shown in the status bar when hovering over a url-escaped URL in an encoding different from the document enecoding (r=darin, sr=bzbarsky)
git-svn-id: svn://10.0.0.236/trunk@169604 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-22 18:25:12 +00:00
bryner%brianryner.com
066919535f Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@169489 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 10:31:27 +00:00
doronr%us.ibm.com
e54571aca7 Checked in from wrong tree, backing out, sorry.
git-svn-id: svn://10.0.0.236/trunk@169428 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 21:28:20 +00:00