Commit Graph

368 Commits

Author SHA1 Message Date
rods@netscape.com
93925c8f6f removing special centering code for width
Bug 68573 r=kmcclusk sr=attinasi
2001-04-03 14:10:47 +00:00
rods@netscape.com
0d451ab708 factoring of code for Submit/Reset in control frames
Bug 65747 r=pollmann sr=attinasi
2001-02-23 01:01:08 +00:00
rods@netscape.com
7b01ea3321 copy/paste coding error - simple change from Height to Width
Bug 67497 sr=attinasi
2001-02-14 15:40:26 +00:00
blakeross@telocity.com
85a9729ce8 Only get the type when we need it. r=hixie 2001-02-12 21:19:23 +00:00
pierre@netscape.com
5f165d8dc9 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster. 2001-02-07 09:57:26 +00:00
pollmann@netscape.com
a08be7c00d Bug 55988 + 64415: Hidden inputs and buttons save state in session history, r=jst@netscape.com, sr=vidur@netscape.com 2001-02-06 01:31:18 +00:00
rods@netscape.com
a1ed5b3a4f This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
mcafee@netscape.com
99b5642905 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil 2001-01-25 02:58:12 +00:00
pierre@netscape.com
37a4efae45 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
rods@netscape.com
c0ed0d0271 removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
dbaron@fas.harvard.edu
618fd5b917 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:22:22 +00:00
rods@netscape.com
12f8d1f2c1 53259 - min-width and max-width not supported on form control
59035 - type of a BUTTON should default to submit when type isn't specified
r=kmcclusk sr=buster
2000-12-20 15:12:06 +00:00
warren@netscape.com
0462ea4ce8 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren@netscape.com
7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
heikki@netscape.com
0172e8c80d Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods. 2000-09-19 21:47:04 +00:00
attinasi@netscape.com
6f09e6f2d8 Part of fix for bug 45210: style contexts had the wrong parent because the frames were reparented but their style contexts were not. r=rods@netscape.com 2000-09-12 19:41:27 +00:00
pollmann@netscape.com
8232e5a3bf Bug 51124: Tabbing into text control now again scrolls it into view if offscreen, also adding additional bulletproofing per code review; r=jst@netscape.com 2000-09-08 05:53:28 +00:00
jst@netscape.com
3ba32f670e 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 2000-08-23 17:27:06 +00:00
sfraser@netscape.com
b78873aa1d 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. 2000-08-08 23:38:00 +00:00
pollmann@netscape.com
238e115849 Bug 42662: Values of disabled form elements should not be submitted; r=kmcclusk 2000-08-03 23:32:02 +00:00
rods@netscape.com
838bcfe678 The frames need to be appended and the default method just asserts
b=41528 r=kmcclusk
2000-08-02 22:16:12 +00:00
pollmann@netscape.com
2cb799fb17 Bug 25300: Enable activation of buttons by the keyboard (space or enter) r=nisheeth 2000-06-21 00:40:11 +00:00
joki@netscape.com
d99814e0c8 Fixes for bug 38269. Fixes crash during page rewrite in focus, reset, submit and location change in onunload. r:mjudge 2000-05-26 00:26:54 +00:00
mjudge@netscape.com
6321cfa42d fixing regunreg for form controls 2000-05-16 12:44:32 +00:00
rods@netscape.com
144420f146 now sets maxelement width/height
b=25541
2000-04-30 13:27:49 +00:00
rods@netscape.com
d129721280 Add ifdef'ed Performance Reflow Counting code 2000-04-21 21:51:35 +00:00
scc@netscape.com
dce90dfaff making string conversions explicit 2000-04-15 21:18:29 +00:00
dbaron@fas.harvard.edu
0db3c15533 Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161. 2000-03-22 02:43:08 +00:00
pierre@netscape.com
ee71ad262f Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible). In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame. In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701. 2000-03-17 10:15:13 +00:00
rods@netscape.com
729a4e53a8 idef'ed out the adding of border padding to maxelement size, this was casuing some warnings.
r=kmcclusk a=jar b=28593
2000-03-03 00:58:00 +00:00
rods@netscape.com
6d5f4b7154 changing nsCOMPtr to weak references for PresContext
a=leaf, r=self, bug=bloat&leak went up
2000-02-09 23:20:56 +00:00
rods@netscape.com
226e0b0cb2 removing unneeded native frames and unneeded frame classes that these derived from
fixing checkbox and radiobutton state restore
fixing right btn click on dropdown
adding in initial work for accesskey
bug 17027,26296,27063,7559; carpool a=leaf; r=kmcclusk
2000-02-09 19:34:39 +00:00
pollmann@netscape.com
d2a59e0494 Bug 18649: non FormControlFrame derived form elements also only scroll when not at all visible r=rods 2000-01-25 22:19:39 +00:00
rods@netscape.com
1000cea994 changed signature of GetFont b=905 r=dcone 2000-01-25 15:25:46 +00:00
evaughan@netscape.com
7344abdaca Fixed html and input button to center and size correctly. #17474,#17353,#23270, #21249 -r Rod 2000-01-18 20:29:22 +00:00
rods@netscape.com
9151143d26 Added unconstrainted reflow optimization methods
r=kmcclusk bug=12653
2000-01-08 15:53:48 +00:00
rods@netscape.com
1e161590c3 backed out all changes from today (1/5/2000) 2000-01-05 16:42:47 +00:00
rods@netscape.com
694e1a58ca Added unconstrainted reflow optimizations
Also, commented out the adding of border-padding to the maxelementsize
r=kmcclusk bug=12653
2000-01-05 15:22:38 +00:00
rods@netscape.com
8cdf3a4059 changed clipping in Paint to be intersect instead of replace
r=kmcclusk
1999-12-22 19:50:47 +00:00
hyatt@netscape.com
9a7a1b27f7 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
rods@netscape.com
b68ffef2ad clips inside the border instead of inside the border and padding
r=kmcclusk bug 20301
1999-12-02 22:07:43 +00:00
tbogard@aol.net
617bb737a6 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
troy@netscape.com
3b67f2f17c WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
kmcclusk@netscape.com
5234a92ea4 Fixed problem where buttons where causing reflows when entering and exiting.
Removed outline border style and fixed style context parentage of buttons.
bug 17892; r=buster@netscape.com
1999-11-12 01:45:53 +00:00
troy@netscape.com
457d913e71 b=17546. Changed block frame code to save/restore space manager when create
a space manager, and changes button code to use the NS_BLOCK_SPACE_MGR flag
when creating the area frame
1999-11-11 06:00:41 +00:00
dmose@mozilla.org
796280940b updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
pollmann@netscape.com
389a334ccc Bug 17431: Clean house in form and form control destructors to allow reframing r=harishd a=choffman 1999-11-04 23:16:47 +00:00
rods@netscape.com
ec7a00a1d1 Added code to size the button appropriately when style sets the size and
make it clip for drawing.
NOTE: This is a temporary fix for bug #17474
1999-11-03 00:05:30 +00:00
pollmann@netscape.com
38fe763ce7 Removing null code. No bug number. r=nisheeth 1999-11-02 01:50:15 +00:00
troy@netscape.com
b8ef6465be Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00