1479 Commits

Author SHA1 Message Date
cvshook%sicking.cc
af34ea4a83 Bug 325404: Get rid of _base_href and _base_target attributes and use properties instead. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@188642 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 04:43:55 +00:00
mrbkap%gmail.com
61c90940c0 When we don't find a </script> tag, we should put the entire rest of the document into the script element, but not execute the script. This also makes serialization not serialize the end tags for scripts that don't have them (to preserve round tripping). bug 305873, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@188619 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 22:19:46 +00:00
mrbkap%gmail.com
b7ece70d44 Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@188516 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-30 23:45:19 +00:00
bzbarsky%mit.edu
83b451451a Make sure first attr always wins, even for <html> and <head>. Bug 324378,
r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@188304 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 01:13:00 +00:00
bzbarsky%mit.edu
d6bd116657 Don't lose text in the head context. Bug 324476, r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@188301 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 01:05:54 +00:00
mrbkap%gmail.com
8b6ba84a47 bug 324738: Remove some unnecessary complexity from the parser and hardcode DTDs. r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@188251 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 19:07: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
31719bf3ba Implement an nsINode interface; move some common stuff from nsIContent and
nsIDocument to nsINode.  Bug 323311, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@187813 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 03:34:18 +00:00
bzbarsky%mit.edu
42fc7c3c0c Fix bug 297801 by making removal and reinsertion of the root element less
magical.  r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@187490 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-12 17:11:57 +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
darin%meer.net
c0e834f3c6 fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz
git-svn-id: svn://10.0.0.236/trunk@186805 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-02 02:30:32 +00:00
mrbkap%gmail.com
f881e6b0f8 bug 321558: document.write into a new window or frame won't set the title of the
new document. Void out the old title so that we know that there hasn't been a
real <title> yet. r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@186720 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-29 20:38:06 +00:00
cvshook%sicking.cc
cf43ff4e7d Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@186678 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-28 21:52:39 +00:00
cbiesinger%web.de
25ded6512e Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186591 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-26 16:45:59 +00:00
timeless%mozdev.org
b5ef4d21fa Bug 320498 Fix NewChannel impls to handle null in argument
r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@186212 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-18 01:50:50 +00:00
mrbkap%gmail.com
50750c8f13 bug 319123: document.close in an external script that is being document.written doesn't close the document and leaks parsers and content sinks and documents. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@185841 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-09 18:50:59 +00:00
jst%mozilla.jstenback.com
b3caccffbd Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@185536 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-01 19:35:27 +00:00
mrbkap%gmail.com
1d00d9984d bug 317370: Remove the vestigial aRemoveEventListeners parameter to SetNewDocument. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@185476 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-30 23:41:49 +00:00
bzbarsky%mit.edu
cf434cba7f Remove content ids. Bug 166637, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@185376 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 16:47:18 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
timeless%mozdev.org
f9bdb44b34 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185269 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 08:16:51 +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
b1c4a358ab Remove aForce arg for ID table modifications. Bug 315770, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@184602 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 22:05:03 +00:00
mrbkap%gmail.com
6b9c2499d9 bug 316049: We need to hold strong refs so that flushing doesn't nuke our presshell. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@184476 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 20:33:11 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
cvshook%sicking.cc
9fe570c5d5 Bug 312592: Reduce amount of duplicated code in html contentsink.
r=mrbkap sr=peterv


git-svn-id: svn://10.0.0.236/trunk@184399 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 15:51:10 +00:00
bzbarsky%mit.edu
634027a710 Fix trunk-only GetElementById regression. Bug 311681, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@184371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-09 21:52:06 +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
mrbkap%gmail.com
12e878ae6e bug 312363: Use the security info of the dynamic context instead of the static context. r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@184115 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-03 22:47:06 +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
cvshook%sicking.cc
b26f9f52fb Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +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
cvshook%sicking.cc
4c3b0d8f16 Fix buildbustage due to bad merge conflict. Hail to nsDerivedSafe!
git-svn-id: svn://10.0.0.236/trunk@182700 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 15:59:13 +00:00
cvshook%sicking.cc
f95c92ff95 Bug 311785: Simplify the nsIHTMLContentSink interface
r=mrbkap sr=peterv


git-svn-id: svn://10.0.0.236/trunk@182699 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 15:39:06 +00:00
bzbarsky%mit.edu
011ce4236b Make sure to only treat the outermost frameset as body-like. Bug 312942, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@182570 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 02:12:20 +00:00
roc+%cs.cmu.edu
3aa042c0b4 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
git-svn-id: svn://10.0.0.236/trunk@182487 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 20:33:35 +00:00
bzbarsky%mit.edu
1c8be4844e Make sure to notify for frameset like we do for body. Bug 312097, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@182272 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 21:48:33 +00:00
peterv%propagandism.org
8c33ea74e1 Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@182242 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 09:07:29 +00:00
cvshook%sicking.cc
103f17eb41 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


git-svn-id: svn://10.0.0.236/trunk@181785 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-07 20:20:52 +00:00
bzbarsky%mit.edu
5615bc55af 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


git-svn-id: svn://10.0.0.236/trunk@181315 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 20:06:33 +00:00
dveditz%cruzio.com
1608acdf38 locationless windows need hostname in titlebar (match 1.0x -- bug 304388) r=mconnor/jruderman, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@181295 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 18:51:46 +00:00
bzbarsky%mit.edu
cbda596f93 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


git-svn-id: svn://10.0.0.236/trunk@180938 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 01:27:42 +00:00
peterv%propagandism.org
86ac4d2e8f Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@180911 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-24 18:43:15 +00:00
cbiesinger%web.de
90e318b6fe bug 309702 handle a missing presshell gracefully (happens for display:none
iframes)
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@180870 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 17:35:08 +00:00
mrbkap%gmail.com
af75b509d1 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
git-svn-id: svn://10.0.0.236/trunk@180834 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-22 23:01:33 +00:00
bzbarsky%mit.edu
33eede8798 Pass a boolean indicating whether we've sent a ContentInserted or
ContentAppended notification to DoneAddingChildren.  Bug 309534, r=mrbkap,
sr=jst


git-svn-id: svn://10.0.0.236/trunk@180787 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-22 02:33:36 +00:00
cbiesinger%web.de
054912c09e 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


git-svn-id: svn://10.0.0.236/trunk@180762 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 19:14:30 +00:00
mrbkap%gmail.com
9d34c156e2 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
git-svn-id: svn://10.0.0.236/trunk@180756 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 18:11:05 +00:00
mrbkap%gmail.com
8845072107 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
git-svn-id: svn://10.0.0.236/trunk@180340 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 00:19:14 +00:00
timeless%mozdev.org
cb6d168fcc Bug 308573 use if (NS_FAILED(...)) instead of if NS_FAILED(...)
patch by b.jacques@planet.nl r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@180324 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-15 23:17:17 +00:00