Граф коммитов

1495 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 999386ae57 Make sure to only treat the outermost frameset as body-like. Bug 312942, r+sr=jst 2005-10-20 02:12:20 +00:00
roc+%cs.cmu.edu f7e2b45942 Bug 309020. SVG content references in XBL anonymous content should reference content copied from the binding document. This is a partial fix. We also refactor some code to make it shareable in nsContentUtils. r=biesi,tor sr=bzbarsky 2005-10-18 20:33:35 +00:00
bzbarsky%mit.edu adcba28394 Make sure to notify for frameset like we do for body. Bug 312097, r=sicking, sr=jst 2005-10-14 21:48:33 +00:00
peterv%propagandism.org 513c1fd56d Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz. 2005-10-14 09:07:29 +00:00
cvshook%sicking.cc 7371067364 Bugs 292962 and 311269: Make pages in bf cache not behave as if they have a presentation, and evict pages from the bf cache synchronously if they are modified.
r/sr=bryner
2005-10-07 20:20:52 +00:00
bzbarsky%mit.edu d34807f08b Make nsDocument::InsertBefore and nsDocument::ReplaceChild do the right thing
as far as removing kids from their old parent, working with document fragments,
etc.  Mostly just makes nsDocument and nsGenericElement share code.  Bug
278472, r=peterv, sr=jst
2005-09-30 20:06:33 +00:00
dveditz%cruzio.com 885f89af0b locationless windows need hostname in titlebar (match 1.0x -- bug 304388) r=mconnor/jruderman, sr=bzbarsky 2005-09-30 18:51:46 +00:00
bzbarsky%mit.edu bdd0e13912 Make sure to flush out the content model before processing restyles; otherwise
we can end up with odd content duplication.  Bug 309986, r+sr=dbaron
2005-09-26 01:27:42 +00:00
peterv%propagandism.org 3609c87767 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
cbiesinger%web.de e53c23d646 bug 309702 handle a missing presshell gracefully (happens for display:none
iframes)
r+sr=bz
2005-09-23 17:35:08 +00:00
mrbkap%gmail.com f36fc66fd4 bug 306909: Protect against a null mScriptLoader so that we don't crash if we haven't been properly initialized and we're asked to document.write(). r+sr=jst 2005-09-22 23:01:33 +00:00
bzbarsky%mit.edu b10d301a22 Pass a boolean indicating whether we've sent a ContentInserted or
ContentAppended notification to DoneAddingChildren.  Bug 309534, r=mrbkap,
sr=jst
2005-09-22 02:33:36 +00:00
cbiesinger%web.de 7002686d0d bug 1156
- Make object frames have no children
  - Make the frame constructor construct a subdocumentframe, object frame or
    image frame as appropriate
- start the load of <applet>, <embed> and <object> in content code
- fallback to alternate rendering correctly

NOTE: This checkin will break the plugin finder. This will be fixed soon.

r+sr=bz
2005-09-21 19:14:30 +00:00
mrbkap%gmail.com ebbaa13b57 bug 308140: Make sure to match open and close head calls in the fragment sink, so that other elements don't get closed too early. r+sr=jst 2005-09-21 18:11:05 +00:00
mrbkap%gmail.com b3b01932f1 bug 264811: Only null out mParser when we're sure that we're not going to be handling any more document.writes(). r=jst sr=brendan 2005-09-16 00:19:14 +00:00
timeless%mozdev.org c113ece289 Bug 308573 use if (NS_FAILED(...)) instead of if NS_FAILED(...)
patch by b.jacques@planet.nl r=darin sr=darin
2005-09-15 23:17:17 +00:00
peterv%propagandism.org 1fd27aa751 Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz. 2005-09-11 10:08:43 +00:00
mrbkap%gmail.com 973abde5a4 bug 272702: Remove skipped content. This simplifies the code handling <script>, <style> and related tags and makes the nsIHTMLContentSink interface just that much easier to implement. This also allows <object> tags to appear in the head with children. r=sicking sr=jst 2005-09-09 18:03:47 +00:00
bzbarsky%mit.edu c9d366094c Fix brendan's nit for bug 299689, r+sr=brendan 2005-09-08 18:39:12 +00:00
bzbarsky%mit.edu 811b4e530c Once we've had enough ID lookup misses, make the ID table completely live. Bug
299689, r+sr=jst
2005-09-07 17:04:34 +00:00
bzbarsky%mit.edu 0cfd6a71ca Make addition or removal of frames in a frameset actually change the
rendering.  Bug 306660, r=jst, sr=roc
2005-09-06 02:14:36 +00:00
bob%bclary.com b9949fcef0 Bug 303502 - make DOM Don't call me! asserts more meaningful, r=peterv,sr=jst 2005-09-04 18:16:58 +00:00
peterv%propagandism.org c9af0fc826 Fix for bug 298064 (nsContentUtils::GetDocumentFromCaller() is broken.). r=jst, sr=brendan. 2005-09-02 18:02:51 +00:00
bzbarsky%mit.edu 1ab38be416 Fix comment per my review comments. Bug 305640. 2005-08-27 05:16:06 +00:00
vladimir%pobox.com 00e47b5654 b=304561, firefox unsuitable for browsing high-res image galleries due to preview on tab icon, r=mconnor,sr=bzbarsky,a=asa 2005-08-25 20:05:24 +00:00
peterv%propagandism.org 650769327b Fix for bug 301490 (Rich text editor property useCSS changed meaning). r=brade, sr=brendan. 2005-08-25 11:51:04 +00:00
jst%mozilla.jstenback.com e330cc0d63 Fixing bug 305640. Make document.getElementById() work correctly when the hash changes when flushing. r+sr=bzbarsky@mit.edu 2005-08-25 05:17:06 +00:00
bzbarsky%mit.edu 3656444b70 Make sure that a reflow flush on the document makes the sink start layout if
needed.  Bug 253951, r=mrbkap, sr=jst
2005-08-24 20:56:58 +00:00
bzbarsky%mit.edu 0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
cst%andrew.cmu.edu 508d8aff76 Bug 305215 Fix crash going back while loading an image [@ ImageListener::OnStopRequest] (regression from bug 292503)
patch by Frank Wein <bugzilla@mcsmurf.de>, r=biesi sr=jst
2005-08-20 22:47:10 +00:00
bzbarsky%mit.edu f4c380c572 Allow passing a cached nsIContentPolicy service pointer to
NS_CheckContent*Policy if the caller has one.  Bug 304845, r=biesi, sr=jst
2005-08-19 15:00:01 +00:00
cst%andrew.cmu.edu e01adae362 Bug 292503 Working images should not have alt text that says there is an error
r=biesi sr=jst
2005-08-17 02:49:47 +00:00
bzbarsky%mit.edu ad63d41111 Make sure to set base tag info on the leaf forms we create when HTML is
misnested.  Bug 73818, r=mrbkap, sr=jst
2005-08-16 22:57:11 +00:00
mrbkap%gmail.com 2b7c7bca7a bug 303267: Store the entire inner window in the window state holder instead of copying properties and restoring them. This fixes going back and forth with the bfcache on when the page gone to has javascript in it. r=jst sr=bryner 2005-08-15 18:16:42 +00:00
mrbkap%gmail.com c5688dfef2 Backing out changes for bug 303267 until the perf hits on the Seamonkey tinderbox can be explained. 2005-08-13 03:54:29 +00:00
mrbkap%gmail.com 59fbced3fe bug 303267: Store the entire inner window object on the history entry instead of copying/restoring JS properties. r=bryner sr=jst. This patch also fixes bugs 304284 and 304078. 2005-08-13 00:53:39 +00:00
dbaron%dbaron.org 7b6c6f51b5 Make nsIChannel implementations follow the rules that prevent them from leaking due to cycles with their notification callbacks. b=303043 r=biesi sr=darin 2005-08-12 22:53:22 +00:00
jst%mozilla.jstenback.com e23ea875f3 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org 2005-08-12 04:11:00 +00:00
rbs%maths.uq.edu.au c7fa2b9945 Fallback to about:blank to fix bustage of document.open() in consumers such as View MathML Source, b=289363 r+sr=jst, a=asa 2005-08-08 03:15:56 +00:00
mats.palmgren%bredband.net c9c69dd3b1 Prefer a MAP that has AREAs over an empty one with the same name (in quirks mode). b=264624 r+sr=bzbarsky a=benjamin 2005-07-25 23:37:56 +00:00
bzbarsky%mit.edu b85cfbfdc5 Don't flush our parent if we're not safe to flush. Bug 281922, r+sr=jst, a=asa 2005-07-14 16:13:09 +00:00
darin%meer.net 800a1ddbc1 fixes bug 295544 "Expose more designMode options to web apps" r=brade sr=jst a=bsmedberg 2005-06-24 17:18:27 +00:00
jst%mozilla.jstenback.com 343e7f35b1 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 2005-06-20 16:18:35 +00:00
mrbkap%gmail.com 6664814803 bug 296677: Fix nsParser::ParseFragment to not screw up setting <textarea>'s innerHTML. r=jst sr=peterv a=asa 2005-06-16 18:59:59 +00:00
peterv%propagandism.org ea82f1a8a5 Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa. 2005-06-16 13:10:58 +00:00
bzbarsky%mit.edu 3114a994a1 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
2005-06-09 15:42:19 +00:00
cvshook%sicking.cc ffa6aac7b7 Bug 245274: Be more strict about which names we allow for createElement, even in quirks mode.
r=doron sr=bz a=asa
2005-06-08 16:42:04 +00:00
mrbkap%gmail.com f804bef6c7 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 2005-06-07 19:21:05 +00:00
jst%mozilla.jstenback.com 313ecd3615 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 2005-06-02 03:11:35 +00:00
bzbarsky%mit.edu 8388d47b5d 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
2005-06-02 02:38:20 +00:00
mrbkap%gmail.com 9c7185974e 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 2005-06-01 21:23:23 +00:00
cbiesinger%web.de 0493f61e46 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
2005-06-01 19:13:39 +00:00
timeless%mozdev.org bbfe7d34e5 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
2005-06-01 16:10:58 +00:00
bzbarsky%mit.edu 89f6d79b74 Push the mChannel member for documents up to nsDocument and expose it on
nsIDocument.  Bug 292971 preliminaries, r+sr=jst, a=chofmann
2005-06-01 01:15:23 +00:00
bryner%brianryner.com a13c8de744 Fix crash when closing a tab that contains an image (bug 294630). Patch by bz / beaufour, r+sr=me, a=dbaron. 2005-05-20 01:31:26 +00:00
bzbarsky%mit.edu 9b46fcefd6 Fix crash if the DOM gets rearranged while we're parsing. Bug 294235,
r+sr=peterv, a=asa
2005-05-19 19:56:13 +00:00
bryner%brianryner.com 40d7ab427b Fix form state save/restore so that it uses the correct history entry (bug 293135). r+sr=bzbarsky, a=shaver. 2005-05-10 02:06:29 +00:00
bzbarsky%mit.edu bb141d7e14 Fix typo that kept data: images from updating the titlebar. Bug 293399,
r=biesi, sr=brendan, a=dbaron
2005-05-08 23:21:36 +00:00
bryner%brianryner.com aed69207f0 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. 2005-05-04 20:22:32 +00:00
bzbarsky%mit.edu 479cc410ea Make sure to addref documents before calling Init(). Bug 291887, r+sr=jst,
a=brendan
2005-04-28 17:16:19 +00:00
bzbarsky%mit.edu 90feadd1d3 Fix crashes when document.load is called on an already-parsing XML document.
Bug 289292, r=sicking, sr=jst, a=chofmann
2005-04-28 16:57:24 +00:00
bzbarsky%mit.edu 8df9c25d22 Create CSSLoaders when the document object is created and deCOMify the getter.
Bug 290068, r=sicking, sr=peterv, a=brendan
2005-04-19 01:27:11 +00:00
bzbarsky%mit.edu e84856a159 Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
r=sicking, sr=peterv, a=brendan
2005-04-18 22:58:35 +00:00
vladimir%pobox.com 057ce06bb3 b=288714, html canvas implementation, r=various,a=brendan 2005-04-18 06:33:23 +00:00
bzbarsky%mit.edu 192b6aaa49 Move the BindToTree call for the document element into SetRootContent. Bug
289209, r=sicking, sr=jst, a=asa
2005-04-15 01:30:14 +00:00
bzbarsky%mit.edu a43b2ff89e Make sure we've tried to create our CSSLoader before we try to dereference it.
Bug 289765, r+sr=jst, a=asa
2005-04-12 15:29:20 +00:00
bzbarsky%mit.edu 4d4a28a704 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
2005-04-07 03:30:50 +00:00
bzbarsky%mit.edu 5874808848 Back out the preappend change now that the image changes are in to see what Tp does... 2005-04-06 03:40:51 +00:00
jst%mozilla.jstenback.com 21b9cb088d Fixing bug 283897. Make midas state survive document.open/write/close. Regression from bug 283897. r=brade@comcast.net, sr=bzbarsky@mit.edu 2005-04-06 02:22:45 +00:00
bzbarsky%mit.edu dcbfc64478 Attempting to fix Tp regression 2005-04-06 01:23:07 +00:00
bzbarsky%mit.edu 48ba5ce32b Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst
2005-04-05 23:54:35 +00:00
cst%andrew.cmu.edu 856c43eac7 Bug 189982 automatic image resizing: state of the image should be kept after resizing the browser window
r=bz sr=roc
2005-04-05 18:59:22 +00:00
bzbarsky%mit.edu 46d70f86fc 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
2005-04-05 03:28:54 +00:00
mrbkap%gmail.com b2b940da13 bug 286733: Crash when attempting to handle misplaced content inside misplaced content because mContextTopIndex pointed to a closed index already. r=jst sr=rbs 2005-04-04 21:20:00 +00:00
bzbarsky%mit.edu a24aad7dd2 Center the clicked-on point when turning off image zoom. Bug 207219, patch by
Chris Thomas (CTho) <cst@andrew.cmu.edu>, r+sr=roc
2005-03-30 04:29:35 +00:00
mrbkap%gmail.com 85d6f098e9 bug 280044: Pass a title node to the content sinks so that attributes on title don't get lost. r=sicking sr=peterv 2005-03-23 07:09:24 +00:00
peterv%propagandism.org 894e0ed85d Fix for bug 285166: createElement crashes [@ NS_NewHTMLElement] [@ 2005-03-17 20:41:27 +00:00
bzbarsky%mit.edu 1951e8e908 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
2005-03-05 03:35:54 +00:00
jst%mozilla.jstenback.com f642cc93f0 Fixing bug 161587. Make the caller principal carry over to the callee when doing document.open(). r=caillon@gmail.com, sr=brendan@mozilla.org 2005-03-02 23:17:28 +00:00
bzbarsky%mit.edu 08fb911838 Make sure to flush pending notifications as needed when calling
getElementById.  Bug 283468, r+sr=jst
2005-02-28 22:24:17 +00:00
mrbkap%gmail.com 4bda82da6e 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 2005-02-26 04:33:04 +00:00
jst%mozilla.jstenback.com d5804ef8f6 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 2005-02-23 21:27:20 +00:00
gandalf%firefox.pl ea39cd5cbe bug 279768: move dom.properties, MediaDocument.properties to global; r=bsmedberg 2005-02-23 16:53:28 +00:00
jshin%mailaps.org 44c2409acd 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) 2005-02-22 18:25:12 +00:00
bryner%brianryner.com 708a569767 Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky. 2005-02-19 10:31:27 +00:00
doronr%us.ibm.com 4be07d28cc Checked in from wrong tree, backing out, sorry. 2005-02-18 21:28:20 +00:00
doronr%us.ibm.com b15c0e8b75 Bug 279057 - Implement hasFeature for XForms. Patch by smaug, r=bryner/sr=jst 2005-02-18 21:20:27 +00:00
mrbkap%gmail.com 76f3ff6fb1 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 2005-02-18 19:18:39 +00:00
bryner%brianryner.com 851143fbec Remove unneeded nsIContentList interface (bug 280746). r+sr=jst. 2005-02-02 23:16:02 +00:00
mrbkap%gmail.com dfd5017b83 Back out the wallpaper from bug 197015 since a better one has been checked in for bug 220542 (bug 197015, r=jst, sr=bzbarsky) 2005-02-02 02:24:43 +00:00
peterv%propagandism.org 394d760e5a Fix for bug 278505 (Trivial content cleanup). r/sr=bz. 2005-01-23 18:21:34 +00:00
jst%mozilla.jstenback.com 435c455611 Backing out change that slipped in with my last checkin. 2005-01-14 21:45:41 +00:00
jst%mozilla.jstenback.com 6b7d6cec73 Landing fix for bug 198533. Patch by smaug@welho.com. Making nsXULElement inherit nsGenericElement. r=bugmail@sicking.cc, sr=jst@mozilla.org 2005-01-14 19:30:55 +00:00
neil%parkwaycc.co.uk 0d383b2c51 Bustage fix - I missed an NS_ADDREF but peterv spotted my error 2005-01-14 16:19:17 +00:00
neil%parkwaycc.co.uk 5fd8ab307b Fixing startup test bustage - I'd only landed the infrastructure and forgotton to fix the actual bogus QI calls. Oh, and the bug number is 276959 not 286959. 2005-01-14 15:32:58 +00:00
neil%parkwaycc.co.uk 0623a53476 Supplementary fix to bug 286959 to avoid having to QI to a non-interface class (nsGenericHTMLElement) r=bryner sr=jst 2005-01-14 13:28:34 +00:00
bryner%brianryner.com cd3200aa40 Change cache interfaces to use ACString for the key. Bug 277627, r+sr=darin. 2005-01-13 03:25:28 +00:00
bryner%brianryner.com a8073f18a3 Remove nsIHTMLContent interface (bug 276959). r+sr=jst. 2005-01-12 19:45:38 +00:00
bzbarsky%mit.edu 8b54631a06 Keep track of whether a title has been set in the document, not in the sink.
This way we can notice all ways of setting it.  Bug 271996, r=sicking, sr=neil
2005-01-12 02:47:53 +00:00
cbiesinger%web.de 8ab6e0d7d1 bug 264599 make unfrozen necko interfaces use 64-bit integers.
r=darin sr=bz a=asa
2005-01-09 20:43:35 +00:00