154 Commits

Author SHA1 Message Date
peterl%netscape.com
346eec8473 cleaned up viewport pseudo elements
git-svn-id: svn://10.0.0.236/trunk@42689 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-08 01:23:22 +00:00
buster%netscape.com
aa79275b99 added disabled style to text areas
git-svn-id: svn://10.0.0.236/trunk@42642 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 05:37:06 +00:00
rods%netscape.com
7653e4a489 Added select:-moz-dummy-option
git-svn-id: svn://10.0.0.236/trunk@42456 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 14:43:46 +00:00
rods%netscape.com
417d4dd5ab Added generated content for optgroups, fixed option to be display:block
change optgroup inside of option


git-svn-id: svn://10.0.0.236/trunk@41490 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:43:43 +00:00
vidur%netscape.com
ec6663824d Forms can now be container content.
git-svn-id: svn://10.0.0.236/trunk@40735 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 23:28:16 +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
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
kipp%netscape.com
dcf41265cc Tweaked nested dl handling; added counter-reset property for better list numbering handling
git-svn-id: svn://10.0.0.236/trunk@39311 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:31:17 +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
peterl%netscape.com
a8f55c2339 set display type for map to block
git-svn-id: svn://10.0.0.236/trunk@36303 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 19:20:42 +00:00
peterl%netscape.com
6662ed1523 use '-moz-fixed' font for pre hack instead of 'monospace'
git-svn-id: svn://10.0.0.236/trunk@36302 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 19:19:13 +00:00
kmcclusk%netscape.com
040ca9ca76 Numerous changes to support gfx-rendered form elements.
git-svn-id: svn://10.0.0.236/trunk@36078 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 20:41:56 +00:00
peterl%netscape.com
82c9e7225a added namespace definitions
git-svn-id: svn://10.0.0.236/trunk@35391 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:17:17 +00:00
buster%netscape.com
a64d14749a added style for disabled text controls
git-svn-id: svn://10.0.0.236/trunk@35046 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 22:33:45 +00:00
pollmann%netscape.com
b1e77dc6a3 bug 2105: Textarea no longer inherits text color from parent.
git-svn-id: svn://10.0.0.236/trunk@34828 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:15:20 +00:00
pollmann%netscape.com
957e7f0de9 bug 3720: <LABEL> background draws properly now.
git-svn-id: svn://10.0.0.236/trunk@34827 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:10:56 +00:00
karnaze%netscape.com
fac683ae77 removed background rules for table elements
git-svn-id: svn://10.0.0.236/trunk@34077 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:19:05 +00:00
kmcclusk%netscape.com
45d6c97be2 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.


git-svn-id: svn://10.0.0.236/trunk@32972 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:17:10 +00:00
karnaze%netscape.com
d6b03337dc support for css padding in table cells
git-svn-id: svn://10.0.0.236/trunk@32042 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 05:18:16 +00:00
kmcclusk%netscape.com
e58f0da145 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.


git-svn-id: svn://10.0.0.236/trunk@31962 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:36:08 +00:00
evaughan%netscape.com
6073e2aa13 Fixed pseudoclass hack to actually use active, hover, focus pseudoclasses.
git-svn-id: svn://10.0.0.236/trunk@31365 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 01:35:16 +00:00
kmcclusk%netscape.com
4b50dd6645 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.


git-svn-id: svn://10.0.0.236/trunk@30740 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:30:16 +00:00
kipp%netscape.com
8e63f404b8 Make hidden form elements invisible
git-svn-id: svn://10.0.0.236/trunk@29978 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:49:06 +00:00
peterl%netscape.com
89583b2234 fixed image link border colors
git-svn-id: svn://10.0.0.236/trunk@29628 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:54:49 +00:00
kipp%netscape.com
176c7b76bc Added :-moz-letter-frame
git-svn-id: svn://10.0.0.236/trunk@29554 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 22:14:06 +00:00
karnaze%netscape.com
a6287dc06f <frame> or <iframe> without web shell gets background color from ua.css
git-svn-id: svn://10.0.0.236/trunk@29500 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 21:05:32 +00:00
kipp%netscape.com
e58b17d7b7 Fixed so that hidden form elements have no border
git-svn-id: svn://10.0.0.236/trunk@28936 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:16:40 +00:00
kipp%netscape.com
202ac53a50 Added -moz-line-frame for first-line support
git-svn-id: svn://10.0.0.236/trunk@28188 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:29:48 +00:00
troy%netscape.com
a1aebb8361 Commented out rules for img:-moz-text, which aren't what I want
git-svn-id: svn://10.0.0.236/trunk@27416 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 00:02:54 +00:00
kmcclusk%netscape.com
9e271034c0 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.


git-svn-id: svn://10.0.0.236/trunk@27218 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:14:31 +00:00
karnaze%netscape.com
5512ad4d6f remove margin-right from <input type=text>, <input type=password>, assists with bug1968
git-svn-id: svn://10.0.0.236/trunk@26882 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-09 20:56:13 +00:00
troy%netscape.com
934e254458 Added rules for Q tag
git-svn-id: svn://10.0.0.236/trunk@26267 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 02:56:37 +00:00
vidur%netscape.com
fe0a023b26 Added epilog and prolog to document. Added processing instructions and CDATASections for XML. Completed document Node methods.
git-svn-id: svn://10.0.0.236/trunk@25744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:49:25 +00:00
kipp%netscape.com
aa2cde4cea Added some attribute selectors to make pre wrap, cols and width work
git-svn-id: svn://10.0.0.236/trunk@25654 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:13:55 +00:00
peterl%netscape.com
6f24afcf15 fixed img in link border color
git-svn-id: svn://10.0.0.236/trunk@25350 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 04:46:40 +00:00
peterl%netscape.com
7fa39770a6 moved img alt-text sizing into text pseudo-element
git-svn-id: svn://10.0.0.236/trunk@25343 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 04:29:09 +00:00
kipp%netscape.com
2a65b0c8d1 Some tweaks for better compatability
git-svn-id: svn://10.0.0.236/trunk@25159 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:42:39 +00:00
troy%netscape.com
1c35dea4db Changed ILAYER from 'position:absolute' to 'position:relative'
git-svn-id: svn://10.0.0.236/trunk@24962 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 03:46:09 +00:00
kmcclusk%netscape.com
8b55ff9f7b 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.


git-svn-id: svn://10.0.0.236/trunk@24696 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 21:32:12 +00:00
peterl%netscape.com
05c92ee1ad Fixed table background inheritance, bug #1355
Checkin approved by chofmann


git-svn-id: svn://10.0.0.236/trunk@24231 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 22:33:29 +00:00
karnaze%netscape.com
fe3b92e60b removed code to set margins on radio buttons and checkboxes. It is now done using attribute selectors in ua.css.
git-svn-id: svn://10.0.0.236/trunk@24115 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 17:39:58 +00:00
evaughan%netscape.com
28720251d6 Fixed disabled bug on buttons.
git-svn-id: svn://10.0.0.236/trunk@24009 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 23:47:52 +00:00
vidur%netscape.com
52fcbb54d3 Put back in changes blown away by evaughn
git-svn-id: svn://10.0.0.236/trunk@23687 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 08:59:37 +00:00
nisheeth%netscape.com
840ff7b218 - 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.


git-svn-id: svn://10.0.0.236/trunk@23664 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 05:26:53 +00:00
evaughan%netscape.com
0615e95ff7 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.


git-svn-id: svn://10.0.0.236/trunk@23070 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 19:43:13 +00:00
kipp%netscape.com
6ef266bc6c Cleaned up margins hackery and made things use css instead of evil code in the block layout code
git-svn-id: svn://10.0.0.236/trunk@22832 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:18:58 +00:00
kmcclusk%netscape.com
4bd141876c 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


git-svn-id: svn://10.0.0.236/trunk@22614 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:43:26 +00:00
vidur%netscape.com
83118f458a 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.
git-svn-id: svn://10.0.0.236/trunk@22445 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 16:57:35 +00:00
troy%netscape.com
92f8d12843 Added pseudo style for 'page' element
git-svn-id: svn://10.0.0.236/trunk@21244 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:53:09 +00:00
kmcclusk%netscape.com
103dec6b88 changed pseudo styles file-button, file-text to -moz-file-button -moz-file-text in ua.css
Adjusted nsHTMLAtoms to match.


git-svn-id: svn://10.0.0.236/trunk@21214 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:36:59 +00:00