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

197 Коммитов

Автор SHA1 Сообщение Дата
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
vidur%netscape.com ae6e5a8019 Comments added to content model. Comments and text content now have a special tagname 1999-01-22 22:48:00 +00:00
kipp%netscape.com 7f96144059 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
kipp%netscape.com 4d283102bd Store maps as nsIDOMHTMLMapElement instead of the obsolete nsIImageMap 1999-01-09 00:15:19 +00:00
troy%netscape.com c502a142cc Fix for bug #2040. Changed BODY to use margin and not padding now that #2054 is fixed 1999-01-08 02:51:07 +00:00
troy%netscape.com b0aeb44419 Fix for bug #2054. If the HTML element's background is 'transparent' then it
uses the BODY's background property
1999-01-08 01:14:59 +00:00
troy%netscape.com 16ca348baa Fixe for test8 hitting an assert 1999-01-03 00:15:56 +00:00
troy%netscape.com 5f3db9d048 Added :CELL-CONTENT rule for the area-frame that's inside the table cell.
Sets the 'display' property to 'block' to override the default value of
'inline'
1999-01-02 21:01:37 +00:00
troy%netscape.com 8e168ef086 Better computation of computed width and height and margins for block-level
elements
1998-12-31 05:35:38 +00:00
troy%netscape.com 7b5cc03059 Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code
1998-12-29 03:38:16 +00:00
troy%netscape.com 9619058141 Changed the frame hierarchy, and changed how scrolling works. Also added
nsAreaFrame which replaces nsBodyFrame which is no longer used
1998-12-20 23:29:47 +00:00
rods%netscape.com e70cae473d Added Pseudo-element styles for the scrollbar "look" 1998-12-15 19:11:57 +00:00
troy%netscape.com e6b80694e0 Changed comments to conform to CSS2 guidelines for C-style comments 1998-12-12 19:07:38 +00:00
kipp%netscape.com 50844df3ca Futzed with list item handling a bit 1998-12-11 22:22:29 +00:00
buster%netscape.com 1f09ce3031 added table pseudo-style contenxts 1998-12-03 18:03:28 +00:00
peterl%netscape.com e5073780c6 fixed decoration style of del 1998-12-02 00:35:26 +00:00
troy%netscape.com 4893fa0a92 Added nsHTMLAtoms::wrappedFramePseudo and changed ConstructFrame() to use
it instead of nsHTMLAtoms::columnPseudo
1998-11-20 23:27:59 +00:00
kipp%netscape.com fd8a5d1360 Made HTML a block (which it is going to be someday) so that percentage margins in the BODY will be computed correctly 1998-11-20 22:21:38 +00:00
buster%netscape.com 54996e3fa5 added :TABLE pseudo-style 1998-11-20 21:06:59 +00:00
peterl%netscape.com 8345b5f818 cleaned up cursor handling 1998-11-18 02:10:45 +00:00
kipp%netscape.com 68c8ed8188 Cleaned up OL/UL margins 1998-11-15 01:13:00 +00:00
joki%netscape.com 75313e6a08 Modify cursor types from default to inherit (they're the same internally right now) 1998-11-14 00:00:03 +00:00
troy%netscape.com 532ccd2885 Cleaned up the way construction of the root frame happens for XML documents.
We no longer create a pseudo root element
1998-11-12 23:03:35 +00:00
kipp%netscape.com 21c0ad58b2 Added a reminder to the ua.css 1998-11-10 18:00:46 +00:00
troy%netscape.com cc256d154b Fixed ConstructFrame() so it creates the scroll frame first. This ensures
the style context hierarchy is correct
1998-11-06 17:57:24 +00:00
troy%netscape.com 3c62625d97 Added support for using foreground color and background color from user
preferences. Also made it so we observe the preferences, get a callback if
they change, and then do a style change reflow
1998-11-06 16:16:01 +00:00
peterl%netscape.com 4b024efc62 added default style for INS, DEL & DFN 1998-11-06 00:51:46 +00:00
peterl%netscape.com 66e00aeb03 added inherit rules for table child elements 1998-11-03 20:25:23 +00:00
troy%netscape.com fe4e76d9d9 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
kipp%netscape.com e09b41d06b Removed bogus line-height that caused lots of tables to look wrong (bug #636) 1998-10-31 00:23:52 +00:00
troy%netscape.com c16076d5ca Changed to use a scroll frame for the BODY 1998-10-29 23:25:02 +00:00
peterl%netscape.com 055f6c9ae8 renamed cursor values 1998-10-26 23:14:45 +00:00
troy%netscape.com 3441ff97d9 Changed some comments 1998-10-24 05:03:55 +00:00
karnaze%netscape.com 2a0c2366bb implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls. 1998-10-22 23:00:37 +00:00
troy%netscape.com 9b9a796719 Added new pseudo class style :SCROLLED-CONTENT 1998-10-22 20:12:34 +00:00
karnaze%netscape.com 9fb22bd084 html 4 <BUTTON> basic functionality 1998-10-17 00:35:32 +00:00
kipp%netscape.com b53160a31e Moved bullet pseudo-style next to LI defns to make it clear how to keep them in sync 1998-10-16 23:18:18 +00:00
kipp%netscape.com e38d304eb9 Make default line-height be normal 1998-10-16 22:05:03 +00:00
kipp%netscape.com 9fb39f0732 Setup display:none for NOEMBED, NOSCRIPT and NOFRAMES 1998-10-15 05:11:23 +00:00
peterl%netscape.com 7adba8a6ce shifted absolute font sizes so initial value matches HTML
removed table border style
1998-10-13 19:12:19 +00:00