Commit Graph
164 Commits
Author SHA1 Message Date
karnaze@netscape.com 3506eb6ccd bug 4141 - space activating a button 1999-03-31 06:02:12 +00:00
joki@netscape.com f55ce704a2 Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements) 1999-03-28 22:22:54 +00:00
evaughan@netscape.com 7c7c346ac6 Added XUL based layout manager. 1999-03-27 00:58:29 +00:00
donm@netscape.com 36696a2e8c backing out evaughan's changes. tree closed. 1999-03-26 19:39:23 +00:00
evaughan@netscape.com 14d0e6458a Added box layout system. 1999-03-26 18:51:08 +00:00
kipp@netscape.com 74c9fdfeaf Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
peterl@netscape.com 82aa4e8465 augmented ReResolveStyleContext to capture style change information 1999-03-25 06:43:38 +00:00
kmcclusk@netscape.com 6fe29f4620 Various modifications/fixes/cleanup for frame-based listboxes.
Set display type to block for option elements in ua.css.
Enable frame-based listboxes when widget render mode is gfx.
1999-03-22 21:32:12 +00:00
hyatt@netscape.com 2a132c1007 Fixes for the mouseover toolbar button problem. Approved by Chris. 1999-03-18 21:18:00 +00:00
kipp@netscape.com 84538e6d86 Removed unused header file include 1999-03-18 21:01:24 +00:00
evaughan@netscape.com 01a451f6c4 Fixed disabled bug on buttons. 1999-03-12 23:47:52 +00:00
morse@netscape.com 65b3c6696c bug fix for single signon 1999-03-10 21:38:34 +00:00
warren@netscape.com 35d5e6e062 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
evaughan@netscape.com 526967b52b 1) Implemented regular button and html4 button with a button renderer.
2) Fixed ProgressMeter to update correctly when attributes change
3) Fixed sample8.html so that it does not over ride the borders of the HTML4 button this
   messed up the active, hover, and disabled states.
1999-03-06 19:43:13 +00:00
troy@netscape.com 8b474777ea Eliminated some code that's no longer needed now that the info is in the
HTML reflow state
1999-03-06 01:48:28 +00:00
kipp@netscape.com e67d3d776e Partial fix to bug #3094 1999-03-05 19:23:24 +00:00
kipp@netscape.com 74c87dfac9 Removed dead include 1999-03-05 19:23:09 +00:00
kipp@netscape.com f7e6af213c Removed ref to dead nsFrameReflowState 1999-03-05 15:22:03 +00:00
kipp@netscape.com 4b0544c35e use new nsHTMLReflowState ctors 1999-03-05 04:19:09 +00:00
evaughan@netscape.com e9263c1982 Fixed mac event bug.
Fixed alignment bug.
1999-03-03 04:04:48 +00:00
pollmann@netscape.com 9ae2a36503 Handle readonly changes for TextAreas as well as Text Inputs. 1999-03-03 03:06:36 +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
joki@netscape.com 91bba1f092 Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
brade@netscape.com eb547943d1 add static to LegendHack() to reduce compiler warnings on Macintosh 1999-03-02 15:17:35 +00:00
brade@netscape.com d1a672b626 add static to reduce compiler warnings on Macintosh 1999-03-02 15:17:14 +00:00
brade@netscape.com cd919bc90f reduce Macintosh compiler warnings by making function static 1999-03-02 15:15:46 +00:00
evaughan@netscape.com 2aa01d0930 Made the image accessible from CSS via list-style-image. 1999-03-02 05:00:51 +00:00
evaughan@netscape.com 8f362537ab Fixed button to respond to the list-style-image property on CSS 1999-03-02 01:25:33 +00:00
karnaze@netscape.com dca728e0d0 correctly set max element size on checkbox, radio. Other cleanup. 1999-02-27 03:59:19 +00:00
pollmann@netscape.com 52469b45fa Enable dynamic changing of the readonly attribute.
Works on Linux now.  Win will come on-line later today.
1999-02-26 20:01:48 +00:00
evaughan@netscape.com 8aa27ed33b Removed state info from button renderer. 1999-02-26 08:48:24 +00:00
evaughan@netscape.com 5ee98306bf Fixed up titled button so hover, focus, active, states work. 1999-02-26 06:41:10 +00:00
troy@netscape.com 7f63268a34 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
karnaze@netscape.com 06716b96b2 better sizing of form controls, especially percentage based sizes and max element sizes 1999-02-23 03:48:01 +00:00
mcafee@netscape.com 62f5e63479 Adding license; added do_QueryInterface() wrappers for nsCOMPtr stuff (Solaris) 1999-02-20 06:05:15 +00:00
evaughan@netscape.com b330b22643 Added a new XUL TitledButtonFrame 1999-02-19 18:23:02 +00:00
brade@netscape.com 7b9a9ad3ae add prototype to reduce warnings on Macintosh compiler 1999-02-19 16:13:47 +00:00
kmcclusk@netscape.com 51076c2025 Fixed call to ProbePseudoStyleContext in nsButtonControlFrame so it will compile
when NS_GFX_RENDER_FORM_ELEMENTS is defined.
Added checks to nsFileControlFrame::Reflow to make sure the pseudo styles actually
could be loaded. If they can't be loaded it uses the file upload elements style.
Changed file-buttonstyle to file-button and file-textstyle to file-text in ua.css
1999-02-18 22:07:23 +00:00
kmcclusk@netscape.com aa254ce0cc Added pseudo styles for file input element buttons and text fields to control their
appearance during printing.
Now returns value of file upload element in nsHTMLInputElement::GetValue.
Added :file-textstyle and :file-buttonstyle pseudo style's to ua.css.
Modified nsButtonControlFrame::PaintButton to accept a rectangle describing the
position and size of the button to paint.
Modified nsFileControlFrame::Paint to resolve :file-buttonstyle and :file-textstyle to
paint the file upload's button and text field using settings in ua.css
Added nsFileControlFrame::HasWidget utility method.
Added nsFormControlHelper::GetInputElementValue to get the current value of an input element
from the DOM.
Modified nsTextControlFrame::GetProperty to use nsFormControlHelper::GetInputElementValue
Modified nsTextControlFrame::PaintTextControl to accept a rectangle describing the position
and size of the text control to paint.
Modified nsTextControl::PaintTextControlBackground to include a rectangle describing the
position and size of the text control background to paint.
1999-02-18 00:13:39 +00:00
troy@netscape.com 602de2f255 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp@netscape.com 74b2988510 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
peterl@netscape.com 3f01d94bb1 changed all html atoms to lower case 1999-02-12 06:19:07 +00:00
evaughan@netscape.com 0201442b82 Made the HTML input button gfx rendered and in the netscape look and feel. Minus rounded borders
that CSS doesn't currently support.
1999-02-12 05:20:55 +00:00
rods@netscape.com 1dbd9c8ab9 Commented out the rollover code that sets the class to a pseudo-class 1999-02-11 18:36:40 +00:00
troy@netscape.com f39b9cee08 API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor 1999-02-11 15:56:23 +00:00
kmcclusk@netscape.com d7eefcc655 Fixed border rendering during printing for Select and text, and text areas.
Implemented SetProperty/GetProperty methods for FileControlFrame
Added nsGenericHTMLElement::GetPrimaryFrame check for nsnull for doc return type.
nsHTMLInputElement.cpp replace NS_OK == with  NS_SUCCEEDED in GetValue and SetValue
Added GetName and GetValue utility methods to nsFormControlHelper
modified nsButtonControlFrame::PaintButton to take the label to paint as an extra parameter.
This allows it to be callable from the nsFileControlFrame code to render the button.
1999-02-11 01:13:28 +00:00
troy@netscape.com 87805c7a92 Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +00:00
troy@netscape.com 655e2cab93 Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
troy@netscape.com 18893d3961 Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00
troy@netscape.com c63560927c Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&
1999-02-10 02:25:01 +00:00