749 Commits

Author SHA1 Message Date
rods%netscape.com
caea13f29b Moved the dispatch of the onChange to after where the property is set, this way it will have the "new" value
Removed macro impl of Set/GetSize and implemented it to notify the document that an attr has changd and the hint is reflow so when the size gets changed via script it changes size
b=50280,50436 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@77436 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 01:50:31 +00:00
attinasi%netscape.com
6ced7e5706 Fixed to handle ToInteger returning an error. b=29061 r=kmccluck@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77405 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:44:05 +00:00
jst%netscape.com
f582538632 Removing unused file. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77286 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 07:04:38 +00:00
jst%netscape.com
b05c03746d Removing unused code from the build. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77284 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 07:00:17 +00:00
waterson%netscape.com
9df49dc106 Bug 47191. Trim whitespace from relative spec before constructing absolute URLs. r=jst
git-svn-id: svn://10.0.0.236/trunk@77186 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 06:03:49 +00:00
jst%netscape.com
65422a4e46 Fixing nsbeta3+ bug 49548. Making the 'type' property on input elements default to 'text', and making the 'type' property of button elements be all lowercased. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77149 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 01:57:28 +00:00
jst%netscape.com
7e0575bfee DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
jst%netscape.com
52a1304643 Fixing nsbeta3+ bug 44024. Expose the stylesheets in stye and link elements (DOM Level 2) as 'sheet' properties on the elements. r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76854 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 04:14:53 +00:00
waterson%netscape.com
cf19730f34 Bug 46846. HandleEventForAnchors() call to QI() for nsILink rather than look for 'href' attribute; fix potential problems with document charset and image maps and <link> tags. (Really just an extension of cleanup for bug 10373) r=dbaron
git-svn-id: svn://10.0.0.236/trunk@76762 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 21:57:50 +00:00
scc%mozilla.org
a0a2b1b7fe fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76727 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:23:46 +00:00
attinasi%netscape.com
20b7c1ce10 Fixed the application of the BodyFixupRule so that it is only created when the BODY element has the HTML element as its parent. b=17911 r=dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@76648 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 20:38:29 +00:00
jst%netscape.com
0033a2db23 Fixing nsbeta3+ bug 31539. Adding support for the 4.x DOM property 'text' on links. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76633 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 07:46:58 +00:00
jst%netscape.com
0a1ad0b622 Fxing nsbeta3+ bug 45680. Cloning an HTML element with a style attribute didn't clone the style declaration in the element so changing the style on the clone resulted in a style change for both elements. Also fixing a few memory leaks in nsHTMLTableElement. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76627 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 06:52:31 +00:00
pollmann%netscape.com
8e93b5b21f Bug 47281: form.reset now generates a reset event, and the frame is notified from the event handling code. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76616 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 05:18:01 +00:00
alecf%netscape.com
7431c64b15 fix a bunch of UMRs r=syd
(no bug but I needed these to get my purify build going)


git-svn-id: svn://10.0.0.236/trunk@76425 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 07:39:38 +00:00
hyatt%netscape.com
a729ae916b Fix for 21890 and numerous other bugs. r=pierre, waterson, jst, attinasi, brendan
git-svn-id: svn://10.0.0.236/trunk@76207 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 06:28:02 +00:00
sfraser%netscape.com
4e94847de0 Fix typo, bug 48616. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@76199 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 01:42:04 +00:00
warren%netscape.com
e5706a7236 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
dbaron%fas.harvard.edu
3b9c9e465a Fix leak on hovering over a scrollbar and re-fix similar leak for text inputs (bug 42895) by adding a "general" method for unrooting anonymous content created through nsIAnonymousContentCreator, plus a hack to deal with the scrollbars on the root element. Some of the other SetDocumentForAnonymousContent methods *may* need to be implemented. Chris Waterson helped significantly with this patch. r=waterson,hyatt b=45676 (nsbeta3+)
git-svn-id: svn://10.0.0.236/trunk@75882 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 12:51:05 +00:00
sfraser%netscape.com
572368546b Fix Windows compiler suckage. Fixes bustage.
git-svn-id: svn://10.0.0.236/trunk@75836 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 00:27:38 +00:00
sfraser%netscape.com
7726da891c Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge.
git-svn-id: svn://10.0.0.236/trunk@75830 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:38:00 +00:00
saari%netscape.com
e1a79e8500 massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner


git-svn-id: svn://10.0.0.236/trunk@75805 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:31:05 +00:00
attinasi%netscape.com
ad73ad64b4 Part of fix to allow background on BODY element to be inherited. b=47127 r=pierre
git-svn-id: svn://10.0.0.236/trunk@75598 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 20:44:08 +00:00
pollmann%netscape.com
ac0908f872 Bug 40394: Strip only one leading LF if there is one; r=harishd
git-svn-id: svn://10.0.0.236/trunk@75527 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:19:43 +00:00
pollmann%netscape.com
f0c8471679 Bug 26945: Image input onclick fires but doesn't allow cancel via return false; r=harishd
git-svn-id: svn://10.0.0.236/trunk@75524 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:17:14 +00:00
pollmann%netscape.com
c6beecf00a Bug 34418: image input can't be submitted by space or enter; r=harishd
git-svn-id: svn://10.0.0.236/trunk@75521 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:11:57 +00:00
pollmann%netscape.com
6ca99ffa40 7913 Dynamic changing of ROWS and COLS for framesets; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75507 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:02:50 +00:00
rods%netscape.com
32f5520a8a The script notification happens before the radiobox gets a chance to change its value
so they must return the opposite value for themselves. They don't want to actually set their
values because the script could cancel. So the idea here is to let them know before the script
call that they should return their "future" value (the opposite of their current value)
b=42972 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@75424 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:06:37 +00:00
heikki%netscape.com
f9ab048302 Bug 41599 browser crashes when executing function with certain name such as Click(). Fixed by stopping recursion. r=saari.
git-svn-id: svn://10.0.0.236/trunk@75331 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-01 21:40:38 +00:00
attinasi%netscape.com
467733d11c Fixed bug 44396: LINK elements now act like links when they have generated content. b=44396 r=dbaron
git-svn-id: svn://10.0.0.236/trunk@75069 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 20:57:08 +00:00
attinasi%netscape.com
248ad9b5be Fixed bug 44199: fixed position background images were not being treated as fixed in all cases. b=44199 r=dbaron
git-svn-id: svn://10.0.0.236/trunk@75068 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 20:50:57 +00:00
attinasi%netscape.com
04de4e827f Trunk fix: bug 29061, where relative width value of '*' was getting 0 instead of 1. Simple fix, r=karnaze b=29061
git-svn-id: svn://10.0.0.236/trunk@74981 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 00:37:02 +00:00
dbaron%fas.harvard.edu
5c317da98a Fix the way HTML's align attribute works for horizontal alignment of blocks. Use the -moz-center and -moz-right even in strict mode, and apply them to blocks in addition to tables. r=attinasi b=37083, 40038
git-svn-id: svn://10.0.0.236/trunk@74966 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:37:44 +00:00
dbaron%fas.harvard.edu
38b11b0554 Improve performance of testing for visited links CSS selector matching by reducing string conversion and by caching the state of the link on the link element. r=waterson b=25963
git-svn-id: svn://10.0.0.236/trunk@74961 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:17:53 +00:00
dbaron%fas.harvard.edu
ab669e18ee Improve performance of testing for visited links CSS selector matching by reducing string conversion and by caching the state of the link on the link element. r=waterson b=25963
git-svn-id: svn://10.0.0.236/trunk@74959 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:11:02 +00:00
attinasi%netscape.com
f02e8d4669 Fixed the way the HTML element's background is handled. b=2285 r=dbaron
git-svn-id: svn://10.0.0.236/trunk@74706 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 22:51:41 +00:00
jst%netscape.com
3b985a0c19 Trivial change to cut down on the noice in bug reports by not returning internal errors back to JS, this fixes harmless, but annoying JS exceptions when mousing over chromeless windows. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@74527 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 06:11:22 +00:00
waterson%netscape.com
4b0eb75e6e Bug 45568. Don't flush notifications while looking for the nsIEditor object! The content sink may be in a crazy state where it's trying to rotate the content model. r=mozbot, because this is a smoketest blocker.
git-svn-id: svn://10.0.0.236/trunk@74298 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 20:51:01 +00:00
dbaron%fas.harvard.edu
d8fbca3fa0 Fix bug 42895 (nsbeta2+), a huge leak whenever a text input receieves an event, by propogating SetDocument(null,...) calls to the anonymous content in ender-lite widgets so that script objects for that content are unrooted. r=hyatt, mjudge
git-svn-id: svn://10.0.0.236/trunk@74276 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 23:20:48 +00:00
hyatt%netscape.com
5882acb105 Fix for smoketest blocker. r=saari, bug#=35952
git-svn-id: svn://10.0.0.236/trunk@74110 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 22:24:29 +00:00
jst%netscape.com
ce446bb897 Fixing nsbeta2+ bug 38610, don't throw a JS exception when .complete is accessed on an Image created in JS. r=pollman@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74081 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 03:35:13 +00:00
jst%netscape.com
eb460aaa2a Fixing nsbeta2+ bug 44115, properly handle area elements even if the href is a relative url, r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74077 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 02:42:28 +00:00
jst%netscape.com
97c25ed004 Fixing nsbeta2+ bug 44434, problems with width and height properties on preloaded images. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74075 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 02:30:42 +00:00
mcafee%netscape.com
1112918ea1 Checking in null pointer fix for bugscape:1205, netscape nsbeta2+ bug. r=saari
git-svn-id: svn://10.0.0.236/trunk@74072 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 02:22:41 +00:00
jst%netscape.com
a607a900c8 Fixing nsbeta2+ bug 44001, nulling out output parameters to avoid crasing. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74071 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 02:15:27 +00:00
rods%netscape.com
d804eae647 setting parent to null to make sure there are no dnagling pointers from children
to their parents
b=44266, r=jst


git-svn-id: svn://10.0.0.236/trunk@74036 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 22:17:38 +00:00
rods%netscape.com
03ae64ba6e removing accidental checkin
git-svn-id: svn://10.0.0.236/trunk@74030 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 21:00:22 +00:00
rods%netscape.com
0a4a5cf302 option elements no longer add and remove themselves from the select, the select now does all the housekeeping. b=44266, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@74026 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:55:21 +00:00
rods%netscape.com
8fb75d5063 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@74025 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:55:20 +00:00
karnaze%netscape.com
71bc897032 bug 39799 - map NS_STYLE_TEXT_ALIGN_CENTER to align=center, r=syd.
git-svn-id: svn://10.0.0.236/trunk@73762 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:42:57 +00:00