230 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
2adfc316d8 Bug 386782. save and restore editor state so that it isn't lost when a page goes into the bfcache and then comes back. patch by Chris Pearce, r+sr=peterv,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250716 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-23 21:36:19 +00:00
jonas%sicking.cc
68059e3e37 Bug 424923: Remove support for cross-site XHR. r/sr=jst for code changes
git-svn-id: svn://10.0.0.236/trunk@248571 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-26 02:46:11 +00:00
reed%reedloden.com
d4d3aa8fc5 Bug 412920 - "[contenteditable] editable elements cannot be edited anymore after page refresh" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) / peterv@propagandism.org (Peter Van der Beken) r+sr=jst a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@246059 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 09:54:52 +00:00
dbaron%dbaron.org
a9c7cec63e Expose GetBodyContent and use it to avoid performance hit of nsIDOMHTMLDocument::GetBody. b=331530 r+sr=sicking a=schrep
git-svn-id: svn://10.0.0.236/trunk@245996 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 18:47:35 +00:00
dbaron%dbaron.org
90cff3a274 Back out for now, until I have a chance to fix reftests depending on old behavior.
git-svn-id: svn://10.0.0.236/trunk@245983 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 17:28:00 +00:00
dbaron%dbaron.org
d26fe6695b Expose GetBodyContent and use it to avoid performance hit of nsIDOMHTMLDocument::GetBody. b=331530 r+sr=sicking a=schrep
git-svn-id: svn://10.0.0.236/trunk@245980 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 16:48:09 +00:00
bent.mozilla%gmail.com
e21a2262ee Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9.
git-svn-id: svn://10.0.0.236/trunk@245266 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-08 22:07:53 +00:00
reed%reedloden.com
c8c8737090 Bug 408231 - "queryCommandEnabled( "formatblock" ) throws NS_ERROR_NOT_IMPLEMENTED" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=peterv a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@243040 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-14 09:26:25 +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
peterv%propagandism.org
1562e95bd8 Fix for bug 390446 (Javascript is still disabled after leaving a page that had designMode on). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@239207 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 14:47:04 +00:00
peterv%propagandism.org
d74d86b7d9 Fix for bug 401288 (Crash in Composer [@ PresShell::GetSelection][@ nsCOMArray_base::InsertObjectAt]). r/sr=bz, a=endgame.
git-svn-id: svn://10.0.0.236/trunk@238311 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-29 18:22:48 +00:00
peterv%propagandism.org
3c709cb608 Fix for bug 395340 (Crash [@ nsINode::GetNodeParent] with CSS counters and contentEditable). r/sr=bz, a=endgame.
git-svn-id: svn://10.0.0.236/trunk@238198 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-26 10:30:44 +00:00
peterv%propagandism.org
3715685fe5 Fix for bug 387380 (No visible caret when caret browsing). r=smaug, sr=jst, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@231795 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 13:19:14 +00:00
jonas%sicking.cc
857bbdaa67 Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi
git-svn-id: svn://10.0.0.236/trunk@231095 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 02:49:19 +00:00
jonas%sicking.cc
7552c132af backout due to orange
git-svn-id: svn://10.0.0.236/trunk@231082 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 23:34:23 +00:00
jonas%sicking.cc
52ff6b27a1 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi
git-svn-id: svn://10.0.0.236/trunk@231078 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 22:20:32 +00:00
jonas%sicking.cc
54f24bdccb Bug 259332: Improve support for document.all such that we can deal with multiple elements with the same id and/or name. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@230997 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 00:36:20 +00:00
bzbarsky%mit.edu
b5b433a6b7 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.


git-svn-id: svn://10.0.0.236/trunk@229833 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 20:05:49 +00:00
peterv%propagandism.org
9e04fca5dd Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228918 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 02:48:22 +00:00
peterv%propagandism.org
857e346b36 Backing out to fix orange.
git-svn-id: svn://10.0.0.236/trunk@228906 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 23:21:09 +00:00
peterv%propagandism.org
4161532453 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228893 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 22:29:54 +00:00
sharparrow1%yahoo.com
b64088b1a1 Bug 365189 document.width/document.height flush layout too late. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@226847 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 03:52:53 +00:00
bzbarsky%mit.edu
9c1042b2f2 Store the charset we had when we were written into when document.open()
happens.  Then restore that as the document charset when loading from a wyciwyg
channel, instead of just claiming to be UTF-16.  Bug 255820, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@226169 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 02:47:59 +00:00
benjamin%smedbergs.us
7262cdad6d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
peterv%propagandism.org
4fff00b28c Fix for bug 368773 (Add a bunch of DOM objects to cycle collection). r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@221534 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 11:17:16 +00:00
Olli.Pettay%helsinki.fi
bd3ed79a81 Bug 197052, crash/hang when using innerHTML recursively, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@219951 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-11 00:30:20 +00:00
sayrer%gmail.com
4b956025f4 Bug 357450. Implement getElementsByClassName. r=jst, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@219322 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 15:14:00 +00:00
jonas%sicking.cc
dc89ea1f2d Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<hsivonen@iki.fi>. r=peterv sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219201 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 21:21:06 +00:00
bzbarsky%mit.edu
c663dd69d7 Don't inherit the charset from the parent document if it comes from a different
origin.  Bug 356280, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@218267 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 03:28:00 +00:00
bzbarsky%mit.edu
25c459209d Move GetCompatibilityMode() to nsIDocument. Bug 362797, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@216479 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 15:46:18 +00:00
bzbarsky%mit.edu
8de5291c41 This wasn't supposed to land
git-svn-id: svn://10.0.0.236/trunk@215692 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:52:32 +00:00
bzbarsky%mit.edu
43d470b66b Make the redirect check get principals the same way we get them elsewhere.
Clean up some code to use the new security manager method.  Bug 354693,
r=dveditz, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@215685 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:27:54 +00:00
bzbarsky%mit.edu
b3b4b573a0 Remove nsIHTMLDocument::WasDomainSet. Use the principal instead, Luke! Bug
355948, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@213385 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-10 01:07:45 +00:00
timeless%mozdev.org
c16dc8b542 Bug 330331 Building with option --disable-xul failed
patch by romaxa@gmail.com r=timeless r=biesi sr=bz
Removing last traces of RDF dependency from HTMLDocument (bug 101995)

Only build toolkit download ifdef MOZ_RDF
Only build windowdatesource and the charset menu ifdef MOZ_RDF

Enable nsExternalHelperAppService to build w/o RDF.
Enable nsDirectoryViewer to build, this is enables geckos to work around bug 347782
Don't build nsHTTPIndex at all.


git-svn-id: svn://10.0.0.236/trunk@207383 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 22:36:15 +00:00
pkasting%google.com
0f0eee34d2 Bug 339127: Add "spellcheck" attribute to control spellchecking.
r=brettw
sr=sicking


git-svn-id: svn://10.0.0.236/trunk@205107 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 00:04:40 +00:00
cvshook%sicking.cc
aba7c6ff77 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
git-svn-id: svn://10.0.0.236/trunk@201460 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-02 07:23:10 +00:00
enndeakin%sympatico.ca
ed636c9217 Bug 333038, support inline spellchecking for designmode, r=brettw, sr=bz
CVS: ----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@201064 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 03:39:41 +00:00
mrbkap%gmail.com
abc730764f Prevent assertions when a document that has had document.open called is closed
suddenly (without an intervening document.close call). bug 332896, r=bzbarsky, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@200375 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 23:51:32 +00:00
bzbarsky%mit.edu
13b92c95bf Cache the list of form controls, so loading a large page with lots of form
controls outside forms is not O(N^2).  Bug 336062, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@199489 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 04:28:20 +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
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
mrbkap%gmail.com
44fd52082e bug 321781: document.close() causes weird things to happen when asynchronous things were document.written. r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@188077 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-24 01:25:14 +00:00
bzbarsky%mit.edu
de7f7589f3 Fix init of HTML documents to set the right case-sensitivity on the CSS parser
even for XSLT.  Bug 322461, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@187052 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-06 02:53:10 +00:00
bzbarsky%mit.edu
b2f82fd14b Switch the name and id hashtable from strings to atoms. Atomize names in
general.  Bug 315771, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@184748 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 02:55:29 +00:00
bzbarsky%mit.edu
d006208790 Move the document's bidi state to actually live on the document, and remove
dependencies on nsPresContext in form submission.  Fixes bugs 100533, 180861,
293171.  r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@184321 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 22:45:49 +00:00
bzbarsky%mit.edu
d14d1f2475 Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:41:51 +00:00
bzbarsky%mit.edu
53c329523d Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183113 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 02:25:23 +00:00
bzbarsky%mit.edu
8c2d114c59 Once we've had enough ID lookup misses, make the ID table completely live. Bug
299689, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@179801 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 17:04:34 +00:00
jst%mozilla.jstenback.com
fecaf7f5b3 Fixing bug 296830. Use the principal of the calling code in document.open(), not that of the calling window. r=dveditz@cruzio.com, sr=brendan@mozilla.org, a=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@174851 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-20 16:18:35 +00:00
mrbkap%gmail.com
0aecc2c0de bug 271184: The output of nested document.write()s can get reversed (where later document.write()s are seen before previous document.write()s). This makes nsHTMLDocument use good parser keys. r=sicking sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@174220 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-07 19:21:05 +00:00