4336 Commits

Author SHA1 Message Date
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
darin%meer.net
fb10d59136 fixes bug 323793 "Expose .ping attribute for <a> and <area> elements" r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@188088 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-24 05:48:32 +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
cbiesinger%web.de
e9c2a1f98c bug 323551 make the in-tree cairo compile on beos (if a system-installed
freetype and fontconfig is present)
r=bsmedberg,vlad


git-svn-id: svn://10.0.0.236/trunk@187969 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 15:58:24 +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
cvshook%sicking.cc
ceaf7bdebc Bug 323910: Merge atom lists in gklayout
r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@187798 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 00:58:12 +00:00
roc+%cs.cmu.edu
0dd93ce53e Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@187744 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-18 04:29:17 +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
cbiesinger%web.de
4988bf0fe7 Remove aForceType argument of LoadObject, make it a capability instead
bug 322128 r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186979 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-05 13:30:19 +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
cbiesinger%web.de
aa80ec3c74 bug 314453 Rename ImageURIChanged and ObjectURIChanged to LoadImage and
LoadObject, respectively, in order to make it clear what they do rather than
prescribing when they should be called. r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186776 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-01 11:25:43 +00:00
cvshook%sicking.cc
36a1fa551d Bug 232639: Make nsXULElement::GetAttrNameAt actually work.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@186756 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-30 20:12:35 +00:00
gavin%gavinsharp.com
9a98b84a70 Bug 307616: <input type="image"> with missing image gives "ASSERTION: Form control has a frame, but it's not a form frame", remove bogus assertion, patch by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@186752 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-30 16:50:11 +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
roc+%cs.cmu.edu
74858f37ce Bug 254755. deCOMtaminate nsIFormControlFrame. patch by jpl24, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@185977 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 23:53:06 +00:00
bzbarsky%mit.edu
ca7e6121f6 Make sure to update the sheet even if the URI has not changed if something else
that matters (type, media, etc) has changed.  Bug 303313, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@185844 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-09 19:20:42 +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
bzbarsky%mit.edu
5fb47fd4ff Fix bug 318856 (<hr> attributes not getting the special treatment they
should).  Patch by Marco Perez <bugmail@millibyte.net>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@185659 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-04 16:31:26 +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
jst%mozilla.jstenback.com
95094c0b4b Fixing bug 318106. Stop assertion about setting mutation bits on outer window. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@185396 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 21:51:53 +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
bzbarsky%mit.edu
916a43a789 Make ParseAttribute handle namespaced attributes too, since SVG needs to
ParseAttribute things like xlink:href.  Bug 314568, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@185374 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 16:37:15 +00:00
jst%mozilla.jstenback.com
2f9d94cede Fixing tinderbox orange. Add event listeners on inner windows when processing event attributes on body elements, make sure to use the inner window, not the outer.
git-svn-id: svn://10.0.0.236/trunk@185358 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 01:34:37 +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
joshmoz%gmail.com
4cfd7f22d4 fix totally incorrect comment. b=317035 sr=bz
git-svn-id: svn://10.0.0.236/trunk@185120 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-22 05:20:32 +00:00
joshmoz%gmail.com
a10295766d Remove some nsSupportsArray usage from mozilla/content. b=317035 r=dbaron sr=bz
git-svn-id: svn://10.0.0.236/trunk@185104 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-22 00:24:48 +00:00
masayuki%d-toybox.com
ab0ca2be2d Bug 316867 Should clean up the changed code by bug 55751 and bug 316715 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@184888 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-18 05:22:04 +00:00
masayuki%d-toybox.com
a02398c96d Bug 316715 should enable IME on applet and embed elements r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@184811 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-17 03:36:38 +00:00
bzbarsky%mit.edu
4a2e0b2852 Finish fixing bug 279378 -- land part of patch for it that never quite made it
to the tree.  r=aaronlev, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@184790 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 22:17:58 +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
f52916dfe8 Don't throw on DOM access to parts of an href just because the anchor has an
invalid URI.  Return empty strings instead.  Bug 299088, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@184743 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 02:05:56 +00:00
masayuki%d-toybox.com
6948be6ab9 Bug 55751 Mnemonic doesn't work when IME is on / Bug 113187 Cannot use shortcut of single key(e.g., space key, "/", "'", "F", "N", "B", "P" and "T") if IME is active r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@184612 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 23:55:24 +00:00
masayuki%d-toybox.com
96eaea8614 backing out previous patch b=55751
git-svn-id: svn://10.0.0.236/trunk@184606 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 22:33:39 +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
masayuki%d-toybox.com
6794b16a7b Bug 55751 Mnemonic doesn't work when IME is on / Bug 113187 Cannot use shortcut of single key(e.g., space key, "/", "'", "F", "N", "B", "P" and "T") if IME is active r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@184594 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 21:32:16 +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
1247b9a400 Throw if someone sets .tFoot to something that's not a <tfoot>, and similar
with .tHead.  Bug 301685, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@184395 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 15:46:32 +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