joki%netscape.com
c79e9c67d2
Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur
...
git-svn-id: svn://10.0.0.236/trunk@52691 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 07:11:45 +00:00
rods%netscape.com
13ee3e3b3d
Add CountAllChild to count all the option and optgroup elements so lists
...
get sized correctly when no rows are specified
r=kmcclusk, bug=4050
git-svn-id: svn://10.0.0.236/trunk@52622 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 00:07:01 +00:00
pollmann%netscape.com
4b235a7aef
Removing null code. No bug number. r=nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@52479 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 01:50:15 +00:00
rods%netscape.com
23778b8c16
Check to see if the option being added has the "selected" property, if it
...
does then the list needs to be reinitialized.
r=dcone, bug #17519
git-svn-id: svn://10.0.0.236/trunk@52392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 15:41:17 +00:00
rods%netscape.com
189a26e941
Listboxes now obey CSS specifed sizes
...
r=kmcclusk,related to bug 16317
git-svn-id: svn://10.0.0.236/trunk@52104 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 20:31:23 +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
c33c65e90f
changed the padding so it is adding in the correct left right instead of top bottom
...
r=kmcclusk, Bug #16936
git-svn-id: svn://10.0.0.236/trunk@51432 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 22:22:32 +00:00
rods%netscape.com
54bbcb0dfd
added code to the destructor to make sure the list get rolled up.
...
r=kmcclusk bug 15912
git-svn-id: svn://10.0.0.236/trunk@51303 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 21:59:04 +00:00
rods%netscape.com
4df3a52095
Removed old commented out code and unused comments. r=kmcclusk, (no bug)
...
git-svn-id: svn://10.0.0.236/trunk@51127 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 11:35:17 +00:00
kmcclusk%netscape.com
9827b1d455
Return the value of the option element value attribute if it is present otherwise return
...
the content of the option. bug #16158 . r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50724 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:41:40 +00:00
pollmann%netscape.com
419cb327c4
Bug 15841: Don't default to selecting item 0 of a listbox
...
Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd
git-svn-id: svn://10.0.0.236/trunk@50444 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 08:47:29 +00:00
rods%netscape.com
32093a83c6
Changed the way the list figures out how high a single item is, it now subtracts out the padding & border instead of just the border
...
r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@50146 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:39:50 +00:00
pavlov%netscape.com
743ccfad5b
ifdef out the call to CaptureMouse since it is no longer needed r=rods
...
git-svn-id: svn://10.0.0.236/trunk@49973 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 13:36:39 +00:00
pollmann%netscape.com
1c6394c2d0
Bug 15170: Implement onchange notification for list boxes
...
git-svn-id: svn://10.0.0.236/trunk@49888 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 23:43:06 +00:00
rods%netscape.com
8da5559e0f
Added new method to tell the listcontrolframe it is about to be rolled up by the combobox
...
this enables it to unset any temporary selections and restore the actual selection
git-svn-id: svn://10.0.0.236/trunk@49580 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 14:30:33 +00:00
rods%netscape.com
1a85c4c72e
Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
...
added some key support made it so it sets the focus back to the main webshell window when the drop down is closed
git-svn-id: svn://10.0.0.236/trunk@49428 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 11:37:58 +00:00
peterl%netscape.com
4c0553554b
manage view visibility better
...
git-svn-id: svn://10.0.0.236/trunk@49292 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 03:36:16 +00:00
dcone%netscape.com
181ceff44c
Added a Release.. to fix a leak
...
git-svn-id: svn://10.0.0.236/trunk@48977 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 13:49:12 +00:00
pollmann%netscape.com
e721d4ecd3
Bug 11488: Crash when deleting options from GFX selects
...
git-svn-id: svn://10.0.0.236/trunk@48569 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 13:25:32 +00:00
pollmann%netscape.com
3e62029e1d
Bug 13960: Combo box must not be dropped down before mouse moves update the selected option.
...
git-svn-id: svn://10.0.0.236/trunk@48253 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-19 09:48:04 +00:00
pollmann%netscape.com
d75e0e77d0
Bug 9136: Combobox selectedIndex now defaults to 0 instead of -1
...
git-svn-id: svn://10.0.0.236/trunk@47946 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 07:22:23 +00:00
pollmann%netscape.com
638725384b
Bug 13960: Update GFX combos when selection is set.
...
git-svn-id: svn://10.0.0.236/trunk@47855 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 22:36:29 +00:00
pollmann%netscape.com
8791c2aa99
Bug 13058: (Fixed Solaris bustage by removing Inherited typedef)
...
git-svn-id: svn://10.0.0.236/trunk@47538 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 05:31:31 +00:00
dcone%netscape.com
f3a6ab4151
Added a Mac case for creating the popup widget..
...
The #ifdef will come out when all platforms support the PopUp_CID
git-svn-id: svn://10.0.0.236/trunk@47391 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 21:29:58 +00:00
pollmann%netscape.com
26e9fe5487
Backing things out until I can get Solaris bustage figured out.
...
git-svn-id: svn://10.0.0.236/trunk@47373 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 20:42:26 +00:00
pollmann%netscape.com
50e561d4b7
Bug 13058: Implement nsIStatefulFrame for selects. Some memory leak fixes. Plus the usual plethora of bugfixes for native selects
...
git-svn-id: svn://10.0.0.236/trunk@47364 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 19:37:45 +00:00
rods%netscape.com
6ba1c874d6
cleaned up some code
...
add method to get the absolute rect of the combobox frame for hit detectio
now drop downs drop down under the select
git-svn-id: svn://10.0.0.236/trunk@47201 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 23:20:50 +00:00
rods%netscape.com
1de283e598
temporary fix for scrolling the dropdown until gfx scrollbars get in
...
git-svn-id: svn://10.0.0.236/trunk@47134 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 18:29:00 +00:00
rods%netscape.com
5f095f2ba0
When asked for the selected item string it return first the value, then the label then the content in that order if any are empty
...
git-svn-id: svn://10.0.0.236/trunk@46859 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 22:56:23 +00:00
rods%netscape.com
3f21931d7b
Better fix for option elements with no content in them
...
git-svn-id: svn://10.0.0.236/trunk@46600 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 19:37:23 +00:00
sfraser%netscape.com
a9e0730fdd
#ifdef out a bunch of rods's printfs.
...
git-svn-id: svn://10.0.0.236/trunk@46459 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 00:23:40 +00:00
rods%netscape.com
3d4e0155f9
Fixed selection in lists
...
git-svn-id: svn://10.0.0.236/trunk@46384 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 19:54:30 +00:00
rods%netscape.com
aa14d30718
Added the proper event processing for disabled options
...
ListBoxes (as dropdowns) are now notified before the are about to be dropped down
git-svn-id: svn://10.0.0.236/trunk@46345 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 14:27:38 +00:00
rods%netscape.com
58a795dc61
Removed ref counting changed the the popup is positioned
...
removing dom listeners on descruction
git-svn-id: svn://10.0.0.236/trunk@45341 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:22:50 +00:00
rods%netscape.com
63673bd8b6
change all index parameters to PRInt32 from PRUint32
...
added key listener support for keyboard navagation inside the list
fixed extended selection
fixed a minor problem with selecting an item
git-svn-id: svn://10.0.0.236/trunk@44842 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 14:42:27 +00:00
pollmann%netscape.com
33abb09aa1
Cleanup, and bugfixes for bug 12475 and 12350
...
git-svn-id: svn://10.0.0.236/trunk@44732 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 03:58:13 +00:00
rods%netscape.com
495de201aa
Completely reworked the select GFX object - List and Combobox, it now does all event processing
...
via DOM listeners instead of through the frames
git-svn-id: svn://10.0.0.236/trunk@44679 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 14:54:07 +00:00
pollmann%netscape.com
60e2a67f05
Bug 3256: Add ScrollIntoView() method to form frame objects.
...
git-svn-id: svn://10.0.0.236/trunk@43912 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 00:09:24 +00:00
rods%netscape.com
64ca5fd641
Renamed some methods and changed the selected item to be able to pass the currently selected index instead of just being able to get the currently selected item
...
git-svn-id: svn://10.0.0.236/trunk@43600 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:11:28 +00:00
rods%netscape.com
ab28d9a6f9
Fixed Reset to work properly, removed InitializeFromContent method, changed where the list was adding itself to FormControlFrame
...
git-svn-id: svn://10.0.0.236/trunk@43002 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:22:51 +00:00
rods%netscape.com
33ecbde954
Started to add code to better handle resizing when there are no elements.
...
git-svn-id: svn://10.0.0.236/trunk@42450 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 14:14:38 +00:00
rods%netscape.com
6464e75057
Made many changes to fix several bugs
...
git-svn-id: svn://10.0.0.236/trunk@41485 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:38:08 +00:00
troy%netscape.com
08b0ac1ce2
Added failure check for call to nsStyleData::GetBorder()
...
git-svn-id: svn://10.0.0.236/trunk@41422 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 04:48:34 +00:00
pavlov%netscape.com
947d846be6
window creation changes
...
git-svn-id: svn://10.0.0.236/trunk@41241 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 04:27:17 +00:00
kmcclusk%netscape.com
d08711ed3a
nsPresContext.cpp,.h - Added eWidgetRendering_PartialGfx as a rendering mode to PresContext.
...
ua.css - Added select[multiple] rule for multi-select listboxes without a size
Fixed form submission for gfx checkboxes,radiobuttons, and select by rewriting GetNamesValues.
Added nsListControlFrame::GetSizeAttribute and nsListControlFrame::GetNumberOfRows
Added logic to nsCSSFrameConstructor::ConstructSelectFrame and nsListControlFrame::Reflow
to handle the case of a multiselect select without a size specified.
git-svn-id: svn://10.0.0.236/trunk@40339 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 22:32:41 +00:00
troy%netscape.com
a89529386f
Added 'm' prefix to some of the nsHTMLReflowState data members
...
git-svn-id: svn://10.0.0.236/trunk@40215 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 03:41:03 +00:00
kmcclusk%netscape.com
12a07070be
fixed bugs #6303 , #6753 , #6756 , #6759
...
Re-wrote nsComboboxFrame.
removed the obsolete nsHTMLAtoms: comboText,comoTextSelected,comTextSelectedFocus,dropDownVisible,
dropdownHidden, dropDownBtnOut, dropDownBtnPressed,
Added nsHTMLAtoms::combobox, nsLayoutAtoms::popupList
Renamed dropDownList to dropDownListPseudo
Added "arrow.gif" as to be used the background-image for the combobox button
ua.css - added rules for select to differentiate between comboboxes and listboxes.
Added style rules to more closely match the XPTOOLKIT XPWidgets look.
removed the following :-moz-combobox-text, -moz-combobox-textselected
nsIFormControlFrame.h - Added SetSuggestedSize method.
nsButtonControlFrame - Implemented SetSuggestedSize.
nsCSSFrameConstructor.cpp - Rewrote ConstructSelectFrame.
nsIWidget.h -Added GetAbsoluteBounds method.
nsWindow.cpp - Implemented GetAbsoluteBounds.
git-svn-id: svn://10.0.0.236/trunk@39401 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:00:24 +00:00
sspitzer%netscape.com
151068ddd1
fix warning
...
git-svn-id: svn://10.0.0.236/trunk@38424 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 22:40:54 +00:00
kmcclusk%netscape.com
5526ed6cff
Modified gfx-rendered widget styles to more closely match styles
...
in http://www.mozilla.org/xpfe/nsGFXWidgets.html .
Added check for null mHitFrame in nsListControlFrame::MultipleSelection and
nsListControlFrame::SingleSelection.
git-svn-id: svn://10.0.0.236/trunk@36610 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 21:50:56 +00:00
kmcclusk%netscape.com
5c1bb39d17
Removed commented out code to perform system mouse capture.
...
git-svn-id: svn://10.0.0.236/trunk@36080 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 20:46:47 +00:00