Commit Graph

4454 Commits

Author SHA1 Message Date
joshmoz%gmail.com
4c7cb54832 Remove some nsSupportsArray usage from mozilla/content. b=317035 r=dbaron sr=bz 2005-11-22 00:24:48 +00:00
masayuki%d-toybox.com
fd5514c77b Bug 316867 Should clean up the changed code by bug 55751 and bug 316715 r+sr=roc 2005-11-18 05:22:04 +00:00
masayuki%d-toybox.com
be13856823 Bug 316715 should enable IME on applet and embed elements r+sr=roc 2005-11-17 03:36:38 +00:00
bzbarsky%mit.edu
8e00aebaa2 Finish fixing bug 279378 -- land part of patch for it that never quite made it
to the tree.  r=aaronlev, sr=bryner
2005-11-16 22:17:58 +00:00
bzbarsky%mit.edu
b7345ce6a8 Switch the name and id hashtable from strings to atoms. Atomize names in
general.  Bug 315771, r=sicking, sr=jst
2005-11-16 02:55:29 +00:00
bzbarsky%mit.edu
e28b1599b2 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
2005-11-16 02:05:56 +00:00
masayuki%d-toybox.com
7e718780b3 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 2005-11-14 23:55:24 +00:00
masayuki%d-toybox.com
3767450b23 backing out previous patch b=55751 2005-11-14 22:33:39 +00:00
bzbarsky%mit.edu
7ae29c9709 Remove aForce arg for ID table modifications. Bug 315770, r=sicking, sr=jst 2005-11-14 22:05:03 +00:00
masayuki%d-toybox.com
94e3cfbe0c 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 2005-11-14 21:32:16 +00:00
mrbkap%gmail.com
aa6cb74938 bug 316049: We need to hold strong refs so that flushing doesn't nuke our presshell. r+sr=jst 2005-11-11 20:33:11 +00:00
bsmedberg%covad.net
78f6d0683d 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 2005-11-11 14:36:26 +00:00
cvshook%sicking.cc
4660644188 Bug 312592: Reduce amount of duplicated code in html contentsink.
r=mrbkap sr=peterv
2005-11-10 15:51:10 +00:00
bzbarsky%mit.edu
c95f75f97f Throw if someone sets .tFoot to something that's not a <tfoot>, and similar
with .tHead.  Bug 301685, r+sr=peterv
2005-11-10 15:46:32 +00:00
bzbarsky%mit.edu
cc66f0bcb5 Fix trunk-only GetElementById regression. Bug 311681, r=sicking, sr=jst 2005-11-09 21:52:06 +00:00
bzbarsky%mit.edu
06dc79df0f 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
2005-11-08 22:45:49 +00:00
mrbkap%gmail.com
1bcf4e73fc bug 312363: Use the security info of the dynamic context instead of the static context. r=jst sr=bzbarsky 2005-11-03 22:47:06 +00:00
dbaron%dbaron.org
4cc9efed8f Back out 311569; see bug for discussion. 2005-11-03 16:35:28 +00:00
bzbarsky%mit.edu
d44ad313ae Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
cbiesinger%web.de
ac00cddace bug 309706
- Add some logging to nsObjectLoadingContent
- Add a StopPlugin() method to nsIObjectFrame
  - Make use of that in PrepareInstanceOwner, so that loading a new plugin in
    the same frame works as expected
- Initialize <applet> and <embed> elements to eType_Loading, so that the type is
  only eType_Plugin if mURI and mContentType are valid

r+sr=bz
2005-10-31 18:28:56 +00:00
bzbarsky%mit.edu
07620aae6a Fix bug 314255 -- invalidating the canvas frame shouldn't need a layout flush.
r=vlad, sr=roc
2005-10-29 14:47:45 +00:00
cbiesinger%web.de
8afaa18779 bug 314091 Fix users of mozAutoDocUpdate to actually declare a local variable,
so that the destructor doesn't get called immediately
r+sr=bz
2005-10-29 12:54:24 +00:00
cvshook%sicking.cc
64a0fbd45f Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu
f6bc1aeee3 Fix build bustage 2005-10-28 03:11:53 +00:00
bzbarsky%mit.edu
ddfee5f052 Combine various SetAttr implementations so that we just have
nsGenericElement::SetAttr.  Bug 308270, r=sicking, sr=jst
2005-10-28 02:59:38 +00:00
peterv%propagandism.org
0a629d03bb Fix for bug 264308 (Implement DOM Level 3 UserData API). r/sr=jst. 2005-10-27 14:09:23 +00:00
bzbarsky%mit.edu
0d5a3e6aa7 Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2005-10-27 02:25:23 +00:00
bzbarsky%mit.edu
0e97132ac9 Remove JS hacks in marquee and just rely on the attribute mapping code. Bug
313642, patch by Martijn Wargers <martijn.martijn@gmail.com>, r=doron,
sr=bzbarsky
2005-10-26 20:23:56 +00:00
bzbarsky%mit.edu
38f8530cec Handle marquee stylistic attributes via attribute mapping. Bug 163505, patch
by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=bzbarsky
2005-10-23 22:47:58 +00:00
bzbarsky%mit.edu
5f45dcf4fd Fix bug 177269 -- radio groups should have case-insensitive names. Patch by
limonan <limonan@ccoss.com.cn>, r+sr=jst
2005-10-21 22:32:27 +00:00
cvshook%sicking.cc
a2d0967005 Fix buildbustage due to bad merge conflict. Hail to nsDerivedSafe! 2005-10-21 15:59:13 +00:00
cvshook%sicking.cc
7c5d7d56eb Bug 311785: Simplify the nsIHTMLContentSink interface
r=mrbkap sr=peterv
2005-10-21 15:39:06 +00:00
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
tor%cs.brown.edu
5170cdd270 Bug 311569 - font-size within style attributes does not work without units.
Patch by longsonr@gmail.com, r=sicking, sr=jst.
2005-10-18 18:48:32 +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
cbiesinger%web.de
75906ac09b bug 311908 try to instantiate <embed> plugins even when there is no src attribute
r+sr=bz
2005-10-12 18:35:45 +00:00
Olli.Pettay%helsinki.fi
cde8aaf024 Bug 306974, Remove some duplicate event dispatching code r=sicking, sr=peterv 2005-10-10 18:38:57 +00:00
bzbarsky%mit.edu
b3f9b51f10 Make sure that <applet> with no code falls back and that fallback notifies as
needed.  Bug 311674, r=biesi, sr=peterv
2005-10-10 12:28:21 +00:00
bryner%brianryner.com
48082c9284 Speed up matching class rules by caching the class attribute, rather than looking it up for each rule. Remove HasClass now that it's no longer needed. Bug 310236, r+sr=dbaron. 2005-10-08 23:06:27 +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
bryner%brianryner.com
4a968165ad Make sure plugin focus logic only apples for applet, object, and embed elements. Bug 311111, r+sr=bzbarsky. 2005-10-04 23:43:54 +00:00
aaronleventhal%moonset.net
36778b8ea0 Bug 310626. Flash text input broken. r+sr=bryner 2005-10-03 19:29:52 +00:00
jst%mozilla.jstenback.com
742748af3a Fixing bug 309348. Don't drop pending form submissions when handling click events even if the event handler drevented the default action. r=bryner@brianryner.com, sr=bzbarsky@mit.edu 2005-09-30 22:56:49 +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
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
49f19ed0b7 Removing the "multiple" attribute should deselect all but one option. Bug
297172, r+sr=peterv
2005-09-29 14:30:32 +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
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
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
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
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
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
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
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
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
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
peterv%propagandism.org
8bcf86354a Follow-up to fix for bug 251025, make Clone/CloneContent const again. 2005-09-12 07:34:25 +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
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
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
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
a3127c2331 Restore disabled state for all form controls. Bug 306616, r+sr=peterv 2005-09-01 18:58:31 +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
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
bzbarsky%mit.edu
fd98f06afb Implement :enabled and :disabled CSS pseudo-classes. Bug 84400, patch by Allan
Beaufour <allan@beaufour.dk>, r+sr=bzbarsky
2005-08-30 03:31:47 +00:00
cbiesinger%web.de
5f30ec027c Bug 306260 call methods of the direct base class, instead of
nsGenericHTMLElement
r+sr=bz
2005-08-29 11:06:19 +00:00
bzbarsky%mit.edu
1ab38be416 Fix comment per my review comments. Bug 305640. 2005-08-27 05:16:06 +00:00
aaronleventhal%moonset.net
bad4dee397 Bug 305840. Focus problems with XUL textbox, causing problems in findbar, help and address bar because of exception thrown. Patch by Mats Palmgren. r=aaronleventhal, sr=bryner 2005-08-26 18:45:23 +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
smontagu%smontagu.org
b90844e965 Bug 300270: GetDir() returns empty string instead of 'ltr' or 'rtl'. r=sicking, sr=jst 2005-08-25 06:49:53 +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
aaronleventhal%moonset.net
0e50b0115b Bug 303620. Focus system goes haywire when focus changed in onblur or onchange handler. r=mats, sr=bryner 2005-08-24 19:06:07 +00:00
bryner%brianryner.com
3e1a97546e Fix for focus-stealing via blur(). Bug 299677, patch by martijn.martijn@gmail.com, r=me, sr=jst. 2005-08-24 06:10:44 +00:00
roc+%cs.cmu.edu
6377fe1d40 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman 2005-08-23 03:57:07 +00:00
jst%mozilla.jstenback.com
b1d774f838 Fixing bug 277434. Make object.type comply with the DOM spec again and expose the actual mimetype as .actualType on an interface that's *not* exposed w/o explicit QI. r+sr=bzbarsky@mit.edu 2005-08-22 23:44:55 +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
bzbarsky%mit.edu
a522e7083c Restore some frame recursion protection that got lost. Bug 303163, r+sr=jst 2005-08-22 15:44:49 +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
bzbarsky%mit.edu
9df2704ed9 Make sure that non-image inputs don't claim to have a useful image via
nsIImageLoadingContent.  Bug 301635, r=biesi, sr=jst
2005-08-19 14:55:07 +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
bzbarsky%mit.edu
38f78e3899 Make content lists smarter about match functions that don't actually depend on
attributes.  Bug 299703, r+sr=jst
2005-08-16 01:43:53 +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
bzbarsky%mit.edu
8145e9fc00 Don't leak radio visitors through shutdown. Bug 302706, r+sr=jst 2005-08-15 02:42:59 +00:00
bzbarsky%mit.edu
8a248261af Make table.rows["rowid"] work like it should. Bug 295561, r+sr=jst 2005-08-15 02:34:21 +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
roc+%cs.cmu.edu
c3ea09b7b0 Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there. 2005-08-10 20:21:44 +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
jst%mozilla.jstenback.com
8c2bc6fcb8 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers 2005-07-30 20:57:07 +00:00
bzbarsky%mit.edu
3b4cb4864d Fix firing of mutation events on buttons. Bug 288721, r+sr=jst, a=bsmedberg 2005-07-28 16:16:09 +00:00
bzbarsky%mit.edu
a9d9597368 Disable just the script loader during innerHTML sets, not all script
execution.  Bug 299231, r=sicking, sr=peterv, a=bsmedberg
2005-07-26 15:40:25 +00:00
timeless%mozdev.org
d954808c1c Bug 301675 : default value of size DOM attribute of HTMLSelectElement should be 0 when the attribute is missing,
patch by Anne van Kesteren <bug@annevankesteren.nl>
r+sr=bzbarsky, a=bsmedberg

fixing this correctly instead of incurring build bustage by removing the previous definition
2005-07-26 08:11:42 +00:00
gavin%gavinsharp.com
b21c71adbf backing out last patch 2005-07-26 08:08:22 +00:00
gavin%gavinsharp.com
55f1d39635 Bug 301675 : default value of size DOM attribute of HTMLSelectElement should be 0 when the attribute is missing, patch by Anne van Kesteren <bug@annevankesteren.nl>, r+sr=bzbarsky, a=bsmedberg 2005-07-26 07:45:05 +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
bryner%brianryner.com
83216585ac Change PageShow/PageHide events to be lowercase and hook them up so that onpageshow= works on the body tag. Bug 297887, patch by brettw@gmail.com, r=me, a=bsmedberg. 2005-07-25 22:09:39 +00:00
aaronleventhal%moonset.net
c188efadf0 Bug 300783. Fix unsafe firing of events and perf regression for multi select in HTML listboxes. r+sr=bz, a=mkaply 2005-07-25 21:40:31 +00:00
timeless%mozdev.org
b68005a043 Bug 298875 align=right should not be applied to input elements with a type other than image
patch by martijn.martijn@gmail.com r=bz sr=bz a=asa
2005-07-20 23:24:28 +00:00
bzbarsky%mit.edu
0df391c168 Deal better with innerHTML for documents whose types we don't have encoders
for.  Bug 155723, r+sr=jst, a=bsmedberg
2005-07-19 21:11:07 +00:00
bzbarsky%mit.edu
ca7e31d8ab Fix serialization of innerHTML in XML documents. Bug 155723, r=sicking,
sr=jst, a=bsmedberg
2005-07-15 22:45:14 +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
aaronleventhal%moonset.net
37551fbadf Bug 290354. Support multiple selection. r=timeless, sr=bryner, a=asa 2005-07-14 14:20:21 +00:00
jshin%mailaps.org
fcf7e6f914 bug 224820 : support UTF-16/32 (non-byte oriented char. encoding) in the form submission : r=biesi, sr=bz, a=asa 2005-07-13 16:55:59 +00:00
bzbarsky%mit.edu
670b519b89 Fix rules="none" regression for tables. Bug 299723, r+sr=dbaron, a=asa 2005-07-07 17:14:36 +00:00
jst%mozilla.jstenback.com
c28b2e4aa2 Fixing bug 277434. Make setting element.type on a plugin element (object or embed) set the 'type' attribute as well. r=bugmail@sicking.cc, sr=peterv@propagandism.org, a=benjamin@smedbergs.us 2005-06-30 01:23:12 +00:00
mats.palmgren%bredband.net
f04a34f8aa Don't resolve <form action=""> to the base uri. b=297761 r+sr=jst a=chofmann 2005-06-28 23:22:28 +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
mats.palmgren%bredband.net
293246508e Stop trying to observe content changes for the selected option, instead rely on getting a combobox reflow if it changed. b=297389 r+sr=roc a=asa 2005-06-21 00:00:14 +00:00
mats.palmgren%bredband.net
05cc19b763 Adjust current index of combobox when options are added or removed. b=286170 r+sr=bzbarsky a=asa 2005-06-20 23:26:35 +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
4ec259ce0c bug 293162: Textarea's innerHTML shouldn't treat the HTML as text. r=peterv sr=jst a=shaver 2005-06-16 21:23:24 +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
joshmoz%gmail.com
33b4f10224 bug 297338: Textareas lose the final chunk of text if the default contents are longer than 4096 characters long. r+sr=jst a=dbaron, patch by Blake Kaplan <mrbkap@gmail.com> 2005-06-16 00:41:50 +00:00
bryner%brianryner.com
e4a343f08f Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver. 2005-06-15 23:52:46 +00:00
dbaron%dbaron.org
f00b4902e7 Implement the same block-alignment behavior for align=left (which matters only for RTL) that we do for center and right. b=64510 r+sr=roc a=asa 2005-06-15 23:45:06 +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
bzbarsky%mit.edu
4b8823720e Add an nsIContent api for getting the intrinsic state of the content; this can
be used to implement more pseudo-classes (eg CSS3 UI ones for XForms).  Bug
296309, r+sr=dbaron, a=chofmann
2005-06-03 02:02:45 +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
bzbarsky%mit.edu
4e94a19a4d Make sure to Reset() if our default value changes and we haven't had our value
change.  Bug 215228, r+sr=peterv, a=chofmann
2005-06-02 02:30:09 +00:00
mrbkap%gmail.com
5aed97795a bug 287990: Bring back <plaintext> support. This supports it "properly" (i.e., no end tag). r=jst sr=dbaron a=shaver 2005-06-01 22:11:30 +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
aaronleventhal%moonset.net
94d23dfa0d Bug 294180. MSAA positional descriptions wrong for radio buttons in HTML form. r=timeless, sr=bz, a=chofmann 2005-05-17 21:50:27 +00:00
vladimir%pobox.com
0b6a9e70f8 b=293267, fix canvas rendering speed, r+sr=bz,a=shaver 2005-05-12 21:34:56 +00:00
bzbarsky%mit.edu
3bfa5db241 Fix bug 293588 -- make sure to not store form data in the wrong session history
entry.  r+sr=bryner, a=brendan
2005-05-12 20:53:33 +00:00
bzbarsky%mit.edu
89a44115b0 Remove unused variable. r=timeless, sr=lumpy, a=asa 2005-05-10 23:41:48 +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
vladimir%pobox.com
63a34084c8 b=293407, canvas uses wrong frame type; 293306, canvas leaks memory; 293225, default canvas height should be 150, r+sr=bzbarsky,a=shaver 2005-05-10 00:28:30 +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
vladimir%pobox.com
de01b09320 b=291216, canvas should not be an empty element, default width/height, fallback content should not be rendered, r+sr=bzbarsky, a=brendan/shaver 2005-05-07 03:45:06 +00:00
bryner%brianryner.com
c230c4be03 Don't notify form submit observers if the form can't be submitted due to not having a link handler. Also, make sure all nsIFormSubmitObserver implementations protected against a null DOMWindow. Bug 292960, r+sr=bzbarsky, a=brendan. 2005-05-07 00:16:17 +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
e558108c77 cite property on ins/del should be a URI, not a string. Bug 292754,
r+sr=jst, a=dbaron
2005-05-03 23:32:35 +00:00
bzbarsky%mit.edu
15ec37d088 Remove an unneeded "creating" check, since we'll never have a document while
we're still being created now.  Bug 289322, r=sicking, sr=jst, a=chofmann
2005-05-03 15:56:18 +00:00
bzbarsky%mit.edu
7ce5669331 When a form control is removed from the document and no longer has a form, also
check whether it's still in the same subtree as its mForm.  If it is, then
don't remove it from the form.  Bug 291042, r=sicking, sr=peterv, a=chofmann
2005-05-02 04:41:06 +00:00
bzbarsky%mit.edu
e61e1e1935 Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
2005-04-29 15:44:38 +00:00
jst%mozilla.jstenback.com
50de4a3e1d Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org 2005-04-28 23:48:28 +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
5522de8726 more canvas landing horkage fixing 2005-04-18 07:30:14 +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
aaronleventhal%moonset.net
98fb88a604 Missing part of checkin for bug 287730. Reporting position of radio buttons, r+sr=bz on missing part, a=asa 2005-04-07 14:08:12 +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
bzbarsky%mit.edu
2b12f597a1 Only do a new image load if we're forced to or if the URI really changed. Bug
285428, r=biesi, sr=jst (note: sr was given in bug 286000 as part of the patch
there).
2005-04-06 02:55:02 +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
cvshook%sicking.cc
aaf712f1dd Bug 289053: Fix assertion when setting fontsize to empty or whitespace-only string. Also treat big relative fontsizes as absolute fontsizes so they at least render correctly.
r/sr=bz
2005-04-06 02:07:52 +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
timeless%mozdev.org
5754dd285c Bug 289063 protected recursion triggers ASSERTION: failed to load URL: 'NS_SUCCEEDED(rv)', file r:/mozilla/content/html/content/src/nsGenericHTMLElement.cpp, line 3469
r=bz sr=bz
2005-04-05 18:46:44 +00:00
bzbarsky%mit.edu
fdeb437ce1 Removing the type attr should make an input a text input. Bug 288331, r+sr=jst 2005-04-05 03:46:12 +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
aaronleventhal%moonset.net
4f9f6bd7c6 Bug 287730. Fix n of m positional info for HTML radio buttons. r=timeless, sr=bz 2005-04-04 13:43:43 +00:00
cst%andrew.cmu.edu
7f22407c14 Bug 287695 fix hardcoded app name in default mailto: form subject
r=biesi sr=bz
2005-04-03 17:16:28 +00:00
neil%parkwaycc.co.uk
d29aa28ed8 Implement group="system" for XBL handlers so that we don't try to handle events if <a> <textarea> or <xul:button> have already processed them r=jst sr=bryner 2005-03-30 12:26:02 +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
bzbarsky%mit.edu
ea0ef22d43 Make setting an entry in the options array fill in the array up to that point
with options if needed.  Bug 285498, r+sr=jst
2005-03-25 04:23:55 +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
jwatt%jwatt.org
e041653819 Fixing bug 281741. We should implement the GetSVGDocument interface for HTMLEmbedElement. r=tor@acm.org, sr=jst@mozilla.org 2005-03-23 01:42:22 +00:00
peterv%propagandism.org
894e0ed85d Fix for bug 285166: createElement crashes [@ NS_NewHTMLElement] [@ 2005-03-17 20:41:27 +00:00