40 Commits

Author SHA1 Message Date
dbaron%dbaron.org
32d54152c9 Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220874 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 18:33:33 +00:00
dbaron%dbaron.org
1ca9f3f372 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
sharparrow1%yahoo.com
8a0863dee7 Bug 344471: cleanups for checkbox and radio frames. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@201990 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 05:05:54 +00:00
roc+%cs.cmu.edu
140fbb3377 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
roc+%cs.cmu.edu
df8627e29b Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
roc+%cs.cmu.edu
74858f37ce Bug 254755. deCOMtaminate nsIFormControlFrame. patch by jpl24, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@185977 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 23:53:06 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
bryner%netscape.com
c44337949a Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
jkeiser%netscape.com
f217d9c22f Move save/restore form control state to content (bug 108309). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@117791 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 10:14:01 +00:00
jkeiser%netscape.com
317b99e5a5 Backing out 108308 due to pageload spike
git-svn-id: svn://10.0.0.236/trunk@117722 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 07:35:09 +00:00
jkeiser%netscape.com
55481f5be5 Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org)
git-svn-id: svn://10.0.0.236/trunk@117716 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 05:35:47 +00:00
jkeiser%netscape.com
da2627ead4 Move radio buttons to content (bug 108308). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@116076 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 20:53:40 +00:00
jkeiser%netscape.com
3c0c8fd84c Move checkbox state to content (bug 108307). r=rods, sr=jst
git-svn-id: svn://10.0.0.236/trunk@112711 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 19:04:55 +00:00
dbaron%fas.harvard.edu
8897c8f5b7 Backing out Bernd's checkin for bug 110596 to fix crashes / weird display. b=118991 r=bernd
git-svn-id: svn://10.0.0.236/trunk@111718 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 19:17:46 +00:00
bernd.mielke%snafu.de
779d00d083 add form frames to debug reflow bug 115096 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@111500 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 19:55:56 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
jst%netscape.com
81bf1f1956 Checking in John Keiser's <jkeiser@iname.com> fix for *tons* of form submission and <select> related bugs, see tracking bug 34297 for details. r=rods@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107083 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 07:40:01 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
karnaze%netscape.com
1540a4c12e bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
hyatt%netscape.com
4f51638ef4 Fix for 95475. r=jag, sr=ben, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +00:00
jgaunt%netscape.com
92c01c45b6 fix for bug 94768
r=smfr,leaf
sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@101271 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 03:13:07 +00:00
pollmann%netscape.com
161f586d22 Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org)
git-svn-id: svn://10.0.0.236/trunk@96057 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 11:26:21 +00:00
evaughan%netscape.com
a4d0ce6ac8 Fix for bug #80902
-r jeff@tcbnetworks.com -sr waterson

Fix for bug #80505

-r aaronl, jgaunt -sr brendan


git-svn-id: svn://10.0.0.236/trunk@95337 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 23:52:32 +00:00
evaughan%netscape.com
b28fc76be2 Accessibility work. bug #12952
-r aaronl -sr brendan


git-svn-id: svn://10.0.0.236/trunk@92582 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 23:06:38 +00:00
rods%netscape.com
3a1a98af2f removed where the input element was telling the rado/checkbox to return the opposite value
now it changes it value before the DOM call (script) and then if the event is cancelled
it sets the value back (which doesn't happen very often)
r=pollmann,jst sr=buster  b=57137,57239,58460


git-svn-id: svn://10.0.0.236/trunk@83473 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 16:05:29 +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
rods%netscape.com
e0ca215d75 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@75426 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:07:46 +00:00
rods%netscape.com
c586bf3853 Added new interface to support additional StyleContexts that can be used for "skinning" checkboxes.
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@64041 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 15:02:02 +00:00
rods%netscape.com
cffeb53a49 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


git-svn-id: svn://10.0.0.236/trunk@60248 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 19:34:39 +00:00
rods%netscape.com
81946ff625 click events for checkbox and radiobuttons now handled via content (DOM0
instead of the frame
b=23592 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@57417 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:33:36 +00:00
rods%netscape.com
4d45458719 turned off some debug rods only
git-svn-id: svn://10.0.0.236/trunk@56405 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 20:03:59 +00:00
tbogard%aol.net
ae5a81e394 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
troy%netscape.com
3513334988 Moved a bunch of stuff out to a nsIFrameDebug interface
git-svn-id: svn://10.0.0.236/trunk@52427 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:12:45 +00:00
troy%netscape.com
bd46e7911f Changed SetView/GetView to take an additional argument which is the
pres context


git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
rods%netscape.com
e6f28ca7ba Added macro to help in figuring Nav Quirks default size for all
controls ifdef for just me r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@50142 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:07:38 +00:00
rods%netscape.com
ffd3403151 Changed to respect border and padding and now draw check mark "centered" in the available space
the check mark also sizes to content area


git-svn-id: svn://10.0.0.236/trunk@44837 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:31:59 +00:00
pinkerton%netscape.com
d334cb1ecb cleaning up and simplifying checkbox. Adding tri-state checkbox behavior keyed off of the presence of an attribute.
git-svn-id: svn://10.0.0.236/trunk@43158 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 04:45:49 +00:00
pierre%netscape.com
36f4cf1552 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@42405 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 05:13:07 +00:00