Commit Graph

9724 Commits

Author SHA1 Message Date
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
jwatt%jwatt.org
0c362b884a Fixing bug 308734. Limit the values we accept for currentScale. r+sr=tor@acm.org 2005-09-30 18:51:43 +00:00
masayuki%d-toybox.com
54ff675c1a Bug 99224 document.lastModified should be localized r=jst+jshin, sr=brendan 2005-09-30 14:42:55 +00:00
timeless%mozdev.org
e09152a773 Bug 290422 ''usemap'' attribute for IMG tags work without a needed "#" before inline maps.
patch by bugzilla@philringnalda.com r=bz sr=bz
2005-09-30 03:51:58 +00:00
bzbarsky%mit.edu
f7b86680d1 Failure to open a channel in a stream loader should just make init() throw.
Bug 310319, r+sr=darin
2005-09-29 22:00:26 +00:00
bzbarsky%mit.edu
49f19ed0b7 Removing the "multiple" attribute should deselect all but one option. Bug
297172, r+sr=peterv
2005-09-29 14:30:32 +00:00
scott%scott-macgregor.org
30dfb66312 Bug #282103 --> Dynamic Overlays.
If LoadOverlayInternal returns an error, then make sure we remove the overlay observer from our hash table
to prevent a memory leak.

sr=bz
2005-09-28 19:50:39 +00:00
allan%beaufour.dk
63413f73f4 option and optgroup should match :enabled/:disabled too. Bug 306620, r+sr=bzbarsky 2005-09-28 08:32:40 +00:00
bzbarsky%mit.edu
d9d40b5770 Attempt to fix splitwindow focus stuff -- bug 305032. Issue found by mrbkap,
patch by me, r=mrbkap, sr=jst
2005-09-28 02:44:16 +00:00
aaronleventhal%moonset.net
b02e6dc415 Bug 309704. Keyboard-only users get stuck in plugins (applet/embed should only be focusable, not tabbable). r=bryner, sr=bz 2005-09-28 02:20:51 +00:00
scott%scott-macgregor.org
d52b5620b8 Bug #307160 --> Leak in XUL template builder caused by bug 285076
This always uses aContainer returned by CreateTemplateContents. If CreateTemplateContents
returns null for the container then we end up using the value returned by
CreateContainerContents.

r=enndeakin
sr=bz
2005-09-27 17:50:49 +00:00
peterv%propagandism.org
a91a09cd13 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null), remove some includes. Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-26 14:37:29 +00:00
allan%beaufour.dk
9d4a1cc361 Changing attributes on input called AfterSetAttr too many times. Bug 307249, r+sr=bzbarsky 2005-09-26 07:57:59 +00:00
mozilla.mano%sent.com
370f4cb779 Bug 309227 - Support for mousewheel.withmetakey.*/mousewheel.horizontal.withmetakey.*. r=mento, sr=neil. 2005-09-26 03:38:29 +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
peterv%propagandism.org
bf92bc7bab Fix for bug 307245 (ASSERTION: FormatStringFromName() without format parameters: use GetStringFromName() instead: 'aParams && aLength' @ nsStringBundle::FormatStringFromName(). r/sr=jst. 2005-09-24 17:38:20 +00:00
bzbarsky%mit.edu
a968a0250c Make sure to root the function object we compile in
nsXBLPrototypeHandler::ExecuteHandler.  r=jst, sr=brendan
2005-09-24 02:33:33 +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
bzbarsky%mit.edu
242b21fdb5 Don't notify on nsAttributeTextNode::BindToTree. Bug 309107, r+sr=jst 2005-09-23 14:46:24 +00:00
dbaron%dbaron.org
48c2f06d5d Fix cascading for frame attribute. b=309675 r+sr=bzbarsky 2005-09-23 05:02:42 +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
aaronleventhal%moonset.net
42cd906430 Bug 305985. After clicking in blank content area, focus stays in some widgets when it should have left. r=mats, sr=bryner 2005-09-22 22:07:31 +00:00
cbiesinger%web.de
6cfcdb525f bug 309642 make NS_CP_GetDocShellFromContext(nsISupports*) inline rather than
static to avoid compile warnings
r+sr=jst
2005-09-22 20:24:31 +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
bzbarsky%mit.edu
594e733c16 Remove silly warning in GetDocShell impls, and use the principal (which we
should always have) instead of the docshell for chrome vs content
determination.  Bug 51962, r+sr=jst
2005-09-22 02:10:07 +00:00
bryner%brianryner.com
0c8835f9d7 Change nsIDOMNSEditableElement to be a standalone interface that's not reflected through classinfo. Bug 303727, r+sr=jst. 2005-09-21 22:02:26 +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
bzbarsky%mit.edu
7e68ec3e78 Forgot to address review comment... Bug 309141 2005-09-21 00:37:41 +00:00
tor%cs.brown.edu
261cbf1ce5 Build bustage fix from 307322. 2005-09-20 17:07:14 +00:00
tor%cs.brown.edu
48cad43b58 Bug 307322 - stop <svg:use> loop recursion. r=bz 2005-09-20 15:40:57 +00:00
dbaron%dbaron.org
6c3f2cec58 Hold a strong pointer to this while breaking circular references. b=306915 r=enndeakin sr=bzbarsky 2005-09-20 05:15:03 +00:00
bzbarsky%mit.edu
05b30c0a52 Make sure to update state properly for nsGenConImageContent. Bug 309141,
r=biesi, sr=dbaron
2005-09-20 02:05:48 +00:00
bzbarsky%mit.edu
e7a8cf11ab More Tp regression-fixing for bug 11011. r=biesi, pending sr=roc 2005-09-18 21:06:19 +00:00
jwatt%jwatt.org
d7a4dd3ee7 Correcting checking of fix for bug 258410. Fix dynamic matrix transforms. Patched by alex@croczilla.com, r=me 2005-09-18 19:49:12 +00:00
bzbarsky%mit.edu
0346043b72 Attempt to fix Tp regression from bug 11011. Pending r=biesi, sr=roc. 2005-09-18 19:46:20 +00:00
bzbarsky%mit.edu
608088a431 Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds.  Bug 11011, r=biesi and roc, sr=dbaron
2005-09-18 18:05:40 +00:00
masayuki%d-toybox.com
9510a1b16c Bug 105894 Clicking a partially off-screen link shouldn't scroll the page r+sr=roc 2005-09-18 11:32:52 +00:00
dbaron%dbaron.org
ab485465b8 Fix infinite loops in nsGenericElement::List (DEBUG-only). b=308920 r+sr=peterv 2005-09-17 17:06:27 +00:00
jwatt%jwatt.org
5bb96a57d0 Fixing bug 258410. Fix dynamic matrix transforms. Patched by alex@croczilla.com, r=me 2005-09-16 22:49:06 +00:00
bzbarsky%mit.edu
19d2add95a Keep the results of EvaluateStringWithValue properly alive while we're using
them, and make sure we don't GC the xbl property getter when we create the
setter.  Bug 299205, r=jst, sr=brendan
2005-09-16 15:44:59 +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
mark%moxienet.com
b0d475ff4b Bug 299419, crash [@ nsEventStateManager::FireContextClick]. Check for null pres shell. r+sr=roc 2005-09-16 00:05:39 +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
scootermorris%comcast.net
062fafbcec Fix for Bug 302640 -- hasFeature for SVG DOM implementation yields true with native SVG disabled
r=jwatt
2005-09-14 23:30:37 +00:00
mats.palmgren%bredband.net
201de18c1d Crash if JavaScript close() is executed from onchange handler. b=308025 r+sr=bzbarsky 2005-09-14 05:03:20 +00:00
scootermorris%comcast.net
31c2f50383 Bug 294517 -- implement SVG Patterns
r=tor
2005-09-13 22:38:36 +00:00
Olli.Pettay%helsinki.fi
74b4cd1e91 Bug 305678, Cleaning up element implementations. Removing nsXULElement::InsertChildAt and nsXULElement::AppendChildTo. r=bz, sr=jst 2005-09-13 20:01:45 +00:00
gerv%gerv.net
35149ea17d Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-09-13 18:40:56 +00:00
Olli.Pettay%helsinki.fi
40bb760a55 Bug 202764, nsXULDocument::HandleDOMEvent can go away. r=jst, sr=bz 2005-09-13 16:18:23 +00:00
tor%cs.brown.edu
fe08f4a1e0 Bug 308180 - feComponentTransfer type discrete not stepping properly.
r=scooter
2005-09-12 23:08:09 +00:00
bzbarsky%mit.edu
818aafcc15 Improve the CSSLoader API: make it clear which methods return results
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded.  Bug 293825, r+sr=peterv
2005-09-12 18:41:15 +00:00
tor%cs.brown.edu
2785cbaf00 Bug 307565 - crash when filtering nothing, or <feMerge> with no children.
r=scootermorris
2005-09-12 16:16:37 +00:00
bzbarsky%mit.edu
1e583ff98f Fix bug 307600 for XTF and XUL too. r+sr=peterv 2005-09-12 14:48:57 +00:00
peterv%propagandism.org
6a14cffd01 Trying to fix for balsa orange (from the fix for bug 251025). Patch by bz, r/sr=peterv. 2005-09-12 09:18:48 +00:00
peterv%propagandism.org
8bcf86354a Follow-up to fix for bug 251025, make Clone/CloneContent const again. 2005-09-12 07:34:25 +00:00
bzbarsky%mit.edu
84999b62be More use of EmptyString(). Bug 232691, patch by Vidar Braut Haarr
<vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-12 01:28:51 +00:00
bzbarsky%mit.edu
fa885dfb79 Forgot file. Bug 307600 2005-09-11 19:37:04 +00:00
bzbarsky%mit.edu
81a57e27f2 Implement an AttrValueIs method on nsIContent which can be used to quickly
check whether a given attribute has a given value.  Use it in
nsContentList::NamedItem.  Bug 307600, r+sr=jst
2005-09-11 19:20:08 +00:00
peterv%propagandism.org
a1fc672126 Remove obselete include (bad merge). 2005-09-11 18:28:14 +00:00
peterv%propagandism.org
2aa12ff13b Make nsGenericDOMDataNode::Clone pure virtual, suggestion by biesi. 2005-09-11 18:24:30 +00:00
peterv%propagandism.org
dabf32c2b6 Remove duplicate function (bad merge). 2005-09-11 18:22:06 +00:00
peterv%propagandism.org
85b8cff6bc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 17:15:08 +00:00
peterv%propagandism.org
efa08d1916 Back out fix for bug 251025 to fix bustage. 2005-09-11 15:42:31 +00:00
peterv%propagandism.org
86ca4e41cc Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 15:05:31 +00:00
peterv%propagandism.org
28e03d4aa6 Fix for bug 106796 (Improve GetNameSpaceID() performance). r/sr=jst. 2005-09-11 11:24:16 +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
mats.palmgren%bredband.net
1d37c1a0e6 Make nsHTMLFormatConverter deal with an empty source string. Don't add an URL dataflavor if the source URI is empty. b=303818 r+sr=bzbarsky 2005-09-10 11:39:32 +00:00
mats.palmgren%bredband.net
4360d3062d Don't process events for -moz-user-input:none/disabled also when element is replaced by ALT content. b=307756 r+sr=bzbarsky 2005-09-10 11:02:14 +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
bryner%brianryner.com
03adfcb744 Supply a scriptable interface for accessing the nsIEditor (and therefore the anonymous div) an HTML input or textarea. Bug 303727, r+sr=jst 2005-09-07 18:19:26 +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
tor%cs.brown.edu
36c76bbadd Bug 301234 - implement subset of SVG filters. r=scooter 2005-09-06 22:30:40 +00:00
aaronleventhal%moonset.net
4e2b2e9ee4 Bug 305032. Fix various situation where focus is confused and commands get disabled/grayed out. r+sr=bryner 2005-09-06 22:27:41 +00:00
aaronleventhal%moonset.net
e03346aeb1 Bug 307153. Follow up to last checkin with the correct null checks added. r+sr=bryner 2005-09-06 19:54:55 +00:00
aaronleventhal%moonset.net
9c760049a1 Bug 307153. Focus lost after dialogs closed. r+sr=bryner, a=schrep 2005-09-06 19:41:31 +00:00
brendan%mozilla.org
b03abf03d2 Add JS1.6 support, moving E4X and Array extras there (306664, r/sr=mrbkap/shaver). 2005-09-06 17:43:36 +00:00
jwatt%jwatt.org
db8d96505a Fixing bug 282217. SVG <title> doesn't have the same effect as <html:title>. r+sr=bzbarsky@mit.edu 2005-09-06 02:17:22 +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
jwatt%jwatt.org
5611f69855 Fixing bug 293224. Matrix from getScreenCTM should be to initial viewport space. r+sr=tor@acm.org 2005-09-06 00:08:10 +00:00
tor%cs.brown.edu
b69ab62c9b Bug 294519 - should behave the same when SVG not built, SVG pref
disabled, or no SVG renderer present.  r=dbaron, a=asa
2005-09-05 20:41:57 +00:00
roc+%cs.cmu.edu
60903ce73c Bug 306222. Make nsIFrame::GetContentAndOffsetsFromPoint, and nsIFrameSelection::HandleDrag, take coordinates relative to the current frame, not some random view. r+sr=roc,patch by Eli Friedman 2005-09-04 20:04:23 +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
vladimir%pobox.com
83a13e3c79 b=306088, followup check for partial parse of a number, a=brendan 2005-09-02 23:32:36 +00:00
scott%scott-macgregor.org
5a0b7f2d3c Bug #285076 --> XUL Template Builder isn't working with Dynamic overlays
nsXULContentBuilder::CreateContents should fire content appended notifications.

sr=bz
2005-09-02 21:30:20 +00:00
vladimir%pobox.com
91290f814b b=306881, fix canvas pattern repeat, r=stuart 2005-09-02 21:16:22 +00:00
vladimir%pobox.com
1aed554cfa b=306088, simplify nssvgtransformlist::setvaluestring, r=tor 2005-09-02 20:24:24 +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
neil%parkwaycc.co.uk
fda95dd5cf Bug 306686 Make / start FAYT even when it's Shift+7 also make menus and xbl agree on the legal modifier token delimiters p=dainis_jonitis@swh-t.lv r=bz sr=me 2005-09-02 15:54:27 +00:00
bzbarsky%mit.edu
a3127c2331 Restore disabled state for all form controls. Bug 306616, r+sr=peterv 2005-09-01 18:58:31 +00:00
aaronleventhal%moonset.net
912a94a7dc Bug 305833. Context menu on bookmark right click is dead. r=mats, sr=bryner 2005-09-01 18:18:08 +00:00
allan%beaufour.dk
bd4e008345 Ooops, part of bug 306620 sneaked in together with the checkin for bug 306614 2005-09-01 17:07:12 +00:00
allan%beaufour.dk
e6f47c8c67 fieldset should not match :enabled/:disabled. Bug 306614, r+sr=bzbarsky 2005-09-01 16:49:36 +00:00
bryner%brianryner.com
1194334ac1 Fix for crashes in document.addBinding():
- Don't allow the old binding to go away as we insert the new binding into the chain.
- When swapping the nsXBLInsertionPoint array for a content node, remove any entries from the old list that are also in the new list, so that we don't delete them.

Bug 296375, r+sr=bzbarsky.
2005-09-01 04:38:29 +00:00
pavlov%pavlov.net
2844aa2ba0 adding support for toDataURL and toDataURLAs on canvas. bug 245684. patches from Brett Wilson <brettw@gmail.com>. r=me, sr=vlad 2005-08-31 22:16:51 +00:00
mats.palmgren%bredband.net
377c6c9a64 Implement HTML4 align=middle according to spec. Correct the DOM attribute value mapping for some of the other values as well. b=192077 r+sr=dbaron 2005-08-30 22:46:45 +00:00
scott%scott-macgregor.org
adfb499dd1 Bug #282103 --> minor dynamic overlay improvements.
Add IDL documentation stating that it's ok to pass in a null observer to LoadOverlay
Make sure .Init() succeeds on our hashtables, otherwise return an out of memory error code.

r/sr=bz
2005-08-30 21:57:01 +00:00