10166 Commits

Author SHA1 Message Date
saari%netscape.com
5f1a4898c0 Fix for 45006, key events going to select boxes when they're at 0,0. Stop dispatching key events to frame 0,0 when we don't have focused content.
git-svn-id: svn://10.0.0.236/trunk@76740 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 01:14:34 +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
brendan%mozilla.org
e24fb0083f Cast away const when freeing JSClass names.
git-svn-id: svn://10.0.0.236/trunk@76706 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 17:07:46 +00:00
attinasi%netscape.com
049b2a0524 Fixed NotifyFrames to handle the case where the notification callback causes the frames list to change. Patch supplied by serge@netscape.com, b=46934 r=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76649 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 20:47:47 +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
rods%netscape.com
b702660fb2 patch from web converting it over to use the FilePicker
it also now uses the default directory
b=40976,47552 r=rods,kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76639 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 18:16:12 +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
e1196e179e Fixing nsbeta3+ bug 47420. Don't throw a DOM exception when accessing a nodemap by index even if the index is out of range, simply return null in stead. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76629 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 07:04:30 +00:00
jst%netscape.com
0d8561b5a2 Fixing nsbeta3+ bug 46966. Changing the exception thrown when a DOM Attribute node is modified. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76628 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 06:55:42 +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
waterson%netscape.com
9cc9cfc356 Bug 29641. Set default content.notify.backoffcount to -1 (never). This doesn't really 'fix' the bug; however, it keeps us from getting into a situation where layout gets too much content crammed down its throat at once. r=vidur,nisheeth
git-svn-id: svn://10.0.0.236/trunk@76625 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 06:33:34 +00:00
waterson%netscape.com
1d744f391f Bug 49122. Make the image map manage addition and removal of the <area>'s to the primary-frame-for map in the frame manager. r=saari
git-svn-id: svn://10.0.0.236/trunk@76624 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 06:27:42 +00:00
pollmann%netscape.com
6c9abb09ae Bug 48736: Stop leaking form data every form submit (and fix 2 warnings), r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76618 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 05:46:47 +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
ftang%netscape.com
c2db6c347e *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@76599 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 00:47:03 +00:00
rcassin%supernova.org
437af36574 Checkin kin's fix for bug 48879, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@76593 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 23:55:32 +00:00
rods%netscape.com
a62d36cc93 removing "return NS_OK" because it keeps it from doing the call to
nsFrame which calls HandleRelease. Without HandleRelease the EventStateManager
mMouseGrabber never gets cleared and it keeps thinking events need to go to the view.
b=48792 r=pollmann


git-svn-id: svn://10.0.0.236/trunk@76588 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 22:39:13 +00:00
rods%netscape.com
652bee7703 listbox - selecting with keyboard no longer allows you to stop on a disabled option, it skips them
as does page up and page down
combobox - selecting a disabled option didn't clear the "mouse down" flag and it still thought it was selecting
combobox - selecting a disabled option clears mSelectedIndex, this side effect could be seen by selected
a disabled item then clicking on a link and then hit "back",
b=48903 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76583 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:38:15 +00:00
hyatt%netscape.com
d9127a969f Fix for 48150, r=danm
git-svn-id: svn://10.0.0.236/trunk@76580 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:11:38 +00:00
harishd%netscape.com
6368271fde bug 22886 - Relax refresh header paring, in the sink, a little bit.
r=pollmann


git-svn-id: svn://10.0.0.236/trunk@76576 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 20:55:48 +00:00
rods%netscape.com
2d4f1df8f2 fixes when to use preferred size versus computed size versus available size.
b=40596, r=evaughan,hyatt,kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76569 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 20:08:44 +00:00
pierre%netscape.com
413d134dfe 43420 + CSS3 update: renamed "text-align:-moz-default" into "text-align:start"
git-svn-id: svn://10.0.0.236/trunk@76558 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 13:28:18 +00:00
hyatt%netscape.com
7e348287cb Fix for 38461, r=ben
git-svn-id: svn://10.0.0.236/trunk@76553 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 09:15:51 +00:00
pierre%netscape.com
4c4599562d 49154: uninitialized variable. Thanks to bruce@cubik.org (Bruce Mitchener)
git-svn-id: svn://10.0.0.236/trunk@76552 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 08:26:53 +00:00
hyatt%netscape.com
2b2574bdf1 Fix for 43375, r=ben
git-svn-id: svn://10.0.0.236/trunk@76551 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 08:15:47 +00:00
hyatt%netscape.com
84a22f9437 First-stage fix for dogfood bug 49012. r=ben
git-svn-id: svn://10.0.0.236/trunk@76550 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 08:11:11 +00:00
jst%netscape.com
ce9e38761e Fixing nsbeta3+ bug 30534. Don't lie about what DOM features we support, be honest./paralellCheckout | & less r=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76543 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 07:09:05 +00:00
jst%netscape.com
f3eeaaab8a Fixing nsbeta3+ bug 44002. Don't use non boolean values (the value 2 in this case) as a boolean true since 2 != true in JS. This caused scripts that rely on img.complete == true when an image has loaded to break. r=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76542 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 06:28:47 +00:00
akkana%netscape.com
4df3e025f1 23587: Make accelerator and menu access keys settable through a pref. r=saari
git-svn-id: svn://10.0.0.236/trunk@76513 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 00:09:16 +00:00
saari%netscape.com
2fdc688449 Fixing focus regression I caused by over eargly releasing documents from nsEventStateManager
git-svn-id: svn://10.0.0.236/trunk@76500 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:38:54 +00:00
dbaron%fas.harvard.edu
cec97be5f7 Fix leak of strings used as hash table keys. r=waterson b=48880
git-svn-id: svn://10.0.0.236/trunk@76489 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:16:21 +00:00
hyatt%netscape.com
f7c2acd171 Fix for 45728. r=saari
git-svn-id: svn://10.0.0.236/trunk@76488 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:14:50 +00:00
kin%netscape.com
1e4907fd53 Partial fix for bug #45152: Typed text does not render in TextAreas with a horizontal scrollbar
Made Reflow() invalidate the correct region during an incremental or dirty reflow.
r=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@76486 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:12:19 +00:00
dbaron%fas.harvard.edu
1adb256d88 Reduce the risk of parser leaks by releasing the parsers owned by CSSLoaders when no longer needed. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@76478 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:04:42 +00:00
hyatt%netscape.com
a95fc61e73 Fix for 48459, r=danm
git-svn-id: svn://10.0.0.236/trunk@76462 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 22:49:31 +00:00
hyatt%netscape.com
f69d98b3e6 Fix for 45248, r=ben
git-svn-id: svn://10.0.0.236/trunk@76429 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 08:14: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
saari%netscape.com
665e7d658e fix for nsbeta3+ leak 35553; leak document on shutdown. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@76420 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 06:37:51 +00:00
pinkerton%netscape.com
119973f434 full backout of code i commented out, the fixes go elsewhere.
git-svn-id: svn://10.0.0.236/trunk@76383 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 01:45:23 +00:00
waterson%netscape.com
e029e1cca8 Bug 44480. Demote 'width' and 'height' attributes from NSDocument to NSHTMLDocument and XULDocument; make nsHTMLDocument's implementation use the <body> element's frame (instead of the <html> element's frame) to determine metrics. r=jst
git-svn-id: svn://10.0.0.236/trunk@76375 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 01:04:52 +00:00
pinkerton%netscape.com
99b7fce821 Dead code removal
git-svn-id: svn://10.0.0.236/trunk@76370 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 00:44:15 +00:00
pinkerton%netscape.com
92c3e51c6b Add KillPendingTimers() to nsIMenuParent and call it when we open a sibling
submenu. Not clearing out this timer causes confusion with the rollup
listeners. Fixes 48989 and 28309. Thanks to Dean, who put me on the right
track. r=hyatt.


git-svn-id: svn://10.0.0.236/trunk@76368 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 00:35:04 +00:00
hyatt%netscape.com
837b4508e8 Backing out fix to 40596 and fixing bug #49051, r=putterman
git-svn-id: svn://10.0.0.236/trunk@76364 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 00:20:29 +00:00
hyatt%netscape.com
7cc5153fd3 Fix for 49009. r=danm
git-svn-id: svn://10.0.0.236/trunk@76351 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 21:00:52 +00:00
pinkerton%netscape.com
e4d7aed5a5 fix for 47105, retooling of tree d&d to not be so confusing, to use the style system a little more, and to handle the case where a tree won't let you drop anything between rows.
git-svn-id: svn://10.0.0.236/trunk@76340 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 18:23:34 +00:00
pinkerton%netscape.com
2a0b7d8d70 backing out my last change, it breaks scrollbars.
git-svn-id: svn://10.0.0.236/trunk@76316 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 23:03:25 +00:00
pinkerton%netscape.com
9a6dd56096 for 48250, turn off mouse capture when a drag gesture begins. r=mjudge.
git-svn-id: svn://10.0.0.236/trunk@76306 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:29:03 +00:00
pinkerton%netscape.com
ecbc628010 making CaptureMouse a public interface on nsIFrame r=mjudge for bug 48250.
git-svn-id: svn://10.0.0.236/trunk@76305 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:28:41 +00:00
waterson%netscape.com
b270876b7f Back out shanjian's last change as it was causing several whitespace-related regressions. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@76301 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:11:41 +00:00
rods%netscape.com
690d980baf was not unregistering the listers correctly. Not they unreg with the
listener object.
b=48915 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76300 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:05:28 +00:00