mats.palmgren%bredband.net
2bf311b23d
Prefer a MAP that has AREAs over an empty one with the same name (in quirks mode). b=264624 r+sr=bzbarsky a=benjamin
...
git-svn-id: svn://10.0.0.236/trunk@176584 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 23:37:56 +00:00
bzbarsky%mit.edu
e5932bc9f9
Don't flush our parent if we're not safe to flush. Bug 281922, r+sr=jst, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@176094 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-14 16:13:09 +00:00
darin%meer.net
00b6268419
fixes bug 295544 "Expose more designMode options to web apps" r=brade sr=jst a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@175101 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 17:18:27 +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
f2a332e8d4
bug 296677: Fix nsParser::ParseFragment to not screw up setting <textarea>'s innerHTML. r=jst sr=peterv a=asa
...
git-svn-id: svn://10.0.0.236/trunk@174716 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 18:59:59 +00:00
peterv%propagandism.org
aac2b47f2a
Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +00:00
bzbarsky%mit.edu
e01bd5e327
Make sure to call ScriptEvaluated when doing all evaluations, to call it
...
_after_ we've popped the JSContext from the stack, and to handle multiple
termination functions being posted from a single script evaluation. Fixes
leaks when closing windows or tabs with still-loading documents. Bug 295983,
r+sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@174364 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-09 15:42:19 +00:00
cvshook%sicking.cc
a1b1c63a31
Bug 245274: Be more strict about which names we allow for createElement, even in quirks mode.
...
r=doron sr=bz a=asa
git-svn-id: svn://10.0.0.236/trunk@174299 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 16:42:04 +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
jst%mozilla.jstenback.com
0f0277c311
Fixing bug 285873. Make midas independent of the pref editor.CR_creates_new_p and make the default behaviour in midas match IE (such that hitting return in a p tag splits the p instead of inserting a br. r=brade@comcast.net, sr=bzbarsky@mit.edu, a=chofmann@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@174031 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 03:11:35 +00:00
bzbarsky%mit.edu
578132afda
Fix leak on setting innerHTML in XML, as well as leaks when the parent of a
...
not-yet-parsed script is removed from the document. Bug 294274, r+sr=peterv,
a=chofmann
git-svn-id: svn://10.0.0.236/trunk@174028 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 02:38:20 +00:00
mrbkap%gmail.com
1d5ac8765e
bug 208869: Setting innerHTML with textarea can isnert an extra newline. This patch makes textarea be treated as a normal container outside CNavDTD (which takes over its first-newline removal duties). r=sicking sr=bzbarksy a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173988 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 21:23:23 +00:00
cbiesinger%web.de
620f913e6e
295916 r=mrbkap sr=bz a=shaver
...
- make parser handle calling Parse with an empty string and aLastCall=true
correctly
- call that from document.close() even in the non-HTML case
git-svn-id: svn://10.0.0.236/trunk@173960 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 19:13:39 +00:00
timeless%mozdev.org
22257176fd
Bug 289068 ASSERTION: WriteToBuffer called with count of zero: 'count', file r:/mozilla/netwerk/cache/src/nsDiskCacheStreams.cpp, line 710
...
r=jst sr=jst a=shaver
git-svn-id: svn://10.0.0.236/trunk@173928 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 16:10:58 +00:00
bzbarsky%mit.edu
249f50341c
Push the mChannel member for documents up to nsDocument and expose it on
...
nsIDocument. Bug 292971 preliminaries, r+sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@173866 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 01:15:23 +00:00
bryner%brianryner.com
1cee43af71
Fix crash when closing a tab that contains an image (bug 294630). Patch by bz / beaufour, r+sr=me, a=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@173618 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-20 01:31:26 +00:00
bzbarsky%mit.edu
79f2b8e2c7
Fix crash if the DOM gets rearranged while we're parsing. Bug 294235,
...
r+sr=peterv, a=asa
git-svn-id: svn://10.0.0.236/trunk@173594 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-19 19:56:13 +00:00
bryner%brianryner.com
41e0a9483a
Fix form state save/restore so that it uses the correct history entry (bug 293135). r+sr=bzbarsky, a=shaver.
...
git-svn-id: svn://10.0.0.236/trunk@173242 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 02:06:29 +00:00
bzbarsky%mit.edu
c1677f8f9d
Fix typo that kept data: images from updating the titlebar. Bug 293399,
...
r=biesi, sr=brendan, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@173199 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-08 23:21:36 +00:00
bryner%brianryner.com
189a661d09
Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +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
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
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
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
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
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
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
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
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
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
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
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
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
doronr%us.ibm.com
3831773869
Bug 279057 - Implement hasFeature for XForms. Patch by smaug, r=bryner/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@169427 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 21:20:27 +00:00
mrbkap%gmail.com
c49d96100e
bug 263053: Get rid of the <endnote> tag when parsing fragments with context, since this can fail if the input stream contains another <endnote> tag. Instead, parse the context in different "chunks" from the new buffer, and notify the fragment sink by way of functions. r=peterv sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@169415 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 19:18:39 +00:00
bryner%brianryner.com
5d17ec2995
Remove unneeded nsIContentList interface (bug 280746). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@168732 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 23:16:02 +00:00