Commit Graph
38 Commits
Author SHA1 Message Date
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 05d375abd4 Changes to the tree widget to prevent memory whackage that's causing
crashes.  This should fix several of the mailnews bugs.  It's hard to
say exactly which of them will be fixed by this, since some of them
are caused by memory whackage and others are real bugs in the widget
itself.

Also adding in support for Troy's primary frame hashtable, thus ensuring
that when the tree widget dynamically deletes frames that the mappings
in the hashtable are removed (so that deleted frames won't accidentally
be retrieved).
1999-07-09 20:58:16 +00:00
kipp@netscape.com edaa2b529e Fixed bug #8905 by moving a copy of the first-letter construction code into the bowels of the generated content frame generation code 1999-07-05 18:46:09 +00:00
troy@netscape.com 54686a5ac5 Added function FindPrimaryFrameFor() 1999-07-02 04:46:19 +00:00
evaughan@netscape.com da24d01f00 Added anonymous node support.
Added splitters
Added Grippies.
1999-06-30 22:17:43 +00:00
hyatt@netscape.com 949d33f20b Turning on the lazy mode in the tree widget. It is now the default. Let
the bug filing begin. :(
1999-06-29 20:20:40 +00:00
hyatt@netscape.com cebe125cdd Number Two: Mail/news performance continued to decline. We thought the
situation with the tree widget was hopeless.  And so we cloned it.  This
new tree widget is exactly like the original in every way... only
1/8 its size.

Dr. Evil: I shall call it... MINI-TREE.

(Translation: Backward scrolling now works in the lazy tree
widget.)
1999-06-28 08:35:10 +00:00
hyatt@netscape.com d6f1501962 Landing the tree widget branch. 1999-06-23 03:02:21 +00:00
kmcclusk@netscape.com 04288dc757 Numerous changes to support gfx-rendered form elements. 1999-06-21 20:41:56 +00:00
evaughan@netscape.com 4ae65b208b Integrated a new XP scrollbar
Added tri state behavior to titled buttons.
1999-06-15 04:02:43 +00:00
buster@netscape.com 3756209605 added support for ender GFX-Rendered text control 1999-06-12 22:32:41 +00:00
karnaze@netscape.com 958c0c0335 fixed crash in bug 5190, allowing a table to be the top level XML element. 1999-04-30 19:51:59 +00:00
troy@netscape.com f03c3b02a7 Aded nsFrameConstructorState structure 1999-04-28 19:08:14 +00:00
kipp@netscape.com e7ef0f2821 Fixed bug in floater placement; use correct content object to get style for inline frames that contain first letter frames 1999-04-28 00:21:51 +00:00
kipp@netscape.com b98dc4690e Create first-letter frames as needed 1999-04-27 22:14:54 +00:00
troy@netscape.com 895b2a5ae9 Change so we use nsPlaceholderFrame frames for all placeholders 1999-04-25 16:58:42 +00:00
peterl@netscape.com 686ead6a18 widened state change api
added test for state dependent style
1999-04-20 00:05:14 +00:00
troy@netscape.com 244d123285 Fixes for bug #1994. Better handling of floated and positioned images when
displaying the alternate contents
1999-04-14 04:00:16 +00:00
kmcclusk@netscape.com 6d0ccb0c87 Enabled frame-based comboboxes when widget rendering mode is gfx.
Major changes to nsComboboxControlFrame:
Removed commented out code + nsIPluggableEventListener references.
Implemented nsComboboxControlFrame::GetNamesValues
Implemented nsComboboxControlFrame::SetProperty GetProperty methods
Fixed references to previously freed memory in nsComboboxControlFrame::ReResolveStyleContext
Modified ua.css style rules for dropdown-visible, drodown-hidden to have -moz- prefix.
Added -moz-dropdown-btn-out and -moz-dropdown-btn-pressed, -moz-dropdown-list rules.
Modified nsListControlFrame.cpp to calculate the width of the dropdown list for combo boxes correctly
Added nsListControlFrame::GetProperty and SetProperty methods.
Modified nsCSSFrameConstructor::ConstructSelectFrame to setup combobox.
1999-04-12 22:14:31 +00:00
troy@netscape.com a05de603d0 Added a check that the content objects match when determining if a
frame is generated content
1999-04-07 03:10:59 +00:00
troy@netscape.com ce88eee8bd Changed ContentAppended() and ContentInserted() to work correctly
if the parent frame has :before or :after pseudo-elements
1999-04-06 04:58:05 +00:00
troy@netscape.com 0200bf0edc Work on generated content 1999-04-05 02:53:07 +00:00
troy@netscape.com 4b413787c3 Work-in-progress for generated content 1999-03-30 15:22:54 +00:00
peterl@netscape.com 9ab1fe5fb2 added methods to process style changes on frames 1999-03-25 06:42:07 +00:00
troy@netscape.com 7d715a4247 Work-in-progress for table pagination 1999-03-03 16:33:57 +00:00
kmcclusk@netscape.com 73485522a4 gfx vs native widget rendering can now be specified in the viewer at run-time.
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN
1999-03-02 22:43:26 +00:00
vidur@netscape.com 2fb8478b86 Fixed MAP elements to conform to HTML 4.0. Hooked up attribute changes for MAP, AREA and ANCHOR elements. Added RECONSTRUCT_ALL as a style hint for attribute changes. Modified nsCSSFrameConstructor's ReconstructFrame to only reconstruct the document element hierarchy. 1999-03-01 16:57:35 +00:00
karnaze@netscape.com c7d2c5be3e fixed assert when <col> is placed inside of <table> 1999-02-27 19:02:48 +00:00
peterl@netscape.com eecf0b23f5 added content state changed 1999-02-27 07:15:09 +00:00
kipp@netscape.com b7582d6849 Whacked to handle moving floaters out of the flow 1999-02-26 17:11:54 +00:00
karnaze@netscape.com b45a27787b fixed bug where anonymous table frame is constructed inside table related frame.
simplified table frame construction.
1999-02-26 09:15:03 +00:00
troy@netscape.com 80d05116c1 Added logic to replicate the caption when splitting the table 1999-02-26 03:35:22 +00:00
troy@netscape.com c8775cfae2 Added CreateContinuingFrame() function to frame construction code 1999-02-24 04:03:50 +00:00
hyatt@netscape.com f4e7c1fe1a Changes to the table frame construction code to fix breakage in the tree view. 1999-02-12 01:35:37 +00:00
karnaze@netscape.com 4a1581b653 table related frames don't create frames for children that are invalid (e.g. map, body, etc.) 1999-02-11 23:08:28 +00:00
hyatt@netscape.com 45df0560ba Changing the way table frames are created so that tree frames can be made
as well.
1999-02-10 19:50:50 +00:00
troy@netscape.com a4e5fd599f Created ConstructAlternateImageFrame() function from some existing code,
and changed it to use the "src" attribute if there is no "alt" or "title"
values to use
1999-02-06 03:45:11 +00:00
peterl@netscape.com 00bf402d02 moved frame construction code from HTML style sheet 1999-02-05 03:55:18 +00:00