553 Commits

Author SHA1 Message Date
rods%netscape.com
28c797e1db when the value attr is set the hint needs to be reflow.
b 28593, r=buster


git-svn-id: svn://10.0.0.236/trunk@61805 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 21:35:51 +00:00
rods%netscape.com
c76178e6cd turned off the flushing of reflows when an option item is removed
b 28593, r=vidur,troy


git-svn-id: svn://10.0.0.236/trunk@61803 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 21:33:41 +00:00
pierre%netscape.com
1d2c2e416f Bug 18136/21950 "Fixing the font size mess". Implemented Todd Farhner's system in nsStyleUtil. Disabled the font size rounding code on Windows (see bug 24005). r=erik, a=rickg
git-svn-id: svn://10.0.0.236/trunk@61601 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 12:51:28 +00:00
pollmann%netscape.com
a3b50445fa Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg
git-svn-id: svn://10.0.0.236/trunk@61543 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 00:08:00 +00:00
norris%netscape.com
bf96355ad4 Fix 28612 META Refresh allowed in Mail/News
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar


git-svn-id: svn://10.0.0.236/trunk@61523 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 22:34:40 +00:00
troy%netscape.com
eb4d44f03f b=28635, a=rickg@netscape.com, r=vidur@netscape.com
Reduced the number of nsString objects allocated


git-svn-id: svn://10.0.0.236/trunk@61491 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 15:45:43 +00:00
saari%netscape.com
6544768b36 Fix for 12051. Two one line fixes to make focus memory work with text input fields and text areas. r=hyatt a=jar
git-svn-id: svn://10.0.0.236/trunk@61484 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 08:10:36 +00:00
vidur%netscape.com
0b6a16f8cb Fix for bug 9844. Implemented offsetTop/Left/Width/Height/Parent for HTML content.r=pollmann
git-svn-id: svn://10.0.0.236/trunk@61025 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 02:25:07 +00:00
sfraser%netscape.com
1044a92ddb Call the new Init() method on nsIEditorController for bug 18395. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@61008 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:41:17 +00:00
karnaze%netscape.com
3be962e028 bug 7112, PDT+ 1802 - added custom style rule to handle <th> text alignment. Other text alignment changes. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@60992 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:08:54 +00:00
rods%netscape.com
9616895e6a radio button now remembers state, and in standard mode it will always select
the first item. It will also perform rradiobutton behavior when the frame are hidden (no existent)
b=27063 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@60954 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 23:02:55 +00:00
rods%netscape.com
b9030c84e0 setting flush flag to false, so it doesn't flush everytime an item is added
r=vidur b=27498


git-svn-id: svn://10.0.0.236/trunk@60949 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 22:45:26 +00:00
pollmann%netscape.com
87dc0c8fdf Bug 27327: Input::SetAttribute('value') now updates content model, r=buster
git-svn-id: svn://10.0.0.236/trunk@60933 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 21:56:04 +00:00
rods%netscape.com
503225ca70 They now cache their state properly in the PresState
b 21945 r=pollmann


git-svn-id: svn://10.0.0.236/trunk@60880 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 15:04:38 +00:00
av%netscape.com
ba26ebc9e7 Fixing 17278, r=vidur
git-svn-id: svn://10.0.0.236/trunk@60765 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 01:16:04 +00:00
karnaze%netscape.com
a9065d25d3 bug 27652, fix loss of border on <table border>, r=mcafee
git-svn-id: svn://10.0.0.236/trunk@60693 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 06:06:03 +00:00
rods%netscape.com
b7b372274e now remembers single selects correctly, have not implemented it for mulitple
selects yet, but this check in get mail work, multiple is needed for bugzilla
b=21945, r=pollmann


git-svn-id: svn://10.0.0.236/trunk@60599 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 16:26:24 +00:00
rods%netscape.com
d1ce8ef517 converted over to use nsCOMPtr and changed return code back to NS_OK for GetAttr
part of bug 21945 work, r=pollmann


git-svn-id: svn://10.0.0.236/trunk@60598 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 16:24:19 +00:00
karnaze%netscape.com
3348645b69 bug 8524 - don't use -moz-bg-inset in standard mode. r=troy
bug 10269 - renamed RequiresPass1Layout to IsAutoLayout and have it force a fixed layout table (not tree) to be auto layout if the table is auto width.


git-svn-id: svn://10.0.0.236/trunk@60554 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 00:58:38 +00:00
vidur%netscape.com
f1a9c3f401 Fix for bug 9140. Area elements now have event fired for them. r=joki
git-svn-id: svn://10.0.0.236/trunk@60399 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:24:59 +00:00
pollmann%netscape.com
9a16283fc1 Bug 10434: legend.form now returns form that legend is contained in. r=buster
git-svn-id: svn://10.0.0.236/trunk@60380 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:17:31 +00:00
mjudge%netscape.com
44c8697114 big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
git-svn-id: svn://10.0.0.236/trunk@60278 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 04:35:51 +00:00
jst%citec.fi
57a7c3b745 Make context menus work on XML pages (#15713). r=vidur@netscape.com,joki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@60235 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 13:58:26 +00:00
vidur%netscape.com
9198644f07 Fix for bug 19212. InsertRow in an empty table used to create a TBODY but not notify on its insertion. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@60029 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 01:32:23 +00:00
vidur%netscape.com
f2c41d8947 Optimize the case for container content with only a single child (the most common case). Now we only allocate a nsVoidArray if there's more than one child. r=troy
git-svn-id: svn://10.0.0.236/trunk@60016 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 01:12:59 +00:00
buster%netscape.com
9445b8c79b bug 26241
all I did was initialize an out-param.  no reviewer.


git-svn-id: svn://10.0.0.236/trunk@59994 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 15:50:25 +00:00
waterson%netscape.com
e0f132e842 Bug 26522. Stabilize refcount before calling code that'll addref/release the clone. r=mcafee
git-svn-id: svn://10.0.0.236/trunk@59757 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 08:41:03 +00:00
warren%netscape.com
f4aedeeabf Propagating return code. r=vidur,joki
git-svn-id: svn://10.0.0.236/trunk@59724 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 03:06:56 +00:00
pp%ludusdesign.com
a2927ce43e Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
attinasi%netscape.com
3be1b31aba Checking for border width > 0 before setting the border style to NS_STYLE_BORDER_STYLE_BG_INSET.
This fixes a bug where style changes were causing table cell borders to appear when previously there
were none. b=25425 r=karnaze


git-svn-id: svn://10.0.0.236/trunk@59456 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 01:15:04 +00:00
rods%netscape.com
1107f1b419 returning the correct return code instead of NS_OK
r=dcone, no bug


git-svn-id: svn://10.0.0.236/trunk@59416 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 22:42:19 +00:00
saari%netscape.com
8b71d64469 Fix for bug 22264. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@59150 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 04:05:03 +00:00
vidur%netscape.com
825e97e024 Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
git-svn-id: svn://10.0.0.236/trunk@59117 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:43:12 +00:00
pollmann%netscape.com
9ba6b9f387 Bug 6747: HTML labels now pass events to their assigned element in XUL documents too. r=rods
git-svn-id: svn://10.0.0.236/trunk@59108 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:29:36 +00:00
warren%netscape.com
94953b11eb Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki
git-svn-id: svn://10.0.0.236/trunk@59032 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 06:55:27 +00:00
karnaze%netscape.com
e8ff8bb21f bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.


git-svn-id: svn://10.0.0.236/trunk@58996 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 02:19:45 +00:00
hyatt%netscape.com
6ab345a11d Making input and text area elements bindable using XBL.
git-svn-id: svn://10.0.0.236/trunk@58911 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 09:01:49 +00:00
vidur%netscape.com
db8c33a342 Fix for bug 12565. form.encoding returns the value of the ENCTYPE attribute, not ENCODING. r=joki
git-svn-id: svn://10.0.0.236/trunk@58908 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 08:51:54 +00:00
vidur%netscape.com
d762cfe609 Fix for bug 19212. HTMLTableElement::InsertRow was creating a TR instead of a TBODY if one was necessary. r=joki
git-svn-id: svn://10.0.0.236/trunk@58790 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:52:41 +00:00
danm%netscape.com
612df1ea60 notify parent form when a form element is removed. bugs 23493, 24452, and probably a lot of undiagnosed instabilities. r:vidur,pollman,waterson and a cast of thousands
git-svn-id: svn://10.0.0.236/trunk@58685 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 01:24:41 +00:00
rods%netscape.com
0fc1688c1d changed align to work and reworked event process for click click hold and move off
b=14353 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@58605 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 15:38:49 +00:00
nisheeth%netscape.com
26ad5f5255 Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me.
git-svn-id: svn://10.0.0.236/trunk@58465 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 06:43:15 +00:00
hyatt%netscape.com
000188b782 Fix for a minor little bug I introduced into GetChecked (that only happened with
trees).  Thanks to jdunn for spotting it.  r=matejka, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@58260 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 22:18:57 +00:00
vidur%netscape.com
3d5874d107 Missed necessary cleanup in last checkin. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@58193 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 01:34:07 +00:00
vidur%netscape.com
f935ba8afa Fix for bugs 9213 and 17415. Fixed a ton of leaks in table content code and fixed thead, tfoot access and manipulation via DOM. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@58192 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 01:29:04 +00:00
tor%cs.brown.edu
88a2a05091 build bustage fix for older C++ compilers; false -> PR_FALSE; r=cls
git-svn-id: svn://10.0.0.236/trunk@57971 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 17:06:08 +00:00
brade%netscape.com
d11ba75c81 initialize all fields of mouseEvent; r=joki
git-svn-id: svn://10.0.0.236/trunk@57945 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 17:22:09 +00:00
pollmann%netscape.com
036af632b7 Bug 14419 (1 of 4): Fix typo!
git-svn-id: svn://10.0.0.236/trunk@57890 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:21:51 +00:00
vidur%netscape.com
0a0f3496b6 Fix for bug 23020. Relative URLs used in image.src and location.href should be resolved taking into account the base document URL of the calling context. R=pollmann
git-svn-id: svn://10.0.0.236/trunk@57888 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:02:27 +00:00
pollmann%netscape.com
706c1afd62 Bug 14419 (1 of 4): Make option text read/write (implementation) r=harishd
git-svn-id: svn://10.0.0.236/trunk@57873 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 01:42:56 +00:00