roc+%cs.cmu.edu
e7710a4890
Bug 240276. Trim fat from nsGfxScrollFrame, move functionality into nsGfxScrollFrameInner so that when we fork nsGfxScrollFrame, it will be shared
...
git-svn-id: svn://10.0.0.236/trunk@155965 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 02:32:27 +00:00
roc+%cs.cmu.edu
42df013a50
No bug. Remove unused code and variables from nsListControlFrame. rs=shaver
...
git-svn-id: svn://10.0.0.236/trunk@155897 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 04:30:23 +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
roc+%cs.cmu.edu
80b27683f0
Bug 227838. Remove unused RequiresWidget method from nsIFormControlFrame. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@154764 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:11:05 +00:00
bryner%brianryner.com
ac18b979bc
Eliminate old nsCWeakReference implementation (bug 230480). This rewrites nsListControlFrame's event listener to be a little more sane. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@151106 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 22:18:26 +00:00
uid502
e56ed2443c
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
roc+%cs.cmu.edu
d6f51ea339
Bug 212753. Make sure mouse capture is released when combobox popup is hidden. r+sr=bryner,a=mkaply
...
git-svn-id: svn://10.0.0.236/trunk@146514 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-02 15:21:13 +00:00
aaronl%netscape.com
42c64b76d5
Bug 211846. alt+down not working consistently for dropdowns. Also fixes bug 110801 and bug 205942, dropdown from alt+down not showing in the right place. r=jkieser, sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@144635 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 06:36:33 +00:00
roc+%cs.cmu.edu
ca3b83ccdf
Ongoing deCOMtamination. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144465 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-04 12:50:32 +00:00
roc+%cs.cmu.edu
dad14022d0
Bug 202681. Do not recreate frames during reflow via -moz-binding change for lazy scrollbars. Instead of lazy scrollbars, completely remove the anonymous scrollbar element for scrollbars which are disabled by CSS. r+sr=dbaron,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@142738 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 01:46:13 +00:00
roc+%cs.cmu.edu
d4ac9a5795
Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@140858 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:50:57 +00:00
jst%netscape.com
47743d5ece
Fixing bug 192837. Freezing the rest of the DOM HTML interfaces. r=fabian@imajes.info, sr=peterv@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@139440 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 07:00:53 +00:00
roc+%cs.cmu.edu
6963c1c429
Bug 157445. Be more aggressive about making visibility:hidden elements have visible views. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@138256 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:22:14 +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
dbaron%dbaron.org
a569c670f5
Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
jkeiser%netscape.com
60ed955d58
Make shift+click work the first time you click in a select (bug 167142), r=peterl@netscape.com, sr=sfraser@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@135509 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-20 05:32:27 +00:00
jkeiser%netscape.com
ac42e42ba8
Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@135468 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 23:38:09 +00:00
bzbarsky%mit.edu
87e0051c3e
Align text inputs, buttons, comboboxes to baseline with respect to the
...
text around them (bug 167236). Fix width sizing issues for <input
type="button/reset/submit"> (bugs 79927, 36364). Fix nonuniform heights
of form controls (bug 70251). Patch is on bug 167236, r=jkeiser,
sr=roc+moz, moa=rods
git-svn-id: svn://10.0.0.236/trunk@133674 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:17:51 +00:00
kyle.yuan%sun.com
f90ff1380c
Bug 177965 Wrong option selected in select field when pressing first key
...
r=jkeiser, sr=bzbarsky
Use a static member function ComboboxFocusSet() to clear the gLastKeyTime, and have gLastKeyTime be a static member
git-svn-id: svn://10.0.0.236/trunk@133285 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 10:25:03 +00:00
aaronl%netscape.com
abe8120f48
Bug 175827. Accessibility APIs: XUL and HTML comboboxes - when pulled down, should have initial MSAA focus event on first focused option. r=kyle, sr=alecf, a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@132498 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 02:53:45 +00:00
kyle.yuan%sun.com
624d265c11
Bug 150590 should be able to type words into <select> - incremental search for item
...
r=jkeiser, sr=bryner
Support incremental typing navigation for <select>
git-svn-id: svn://10.0.0.236/trunk@130099 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 02:12:12 +00:00
dbaron%fas.harvard.edu
7e821aaa94
Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
...
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00
jkeiser%netscape.com
0c2a8f4e96
Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@122617 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 00:44:04 +00:00
rods%netscape.com
926073cd03
Click on the checkbox to get focus to the right spot and then press <tab> to
...
move between the listboxes.
Bug 64165 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@118690 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:53:20 +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
dbaron%fas.harvard.edu
4d91361814
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117345 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:26:36 +00:00
jkeiser%netscape.com
7becb2bb13
Tabbing out of dropdown does not reset selected item (bug 100188), r=rods@netscape.com, sr=attinasi@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@115061 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:59:46 +00:00
jkeiser%netscape.com
b15f0f5201
bug 110800 - fire onChange when losing dropdown focus. r=rods@netscape.com, sr=kin@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@114043 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 18:35:48 +00:00
jkeiser%netscape.com
aaa7dec32b
Make onChange, reflow system in comboboxes/lists better (bug 112241). r=rods, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@112903 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 23:35:44 +00:00
jkeiser%netscape.com
b800a9924e
Complete bug 112241 backout
...
git-svn-id: svn://10.0.0.236/trunk@112877 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 20:51:41 +00:00
jkeiser%netscape.com
4b4b5ee0ba
Make onChange, reflow system in comboboxes/lists better (bug 112241). r=rods, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@112867 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 19:08:03 +00:00
timeless%mac.com
21c081c8bc
Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
...
r='s from many people. sr=jst
git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
karnaze%netscape.com
d8577654db
bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@110006 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 14:51:12 +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
dbaron%fas.harvard.edu
8b3489a026
Bug 86947:
...
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow). Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed. Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106224 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 01:08:40 +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
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
jgaunt%netscape.com
ec95db79a7
bug 88509 - moving of a GetFrameType and layoutAtom from ifdef bidi land.
...
r=dbaron sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@99018 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-10 23:57:28 +00:00
jgaunt%netscape.com
99f7be2721
bug #86517 Landing of Accessible_052901_Branch4 sr=waterson
...
r= lots, see bug
git-svn-id: svn://10.0.0.236/trunk@98337 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 00:25:09 +00:00
rods%netscape.com
36b13cb2ba
Major rework of how items are added, removed and selected (while being added and removed) with script
...
Now all the changes are performed, but no reflows are issued until the timer fires, which would be
after the script is done executing. The selection that take place during the script execution are
also cached and done afterward.
Bug 53165 r=pollmann sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@96675 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 02:34:09 +00:00
hyatt%netscape.com
b7b1cb3691
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
...
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +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
jst%netscape.com
43eee52859
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
erik%netscape.com
44e2c24154
bug 71339; author=simon@softel.co.il; r=rods; sr=erik; changes from IBM
...
bidi project (Hebrew, Arabic, etc); in ifdef IBMBIDI for now
git-svn-id: svn://10.0.0.236/trunk@89836 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:20:21 +00:00
rods%netscape.com
80fcf7044d
change PRBool to PRPackedBool
...
Scroll to first item on DidReflow of Initial Reflow
Bug 54496 r=kmcclusk sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89067 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:21:51 +00:00
rods%netscape.com
ba2e2347f8
Now only doing 1 reflow for each reflow request in the ListControlFrame
...
for initial and full resize reflows
Bug 69869 r=kmcclusk sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@87751 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 01:45:45 +00:00