Граф коммитов

236 Коммитов

Автор SHA1 Сообщение Дата
rods%netscape.com 66bfc13ac6 Completely changed the rules for the border and internal display for the combobox 1999-09-30 11:54:30 +00:00
peterl%netscape.com 959910c138 use 'collapse' instead of 'hidden' for comboboxes 1999-09-29 03:34:29 +00:00
kmcclusk%netscape.com c2ce94007e Set select[input type=button] to have a 2px outset border instead of a 1px outset border.
This prevents reflows when the mouse is moved over the combo box dropdown button.
1999-09-21 22:04:35 +00:00
rods%netscape.com b6d508aebe changed mulitple to mulitple 1999-09-21 19:34:53 +00:00
kipp%netscape.com 8d093e424a Put float-edge on UL/OL/MENU/DIR container and get rid of hack property 1999-09-17 00:58:07 +00:00
kipp%netscape.com 67aa380f16 Setup a magic margin for list items 1999-09-16 19:55:45 +00:00
rods%netscape.com 8925039ed2 removing display:block for the dummy frame for empty selects, this is for bug #13834
peter will be fixing the style system to really fix this.
1999-09-15 21:55:26 +00:00
rods%netscape.com 264dc1237a changing options to have min-height of 1em
changing selct to have nowrap white-space
1999-09-13 22:32:52 +00:00
pollmann%netscape.com d2b192a16d Don't change the cursor to a pointer when over a disabled image input. 1999-09-13 22:25:45 +00:00
peterl%netscape.com 240256290a even better li bullet positioning 1999-09-11 18:20:30 +00:00
peterl%netscape.com cd649c16bf fixed first boy child top margin better 1999-09-11 00:07:27 +00:00
peterl%netscape.com 08211a7951 better list style position
removed top margin from first body child
1999-09-10 23:31:15 +00:00
rods%netscape.com b0233d1ada added generated content for option elements with label attrs 1999-09-10 22:53:09 +00:00
peterl%netscape.com 702aaf6524 tweaking margins on lists 1999-09-10 22:42:53 +00:00
peterl%netscape.com c1fbee9392 fixed list style position rules to allow being overridden better 1999-09-10 21:56:03 +00:00
rods%netscape.com d675fc86a1 changed a couple of select disable attributes 1999-09-09 14:14:20 +00:00
rods%netscape.com d88c66a30a added rules for disabled options
changed nowrap to pre for processing of white space for options
1999-09-08 19:56:04 +00:00
pierre%netscape.com 9dab157a97 Fixed #6874 "Hover doesn't work for gfx-rendered buttons" 1999-09-04 00:15:43 +00:00
rods%netscape.com 330aa86411 added family and font size to type text and textarea 1999-09-03 14:35:17 +00:00
kipp%netscape.com 2489cbb7b8 Revised img linking/usemap rules as per suggestion in bug #8027 which fixes #8027 1999-09-01 20:58:59 +00:00
rods%netscape.com e826861c50 option (dropdown) fonts now match the select 1999-08-31 14:22:56 +00:00
rods%netscape.com 88b7272f14 added box-sizing property for form control, now width/height refer to outside border and padding edge instead of content edge 1999-08-31 14:16:02 +00:00
kmcclusk%netscape.com f52576ec61 bug #1222. Changed color for selected color for gfx-combobox options to match the
dark blue specified for gfx-listbox options.
1999-08-30 22:26:34 +00:00
kipp%netscape.com 8607e1fe21 Provide a small margin around tables and images here instead of hardcoding (bug #2119); make links red when active (bug #11230) 1999-08-27 21:51:46 +00:00
ducarroz%netscape.com 155d743008 Add rule for blockquote[type=cite] (use by messenger for display replied messages) 1999-08-27 21:11:55 +00:00
rods%netscape.com f4f7d3591c Added rule for input type=image, it sets the border to a 2px solid blue 1999-08-26 14:50:47 +00:00
evaughan%netscape.com a12f942778 xpscrollbars 1999-08-19 22:16:23 +00:00
rods%netscape.com d7fc6e2d31 Added all the focus rules in one place so we can make then right, then we can distribute then through out the file to were each element is defined 1999-08-19 14:48:42 +00:00
pollmann%netscape.com 9e851343f5 Bug 10939: Make image input element transparent 1999-08-11 03:49:31 +00:00
kmcclusk%netscape.com 12f49894e4 Changed default label for submit buttons to Submit Query from (submit)
Changed default label for reset buttons to Reset from (reset)
1999-08-10 22:17:08 +00:00
rods%netscape.com 8f5b13ed87 Added "disabled" rules for form controls 1999-08-10 19:35:13 +00:00
kmcclusk%netscape.com 61e361b49e 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
peterl%netscape.com ce07abf873 cleaned up viewport pseudo elements 1999-08-08 01:23:22 +00:00
buster%netscape.com 9fc632198d added disabled style to text areas 1999-08-07 05:37:06 +00:00
rods%netscape.com e5db62821d Added select:-moz-dummy-option 1999-08-06 14:43:46 +00:00
rods%netscape.com 3cfe429d81 Added generated content for optgroups, fixed option to be display:block
change optgroup inside of option
1999-07-28 21:43:43 +00:00
vidur%netscape.com 0ebbf485db Forms can now be container content. 1999-07-22 23:28:16 +00:00
kmcclusk%netscape.com af9e15b5e3 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
kmcclusk%netscape.com d42e178f95 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
kipp%netscape.com 06163d8177 Tweaked nested dl handling; added counter-reset property for better list numbering handling 1999-07-14 17:31:17 +00:00
kmcclusk%netscape.com a8794918c8 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.
1999-06-23 21:50:56 +00:00
peterl%netscape.com 0676d836b8 set display type for map to block 1999-06-22 19:20:42 +00:00
peterl%netscape.com d160093ada use '-moz-fixed' font for pre hack instead of 'monospace' 1999-06-22 19:19:13 +00:00
kmcclusk%netscape.com 881c29d70e Numerous changes to support gfx-rendered form elements. 1999-06-21 20:41:56 +00:00
peterl%netscape.com 1327a9be5a added namespace definitions 1999-06-15 06:17:17 +00:00
buster%netscape.com 5cfe276237 added style for disabled text controls 1999-06-12 22:33:45 +00:00
pollmann%netscape.com b43ee9f355 bug 2105: Textarea no longer inherits text color from parent. 1999-06-11 19:15:20 +00:00
pollmann%netscape.com 2500fadf60 bug 3720: <LABEL> background draws properly now. 1999-06-11 19:10:56 +00:00
karnaze%netscape.com 44a028be9f removed background rules for table elements 1999-06-07 21:19:05 +00:00
kmcclusk%netscape.com b1ab2535df fixes for bugs #5809, #5852, #6828, #6973.
Added a new test16.html sample to test gfx-rendered widgets to viewer.
Added support for test17.html sample to test printing.
1999-05-27 21:17:10 +00:00
karnaze%netscape.com ebeb68d601 support for css padding in table cells 1999-05-18 05:18:16 +00:00
kmcclusk%netscape.com d86150286d bug #994 Major rework of nsListboxControlFrame to support option groups. Modified ua.css
optgroup > option rule to use padding to offset the option group's options.
1999-05-17 22:36:08 +00:00
evaughan%netscape.com bf31c42dde Fixed pseudoclass hack to actually use active, hover, focus pseudoclasses. 1999-05-13 01:35:16 +00:00
kmcclusk%netscape.com e18026d96e bug #3547- Modified nsFileControlFrame.cpp to call nsFormFrame::AddFormControlFrame.
bug #5589. Selection area is now calculated using the inherited Reflow rather
than using the calculations used for the native listbox control.
Fixed varous other rendering bugs related to frame-based listboxes.
bug #2797. GetSize is no longer needed in nsListControlFrame and it has been removed.
Fixed frame-based combobox nsComboboxFrame so that will set it's label to the
first option in the drop-down list if a default value has not been specified.
Added optgroup style rules to ua.css. Opt groups now render, but there are remaining
problems with selection.
Modified nsButtonControlFrame::Reflow to call nsFormFrame::AddFormControlFrame.
This fixes a bug where Gfx-rendered submit button's were not working.
Refactored code in nsListControlFrame in preparation for supporting option groups.
Refactored selection code into SingleSelect and MultiSelect paths.
Removed unused code in nsListControlFrame.
Removed mSelectedFrame member variable. It is no longer needed.
Fixed nsListControlFrame::SetProperty so that it will toggle the selection in a
single select listbox.
1999-05-07 20:30:16 +00:00
kipp%netscape.com a94af7d585 Make hidden form elements invisible 1999-05-03 20:49:06 +00:00
peterl%netscape.com 5b688114ed fixed image link border colors 1999-04-28 00:54:49 +00:00
kipp%netscape.com a929243c2d Added :-moz-letter-frame 1999-04-27 22:14:06 +00:00
karnaze%netscape.com 2fd4785cf2 <frame> or <iframe> without web shell gets background color from ua.css 1999-04-27 21:05:32 +00:00
kipp%netscape.com 435cabda8e Fixed so that hidden form elements have no border 1999-04-23 20:16:40 +00:00
kipp%netscape.com 6a0e2e2f55 Added -moz-line-frame for first-line support 1999-04-20 00:29:48 +00:00
troy%netscape.com 63f4c3c732 Commented out rules for img:-moz-text, which aren't what I want 1999-04-14 00:02:54 +00:00
kmcclusk%netscape.com a2ffe366a4 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
karnaze%netscape.com e469bec232 remove margin-right from <input type=text>, <input type=password>, assists with bug1968 1999-04-09 20:56:13 +00:00
troy%netscape.com 4e2f68cde3 Added rules for Q tag 1999-04-05 02:56:37 +00:00
vidur%netscape.com d801e996bd Added epilog and prolog to document. Added processing instructions and CDATASections for XML. Completed document Node methods. 1999-03-31 20:49:25 +00:00
kipp%netscape.com d79b83d93b Added some attribute selectors to make pre wrap, cols and width work 1999-03-31 04:13:55 +00:00
peterl%netscape.com ad325a51d0 fixed img in link border color 1999-03-28 04:46:40 +00:00
peterl%netscape.com 9848661e5b moved img alt-text sizing into text pseudo-element 1999-03-28 04:29:09 +00:00
kipp%netscape.com 75e6f0ebb9 Some tweaks for better compatability 1999-03-26 00:42:39 +00:00
troy%netscape.com 44f622a087 Changed ILAYER from 'position:absolute' to 'position:relative' 1999-03-24 03:46:09 +00:00
kmcclusk%netscape.com ffdb06e4b0 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
peterl%netscape.com 5c031643b4 Fixed table background inheritance, bug #1355
Checkin approved by chofmann
1999-03-16 22:33:29 +00:00
karnaze%netscape.com 2c2f89ba0c removed code to set margins on radio buttons and checkboxes. It is now done using attribute selectors in ua.css. 1999-03-14 17:39:58 +00:00
evaughan%netscape.com 68e34096a0 Fixed disabled bug on buttons. 1999-03-12 23:47:52 +00:00
vidur%netscape.com 77e49edcf0 Put back in changes blown away by evaughn 1999-03-11 08:59:37 +00:00
nisheeth%netscape.com acf5451120 - changing ua.css to add style rules for the 'parsererror' and 'sourcetext' elements.
- added eHTMLTag_parsererror, eHTMLTag_sourcetext to the set of HTML tags.
- These tags are used within XML documents to show errors from expat.
1999-03-11 05:26:53 +00:00
evaughan%netscape.com 204a6670eb 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
kipp%netscape.com cf6c620f62 Cleaned up margins hackery and made things use css instead of evil code in the block layout code 1999-03-05 04:18:58 +00:00
kmcclusk%netscape.com 82dac76411 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 cb48e4047a 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
troy%netscape.com b236facd7f Added pseudo style for 'page' element 1999-02-19 00:53:09 +00:00
kmcclusk%netscape.com 8dcf8365b9 changed pseudo styles file-button, file-text to -moz-file-button -moz-file-text in ua.css
Adjusted nsHTMLAtoms to match.
1999-02-18 22:36:59 +00:00
kipp%netscape.com 94912a8da7 Renamed bullet pseudo style 1999-02-18 22:20:19 +00:00
kmcclusk%netscape.com 0006f5de38 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 9d22e42a58 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
peterl%netscape.com 9edcae35f2 fixed moz extension atoms 1999-02-12 06:21:34 +00:00
peterl%netscape.com 7f04fb00e6 changed all html atoms to lower case 1999-02-12 06:19:07 +00:00
evaughan%netscape.com db164f2293 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
kmcclusk%netscape.com c78c43bfcb Added additional style rules+properties for INPUT elements for printing and gfx-rendering. 1999-02-11 18:27:38 +00:00
peterl%netscape.com 0436fce459 added :-moz-viewport 1999-02-11 06:48:51 +00:00
kmcclusk%netscape.com b43bf8b75d Added rule for INPUT[type=radio] to set properties for gfx-rendered radio buttons. 1999-02-09 18:29:15 +00:00
kmcclusk%netscape.com c3434b6c31 Added INPUT[type=checkbox] rule + properties to ua.css to set style info
for gfx-rendered checkboxes.
1999-02-05 22:19:52 +00:00
harishd%netscape.com 00901bda2a Added property "border: 1px -moz-bg-inset"
to HR
1999-02-04 23:08:39 +00:00
troy%netscape.com aa918b76c9 Added PARAM {display:none} 1999-02-04 03:47:01 +00:00
peterl%netscape.com e2bbc594b2 added missing semicolons 1999-02-03 03:10:29 +00:00
kipp%netscape.com be8e33e32a noise 1999-02-02 17:30:10 +00:00
kipp%netscape.com 1f09f944d9 Added anonymous block style rule 1999-02-01 17:34:16 +00:00
troy%netscape.com ffda88e293 Removed some merge conflicts that someone must have accidentally checked in 1999-01-31 19:50:52 +00:00
karnaze%netscape.com 6256ccca5b Made table frame construction flexible enough to allow arbitrary content to be mapped
to arbitrary table related display types.
1999-01-30 15:52:19 +00:00
rods%netscape.com 45ef69a207 Added BUTTON.ROLLOVER and BUTTON.DIABLED pseudo-classes 1999-01-27 04:22:35 +00:00