Commit Graph

497 Commits

Author SHA1 Message Date
rods@netscape.com
a0d2e045a3 added an extra check to make sure we have a valid child frame. childFrame could be null when native widgets are turned on 1999-08-10 21:28:06 +00:00
kmcclusk@netscape.com
c440633943 Rewrote nsButtonControlFrame. It is now based on nsHTMLButtonControlFrame.
Added style rules to set submit, reset, and browse buttons default labels.
1999-08-10 19:13:57 +00:00
morse@netscape.com
d7e28a479c avoid an uninitialized memory access 1999-08-08 19:16:09 +00:00
morse@netscape.com
f9ba3a8f03 fix a crash in cookie viewer 1999-08-08 18:10:19 +00:00
peterl@netscape.com
6c98352deb cleaned up style contexts of viewport and friends 1999-08-08 01:16:50 +00:00
rods@netscape.com
dc7cd5256b Fixed build breakage, passing in wrong variable, and it was uninitialized. 1999-08-06 21:45:14 +00:00
bienvenu@netscape.com
f3dd01d8dc fix build bustage for rods 1999-08-06 21:43:33 +00:00
rods@netscape.com
fc5b8fe31e Added RemoveDummyFrameFromSelect method for removing the dummy frame when the select is empty, finished adding the code to completely handle the creating and removing of the dummy frame. 1999-08-06 21:14:45 +00:00
hyatt@netscape.com
6b3be9bdf2 Popup set frames can be created. 1999-08-06 19:20:56 +00:00
rods@netscape.com
fdf78b2fde Added code to create and remove the generated content and frame when the select has no options. This necessary for correct sizing of the select when empty. 1999-08-06 14:11:14 +00:00
pierre@netscape.com
9e5067f4cd breaking up gfx & native widgets 1999-08-06 05:11:39 +00:00
troy@netscape.com
a07d692708 Added NULL pointer check for frame manager in DeletingFrameSubtree() 1999-08-05 03:30:09 +00:00
troy@netscape.com
d2e28c48a0 Changed frame construction code to use frame manager when modifying frame
model
1999-08-05 03:09:22 +00:00
pinkerton@netscape.com
292675313f removing the TOOLBAR_DD #ifdef's. 1999-08-04 20:16:31 +00:00
rods@netscape.com
1881e2c5d6 Added the style context to the CreateInputFrame method, the pseudoContext
was not being created with it's parent and needed to be. Fixes Bug #10716
1999-08-03 14:41:48 +00:00
hyatt@netscape.com
f9c919b756 Phase 3. Enabling XP menus on the menu bar. 1999-07-31 11:29:03 +00:00
rickg@netscape.com
9e8c855244 replaced calls to deprecated nsString API 1999-07-26 00:37:24 +00:00
troy@netscape.com
ce310fc14f Fix for bug #10268. I used '&&' when I really meant to use '||' and that caused us
to create the wrong type of frame for relatively positioned H1 elements
1999-07-24 23:08:34 +00:00
peterl@netscape.com
a767a54df3 added basic support for inline-block 1999-07-24 19:01:43 +00:00
troy@netscape.com
d08706a0e6 Fixed a problem in ContentRemoved() where for fixed position frames the
wrong child list name was being used
1999-07-24 03:58:35 +00:00
hyatt@netscape.com
9c2e727d5c Adding the capability to distinguish menus and menu items. 1999-07-23 05:11:49 +00:00
vidur@netscape.com
fedbce2269 Forms can now be container content. 1999-07-22 23:28:16 +00:00
hyatt@netscape.com
5e0bd70ffc Fixing my while loops. They could crash under rare circumstances. 1999-07-22 10:06:38 +00:00
troy@netscape.com
d6f5216441 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
hyatt@netscape.com
65c6f47f71 Crash without these null checks. 1999-07-21 00:17:39 +00:00
hyatt@netscape.com
6c4af4e96b Introduced an infinite loop (sigh). Fixing the problem. 1999-07-21 00:11:23 +00:00
hyatt@netscape.com
98ec626beb Had messed up tree widget code on removal, insertion, and append. Fixed now. 1999-07-20 23:24:10 +00:00
kmcclusk@netscape.com
1e6157fdaf 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.
1999-07-20 22:32:41 +00:00
hyatt@netscape.com
06248baa4e Forget the scrolling frame on menus. I don't need it to make this work. 1999-07-20 07:29:22 +00:00
hyatt@netscape.com
6994f2731a Making sure the pseudo stuff gets handled for the XP menu object. 1999-07-20 07:19:22 +00:00
hyatt@netscape.com
413882a17b Making sure some of the XUL frames get properly wrapped in scroll frames. 1999-07-20 07:03:16 +00:00
troy@netscape.com
edca548c79 Fix for bug #10176: changed ConstructFrameByDisplayType() to be smarter
when handling relatively positioned elements
1999-07-20 04:16:56 +00:00
rickg@netscape.com
1f4b1d5e46 switch to faster string search API 1999-07-19 03:29:56 +00:00
hyatt@netscape.com
2beafe97a3 Adding the menu bar frame. 1999-07-18 07:07:55 +00:00
hyatt@netscape.com
4c522f5990 Adding the menu frame instantiation code for XP menus. 1999-07-18 06:37:06 +00:00
hyatt@netscape.com
04cb3d2d6b Working on making the menu popup frame for XP menus. 1999-07-18 06:29:43 +00:00
hyatt@netscape.com
fea04c042f Turning on XP menus. 1999-07-18 03:16:58 +00:00
peterl@netscape.com
14f1a53ba8 fix atom api 1999-07-18 00:25:54 +00:00
troy@netscape.com
5a92ab3f5a Clean up in InitializeScrollFrame() to make sure floated and positioned elements
have their parent frame pointer set correctly
1999-07-17 00:49:54 +00:00
troy@netscape.com
a70f0d2d80 Fix for bug #3605. The problem was that when creating table caption and table cell
frames we weren't pushing a new float context. That meant floated images had an
incorrect parent frame pointer
1999-07-16 23:04:27 +00:00
troy@netscape.com
c76aa8b7cd Minor cleanup 1999-07-16 18:17:14 +00:00
troy@netscape.com
e235eaff09 Fix for bug #9891: added NULL pointer check in ContentInserted() 1999-07-16 02:14:26 +00:00
kmcclusk@netscape.com
0bdaefde4e 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.
1999-07-14 22:00:24 +00:00
hyatt@netscape.com
7b8e249d3f Fix for bugs 9601 and 9698. 1999-07-14 19:21:27 +00:00
kipp@netscape.com
057df795c2 Tweaked an improper if then else code from troy 1999-07-14 17:31:43 +00:00
troy@netscape.com
56631f1a3a Fix for bug #9733. Changed CantRenderReplacedElement() so it resets the primary
frame mapping for the image
1999-07-14 15:11:37 +00:00
troy@netscape.com
300e2000fb Fixed a problem in ConstructFrameByTag() where the parent frame was wrong
for floated elements
1999-07-14 15:10:10 +00:00
sspitzer@netscape.com
6af0f57d48 fix for #9698. check pointer before dereferencing. 1999-07-12 19:41:03 +00:00
hyatt@netscape.com
b56781c717 Batching removal and making sure I get notified (in an attempt to fix some
of the out of sync problems the tree widget is having).
1999-07-10 01:10:40 +00:00
hyatt@netscape.com
e9dcf96e9d Fix for bug 9503. 1999-07-10 00:51:35 +00:00