190 Commits

Author SHA1 Message Date
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
kipp%netscape.com
1e1667142a Renamed bullet pseudo style
git-svn-id: svn://10.0.0.236/trunk@21197 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:20:19 +00:00
kmcclusk%netscape.com
92c173e493 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


git-svn-id: svn://10.0.0.236/trunk@21195 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:07:23 +00:00
kmcclusk%netscape.com
e999bd483b 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.


git-svn-id: svn://10.0.0.236/trunk@21055 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:13:39 +00:00
peterl%netscape.com
32d9feec85 fixed moz extension atoms
git-svn-id: svn://10.0.0.236/trunk@20543 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 06:21:34 +00:00
peterl%netscape.com
38427deaa9 changed all html atoms to lower case
git-svn-id: svn://10.0.0.236/trunk@20542 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 06:19:07 +00:00
evaughan%netscape.com
e0f9f5f8e2 Made the HTML input button gfx rendered and in the netscape look and feel. Minus rounded borders
that CSS doesn't currently support.


git-svn-id: svn://10.0.0.236/trunk@20521 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:20:55 +00:00
kmcclusk%netscape.com
ab05faab56 Added additional style rules+properties for INPUT elements for printing and gfx-rendering.
git-svn-id: svn://10.0.0.236/trunk@20426 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 18:27:38 +00:00
peterl%netscape.com
742ab46863 added :-moz-viewport
git-svn-id: svn://10.0.0.236/trunk@20388 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:48:51 +00:00
kmcclusk%netscape.com
15bf313676 Added rule for INPUT[type=radio] to set properties for gfx-rendered radio buttons.
git-svn-id: svn://10.0.0.236/trunk@20147 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 18:29:15 +00:00
kmcclusk%netscape.com
f33772358f Added INPUT[type=checkbox] rule + properties to ua.css to set style info
for gfx-rendered checkboxes.


git-svn-id: svn://10.0.0.236/trunk@19879 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:19:52 +00:00
harishd%netscape.com
bf5c14847f Added property "border: 1px -moz-bg-inset"
to HR


git-svn-id: svn://10.0.0.236/trunk@19752 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:08:39 +00:00
troy%netscape.com
1233cd2b49 Added PARAM {display:none}
git-svn-id: svn://10.0.0.236/trunk@19650 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 03:47:01 +00:00
peterl%netscape.com
9cce639e0f added missing semicolons
git-svn-id: svn://10.0.0.236/trunk@19403 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 03:10:29 +00:00
kipp%netscape.com
85096b6ed2 noise
git-svn-id: svn://10.0.0.236/trunk@19328 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:30:10 +00:00