Commit Graph

856 Commits

Author SHA1 Message Date
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
vidur%netscape.com
9d805ae9c6 Propagate visibility style across table boundaries. 1999-05-17 21:17:21 +00:00
warren%netscape.com
87b26617d5 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
sspitzer%netscape.com
39efa1c7f8 make destructors virtual 1999-05-13 02:11:25 +00:00
evaughan%netscape.com
bf31c42dde Fixed pseudoclass hack to actually use active, hover, focus pseudoclasses. 1999-05-13 01:35:16 +00:00
alecf%netscape.com
334b3a5e33 Count() is no longer const 1999-05-12 02:55:54 +00:00
alecf%netscape.com
a4c1fbdaa8 remove const-ness from nsICollection::Count() so that it can be represented with XPIDL 1999-05-12 02:53:37 +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
alecf%netscape.com
b8c3aa89b4 don't dereference aContext without checking for null 1999-05-07 03:08:02 +00:00
kipp%netscape.com
a94af7d585 Make hidden form elements invisible 1999-05-03 20:49:06 +00:00
pinkerton%netscape.com
7638e305fb added GetIID() method. 1999-04-30 08:59:11 +00:00
kipp%netscape.com
b99109494b Activate the first-letter special rule; fixed a memory leak 1999-04-28 01:16:45 +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
kipp%netscape.com
1c9b5f37dd Added more info to the list output 1999-04-27 22:08:48 +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
rickg%netscape.com
13ca296be6 update to sync with nsString2 1999-04-22 05:49:39 +00:00
rickg%netscape.com
1a3777a0b7 updates to sync with nsString2 api 1999-04-21 23:48:41 +00:00
bruce%cybersight.com
58575369dd Fix for ANSI C++ compliance: friend foo -> friend class foo 1999-04-21 04:16:46 +00:00
peterl%netscape.com
f7c79764b1 turned off style rule hash debugging code 1999-04-20 14:22:37 +00:00
kipp%netscape.com
6a0e2e2f55 Added -moz-line-frame for first-line support 1999-04-20 00:29:48 +00:00
kipp%netscape.com
1ada64d1cd Support first-line style 1999-04-20 00:28:40 +00:00
peterl%netscape.com
c503d0ed68 added tests for state dependent style 1999-04-20 00:05:54 +00:00
peterl%netscape.com
04f5fc38c1 widened content state change api
added test for state dependent style
1999-04-20 00:02:22 +00:00
peterl%netscape.com
fbde443a95 split font style mapping from regular style mapping 1999-04-15 21:23:05 +00:00
peterl%netscape.com
aa95291e32 fixed pseudo element parsing 1999-04-15 21:22:41 +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
kipp%netscape.com
26c9966824 Allow negative values for clip rects as per css spec 1999-04-10 17:33:09 +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
rickg%netscape.com
c4b62ed8c6 tiny tweaks to keep in sync with new nsString 1999-04-06 00:29:40 +00:00
troy%netscape.com
4e2f68cde3 Added rules for Q tag 1999-04-05 02:56:37 +00:00
kipp%netscape.com
500d6ef58f Fixed an oopsie that prevented enumerating the override and backstop sheets 1999-04-03 18:56:45 +00:00
peterl%netscape.com
f0b7fcff54 added -moz-border-radius 1999-04-03 03:15:01 +00:00
peterl%netscape.com
d5e687f7f6 backing out prevoius changes (unix didn't like it) 1999-04-02 19:57:07 +00:00
peterl%netscape.com
ad625281d0 initialize bitfields through a union to keep purify happy 1999-04-02 18:51:28 +00:00
peterl%netscape.com
ff014c1442 connected content properties to style context 1999-04-02 18:49:40 +00:00
peterl%netscape.com
37cbacb459 added nsStyleContent 1999-04-02 18:48:55 +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
kipp%netscape.com
9c9c6988c3 Added eStyleUnit_Chars 1999-03-31 04:08:07 +00:00
joki%netscape.com
1c2882e5e6 Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements) 1999-03-28 22:22:54 +00:00
peterl%netscape.com
ad325a51d0 fixed img in link border color 1999-03-28 04:46:40 +00:00
peterl%netscape.com
89cd6f6017 added support for outline
border color fixes
1999-03-28 04:31:57 +00:00
peterl%netscape.com
b7974865e3 fixed tokenization bug (treating "+.foo" as a number) 1999-03-28 04:31:12 +00:00
peterl%netscape.com
52d76ba2be fixed bug in parsing backgrounds 1999-03-28 04:29:57 +00:00
peterl%netscape.com
9848661e5b moved img alt-text sizing into text pseudo-element 1999-03-28 04:29:09 +00:00
peterl%netscape.com
94d2d6c3bb added support for outline, border corner radius, transparent border
tweaked opacity
1999-03-28 04:28:22 +00:00
kipp%netscape.com
75e6f0ebb9 Some tweaks for better compatability 1999-03-26 00:42:39 +00:00
peterl%netscape.com
b37e4f0df7 added percent handling for opacity property 1999-03-25 06:43:07 +00:00
peterl%netscape.com
c93029d956 fix whitespace handling on attribute selectors 1999-03-25 06:42:42 +00:00
peterl%netscape.com
99ed50bd06 made opacity inherit by default 1999-03-25 06:34:57 +00:00
kipp%netscape.com
6ed2d1fdbb Added some -moz keywords 1999-03-25 03:46:58 +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
troy%netscape.com
c6c4afe1b6 Fixed MapDeclarationInto() so it correctly handles 'min-width', 'max-width',
'min-height', and 'max-height'
1999-03-11 20:29:02 +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
vidur%netscape.com
634e324575 Added CreateElementWithNameSpace to proprietary document interface. Fixed GetTagName for HTML to uppercase tag names. Hooked up style rule addition and deletion to reconstruct frames. Fixed DOM generation problem 1999-03-10 01:17:49 +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
troy%netscape.com
a1ca1b831c In RulesMatching(), changed NS_RELEASE to NS_IF_RELEASE for the link handler.
This fixes a crash when doing a print preview
1999-03-06 17:20:27 +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
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +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
peterl%netscape.com
8c7771ba8f fixed active link rule support 1999-02-27 07:18:21 +00:00
peterl%netscape.com
ee60b04ab0 added support for dynamic pseudo classes
added support for child & sibling selectors
1999-02-27 07:17:52 +00:00
peterl%netscape.com
75a76e322e added child & sibling selector support 1999-02-27 07:16:57 +00:00
peterl%netscape.com
8e0f3b58c4 added child & sibling selectors 1999-02-27 07:15:59 +00:00
peterl%netscape.com
716fdea6b7 added CalcStyleDifference 1999-02-27 07:11:42 +00:00
peterl%netscape.com
ba5f08e24c added content state changed
removed ua sheet from dump style
1999-02-27 07:11:04 +00:00
peterl%netscape.com
46c784a7db added == operator for style sides 1999-02-27 07:09:40 +00:00
hyatt%netscape.com
375ee1d8f5 Changed GetID, HasClass, and GetClasses so that they are invoked on styledContent
instead of htmlContent.
1999-02-27 01:35:51 +00:00
hyatt%netscape.com
e29262df04 Changed GetInlineStyleRule so that it is invoked on styledContent instead
of htmlContent.
1999-02-27 01:35:25 +00:00
hyatt%netscape.com
06368ef067 Changed GetContentStyleRule so that it is invoked on styledContent instead
of htmlContent.
1999-02-27 01:34:55 +00:00
kipp%netscape.com
960bc34221 fixed up operator new usage 1999-02-26 20:02:06 +00:00
kipp%netscape.com
760dc4af42 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
kipp%netscape.com
a757e2efbe Cleaned up operator new and delete 1999-02-26 17:13:10 +00:00
kipp%netscape.com
63f4abfd18 Implement operator delete properly; removed dependency on static constructor 1999-02-26 17:03:18 +00:00
troy%netscape.com
da0991df28 Added CreateContinuingFrame() function to frame construction code 1999-02-24 04:03:50 +00:00
kipp%netscape.com
bb34e891d8 Latest snapshot using linux version of the tools 1999-02-23 19:38:50 +00:00
warren%netscape.com
01dd4f0ed6 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +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
kipp%netscape.com
2b027db79b updated hash generator 1999-02-18 03:29:24 +00:00
kipp%netscape.com
eeca19df62 Removed usage of GetAutoMarginSize 1999-02-18 03:24:58 +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
troy%netscape.com
21440e671d Added some casts to get things to compile 1999-02-14 06:12:29 +00:00
troy%netscape.com
07ce269f24 Added cast to get it to compile 1999-02-14 06:10:51 +00:00
troy%netscape.com
0debd6f0d1 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp%netscape.com
36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +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
peterl%netscape.com
7abf9dcf70 handle case sensitivity in attribute selector values here 1999-02-11 06:42:49 +00:00
peterl%netscape.com
e3cc02769e fixed bug while tokenizing ints at end of input stream 1999-02-11 06:42:02 +00:00
peterl%netscape.com
587f4aa26e made class selectors case sensitive
moved case-insensitive support for attribute values to style sheet
1999-02-11 06:41:21 +00:00
peterl%netscape.com
e3f642f33c Improved handling of bad properties 1999-02-10 08:37:52 +00:00
peterl%netscape.com
810f2f5c75 added append struct value 1999-02-10 08:37:28 +00:00
peterl%netscape.com
de371f0fe6 added missing ToString case 1999-02-10 08:36:37 +00:00
troy%netscape.com
c85f9efd2a Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
troy%netscape.com
b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +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
peterl%netscape.com
8f99d6776f selector text notes 1999-02-07 21:48:45 +00:00
peterl%netscape.com
7d519ac6c1 added capturing selector source text (to preserve namespace prefixes) 1999-02-07 21:48:27 +00:00
peterl%netscape.com
02a4a1f333 Added token append to string
Improved handling of bad strings
Improved handling of escapes
1999-02-07 21:47:48 +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
peterl%netscape.com
a95a9904a5 moved frame construction code to its own class 1999-02-05 03:57:49 +00:00
harishd%netscape.com
00901bda2a Added property "border: 1px -moz-bg-inset"
to HR
1999-02-04 23:08:39 +00:00
peterl%netscape.com
7ac7f91e7d added -moz-bg-inset & -moz-bg-outset keywords 1999-02-04 19:18:01 +00:00
troy%netscape.com
bcc69e2898 Work-in-progress for replaced elements that can't be rendered 1999-02-04 17:03:46 +00:00
kipp%netscape.com
2e48b11493 Avoid crashing when no frame is found during attribute change notifications 1999-02-04 16:27:38 +00:00
troy%netscape.com
aa918b76c9 Added PARAM {display:none} 1999-02-04 03:47:01 +00:00
evaughan%netscape.com
403cc14a84 Added the XUL progress meter widget. 1999-02-04 01:34:15 +00:00
nisheeth%netscape.com
9fa2f8e3ab Added ReconstructFramesOnAttributeChange() to the HTML stylesheet
that gets called when a content object's attribute change requires
its frames to get recreated.
1999-02-04 00:53:08 +00:00
hyatt%netscape.com
472593b2db Changed the tree frame construction code. 1999-02-04 00:28:05 +00:00
vidur%netscape.com
b91611a7b2 Added additional key argument to string parsing routine. Improved Reset handling for document to include style sets and frame construction. Modified root frame construction. Got out-of-line document.write to work 1999-02-03 19:38:16 +00:00
peterl%netscape.com
e2bbc594b2 added missing semicolons 1999-02-03 03:10:29 +00:00
peterl%netscape.com
6e34e5ef7c improvements to parsing @import, HTML comments and identifiers 1999-02-03 02:59:51 +00:00
kipp%netscape.com
be8e33e32a noise 1999-02-02 17:30:10 +00:00
waterson%netscape.com
f360ad8792 Moved nsXULAtoms::AddrefAtoms() and ReleaseAtoms() to the style sheet's ctor and dtor, as per Peter Linss suggestion. 1999-02-02 05:39:57 +00:00
troy%netscape.com
ad3a2965f8 Implemented fixed position tables 1999-02-02 04:28:55 +00:00
peterl%netscape.com
763f6a8dde made visible an int instead of bool 1999-02-02 03:24:23 +00:00
waterson%netscape.com
0b542b62ed Force an nsXULAtoms::AddrefAtoms to ensure that the XUL atoms and namespace are created in the layout DLL before trying to refer to them. (a=hyatt%netscape.com) 1999-02-01 23:06:49 +00:00
troy%netscape.com
0f2e27b0d9 Fixed it so scrollable BLOCK elements can be fixed positioned 1999-02-01 18:09:57 +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
joki%netscape.com
c14cc1cb25 Removing nsILinkHandler enum types from dependencies, fixing event handler bugs 1999-01-28 23:14:36 +00:00
hyatt%netscape.com
0aecfc3e54 Making events still possible within tree cells. 1999-01-27 12:42:37 +00:00
hyatt%netscape.com
829b7f8804 Fixed a bug wherein tree frames weren't being added to the flow. 1999-01-27 10:10:02 +00:00
hyatt%netscape.com
b7887fe8d6 @%!%@! 1999-01-27 07:30:24 +00:00
hyatt%netscape.com
91364acc34 Getting rid of a conflict that I had. 1999-01-27 07:23:58 +00:00
hyatt%netscape.com
b0f9e290a5 Tweaking XUL frame construction. Also adding in a temporary tweak to
keep a NOTYETIMPLEMENTED from firing when an attribute in XML is
changed.  (Making it do a reflow rather than a reframe.)
1999-01-27 07:22:05 +00:00
troy%netscape.com
ff371f2925 Added work-in-progress for 'fixed' positioning 1999-01-27 05:37:55 +00:00
rods%netscape.com
45ef69a207 Added BUTTON.ROLLOVER and BUTTON.DIABLED pseudo-classes 1999-01-27 04:22:35 +00:00
troy%netscape.com
b8a53effbd Changed nsAbsoluteItems to be a derived class of nsFrameItems 1999-01-27 03:53:54 +00:00
troy%netscape.com
b63b2eb881 Hooked printing back up. It was a casuality of the viewport changes 1999-01-27 03:24:12 +00:00
troy%netscape.com
fa93923bcf Fixed a problem in ConstructFrameByTag() where absolutely positioned elements
weren't handled properly
1999-01-26 06:00:30 +00:00
troy%netscape.com
9ae6259485 Fixed some problem in ConstructFrameByDisplayType() where in now cases
(e.g. floaters and relatively positioned blocks) the newly constructed
frame wasn't getting added to aFrameItems
1999-01-26 05:46:04 +00:00
troy%netscape.com
85b271d4dd Fixed a problem with placeholder frame's clearing the child list and
causing the previous frames to disappear
1999-01-26 05:05:19 +00:00
troy%netscape.com
2fa2920b29 Removed "tab" chars 1999-01-26 01:47:01 +00:00
troy%netscape.com
5198f513b4 Hooked up print-preview to work again 1999-01-26 01:39:08 +00:00
hyatt%netscape.com
2ce7b53770 Added support for tree indentation. 1999-01-26 01:12:51 +00:00
troy%netscape.com
ff3d3b60b5 Changed scrolling so it happens on the viewport instead of the HTML
element
1999-01-26 00:05:21 +00:00
mjudge%netscape.com
1462f685fc fixing build bustage for someone 1999-01-25 23:55:59 +00:00
hyatt%netscape.com
abd68f001f Tweaks to enable XUL frame construction to prevent the construction based on
display type.
1999-01-25 23:07:17 +00:00
hyatt%netscape.com
6d67538c8d Altered the way frame construction works. ConstructFrame can now potentially
build up a list of sibling frame subtrees.  This allows for the creation of
multiple frames from a single content node, and for easy merging of two different
lists of subtrees during frame construction.
1999-01-25 22:13:03 +00:00
peterl%netscape.com
3e1e2ce68d allow reconstruct frames to work on all documents 1999-01-23 07:08:38 +00:00
peterl%netscape.com
870cd4ed7f made media case insensitive (for now) 1999-01-23 07:08:11 +00:00
peterl%netscape.com
6adda0ee50 set now manages order of doc style sheets 1999-01-23 07:01:57 +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
rods%netscape.com
34e9cde15c Factored out the Initialization code for the ScrollFrame into a separate method
Added code to hide and show view when applied to the whole tree
Added a method for Creating the proper frames for the SELECT tag
1999-01-22 15:27:54 +00:00
pinkerton%netscape.com
9229101e5c hooking toolbars and toolbox back up. Sigh. 1999-01-22 04:04:12 +00:00
hyatt%netscape.com
52ef97fc7c Added support for tree frame instantiation. 1999-01-22 03:31:56 +00:00
pinkerton%netscape.com
c563c226a1 ack, unhook toolbars until i can solve the export problem on win. 1999-01-22 01:53:05 +00:00
pinkerton%netscape.com
e959db5706 hookup toolbars and toolbox so they are instantiated when xul sees those tags. 1999-01-22 01:42:44 +00:00
hyatt%netscape.com
32b7e34970 Adding support for the widget tag to XUL. 1999-01-21 09:26:01 +00:00
danm%netscape.com
23f9c7d07f create XUL frames 1999-01-21 03:37:37 +00:00
karnaze%netscape.com
d29710743f <form> inside <table> submits; marginwidth, marginheight in <frame> working; scrolling in <frame>, <iframe> working 1999-01-19 17:26:06 +00:00
karnaze%netscape.com
7b139f6c8e scrollable row groups 1999-01-17 23:35:56 +00:00
troy%netscape.com
5febae06f6 Fixed it so relatively positioned block frames act as containing blocks
for absolutely positioned child elements
1999-01-16 22:18:08 +00:00
kipp%netscape.com
7f96144059 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
troy%netscape.com
80866615d9 Fixed it so that box offsets (left/right/top/bottom) can be negative numbers 1999-01-15 22:09:15 +00:00
kipp%netscape.com
73cb7e9384 Fixed absolute positioning bug I introduced in my last checkin 1999-01-15 17:33:00 +00:00
peterl%netscape.com
b37a2f5b7a better base url support
added support for "none" style change hint
added assert for recycling of html attributes

Checkin during red tree approved by sar
1999-01-15 02:09:29 +00:00
peterl%netscape.com
5cc1370c12 better base url support
Checkin during red tree approved by sar
1999-01-15 02:07:46 +00:00
peterl%netscape.com
e4dc4ef541 better base url support
fixed assert in call to deprecated url method

Checkin during red tree approved by sar
1999-01-15 02:07:15 +00:00
peterl%netscape.com
c925f3459e better base URL support
better parsing of media types (per HTML4.0 spec)
enforce pseudo element sepectors at end of seletor list

Checkin during red tree approved by sar
1999-01-15 02:06:13 +00:00
peterl%netscape.com
081bfbad68 better computation of style hint
Checkin during red tree approved by sar
1999-01-15 02:04:51 +00:00
peterl%netscape.com
4d6c75857f changed parent/child ref/counting policy
Checkin during red tree approved by sar
1999-01-15 01:57:05 +00:00
kipp%netscape.com
402aa6541a Stop using reflow commands for frame structure changes; instead invoke methods on the frames which then generate reflow commands as needed 1999-01-15 01:30:12 +00:00
troy%netscape.com
036e6852f2 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
troy%netscape.com
5c75ea66f0 Fix for bug #2276, and some initial support for 'right' and 'bottom'
for absolutely positioned elements
1999-01-13 06:37:31 +00:00
troy%netscape.com
4332a082d5 Re-commiting my fucking changes... 1999-01-13 00:44:48 +00:00
cltbld%netscape.com
89457008d5 backing out changes made against a red tree 1999-01-13 00:00:57 +00:00
troy%netscape.com
b72a94c761 Fixed a memory leak 1999-01-12 23:17:49 +00:00
kipp%netscape.com
cd76455b98 Use new flag defines 1999-01-12 16:42:03 +00:00
kipp%netscape.com
4d283102bd Store maps as nsIDOMHTMLMapElement instead of the obsolete nsIImageMap 1999-01-09 00:15:19 +00:00
karnaze%netscape.com
c2cfb8b82f dom table methods, moved align="char" data members from nsReflowState to nsHTMLReflowState 1999-01-08 18:57:40 +00:00
troy%netscape.com
20fbd1e186 Added support for 'right' and 'bottom' properties. Changed to using a
nsStyleSides struct to hold all the offsets
1999-01-08 04:47:46 +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
c876ae8a25 Changed ContentRemoved() to also generate a reflow command for the placeholder
for an absolutely positioned frame. Also made sure the child list name is
properly set for the reflow command for the absolutely positioned frame
1999-01-07 05:03:53 +00:00
harishd%netscape.com
55c83966cf Added code to take care of CSS properties
that wouldn't allow negative values.
1999-01-06 19:25:25 +00:00
brade%netscape.com
5f008f5785 reduce Macintosh compiler warnings by adding static to private function 1999-01-06 18:41:05 +00:00
peterl%netscape.com
b3ae3a8483 added GetStyleImpact
cleaned up api
1999-01-06 01:25:39 +00:00
troy%netscape.com
3d957f5d86 Improved GetAbsoluteContainingBlock() a bit. It still needs to handle scrolled
elements
1999-01-05 05:51:22 +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
d56587e4cb Fixed it so XML documents display again 1998-12-29 05:51:11 +00:00
troy%netscape.com
d9b4fa08c0 Fixed a problem with absolutely positioned tables not working properly 1998-12-29 05:35:42 +00:00
troy%netscape.com
583682a5c1 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +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
6493c0fc74 Renamed NS_NewHTMLFrame() to NS_NewRootFrame() 1998-12-21 18:22:44 +00:00
brade%netscape.com
400bea8f9d remove extra comma to reduce warnings on Mac 1998-12-21 16:39:17 +00:00
peterl%netscape.com
66066e1f3c fixed a crasher when mapping list or table style with a null parent context 1998-12-21 07:48:12 +00:00
peterl%netscape.com
cdecfbc7dd fix spelling 1998-12-21 05:58:58 +00:00
peterl%netscape.com
01b2811d2e fix spelling
moved inline automatic key object out of line for buggy unix compilers
1998-12-21 05:58:31 +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
peterl%netscape.com
887cd5f867 sync to new attribute api 1998-12-20 01:21:23 +00:00
peterl%netscape.com
7dd7b861c5 attribute selector work 1998-12-20 01:19:22 +00:00
peterl%netscape.com
7bdfe8b5c1 implement multiple class support
implement attribute selector support
1998-12-20 01:17:05 +00:00
peterl%netscape.com
1742808c87 added case sensativity flag to attribute selectors 1998-12-20 01:16:20 +00:00
peterl%netscape.com
7c4d428475 fixes to attribute selector parsing 1998-12-20 01:15:18 +00:00
peterl%netscape.com
582b88e0ae fix background flags initial value
tweak table inheritance quirk
1998-12-20 01:11:36 +00:00
peterl%netscape.com
8200c3233f made get strength const 1998-12-20 01:08:31 +00:00
kipp%netscape.com
40c2cfef07 Fixed numerous compiler warnings (hopefully) from the mac build 1998-12-18 17:34:34 +00:00
troy%netscape.com
7f566a1613 Reverted back to previous revision, because I came up with a cleaner
solution
1998-12-18 05:23:40 +00:00
troy%netscape.com
4bd653681f Re-ordered the call to set the scroll frame's initial child list so that
the XML demos work again. This is really a temporary change until things
get fixed right...
1998-12-18 04:59:14 +00:00
scc%netscape.com
ba11eb34ad Added static IID() method. This member function will be generated automatically in the future. 1998-12-18 03:43:29 +00:00
buster%netscape.com
f4e91e426d oops, there were duplicate entries for border collapse values. Now there's not. 1998-12-16 22:20:44 +00:00
warren%netscape.com
0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
rods%netscape.com
e70cae473d Added Pseudo-element styles for the scrollbar "look" 1998-12-15 19:11:57 +00:00
av%netscape.com
080a4bf40d Making object tag to display alternative context 1998-12-13 21:44:55 +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
peterl%netscape.com
11b7d1b081 added support for CSS2 selector syntax 1998-12-11 02:50:43 +00:00
peterl%netscape.com
025b5533c7 support for CSS2 selector systax 1998-12-11 02:50:01 +00:00
peterl%netscape.com
a16ab20767 added case sensativity switch 1998-12-11 02:48:40 +00:00
peterl%netscape.com
84fd70a5a1 backed out prevoius change (not ready for it) 1998-12-11 02:45:25 +00:00
peterl%netscape.com
1aac9353da fixed default value of vertical align 1998-12-11 02:33:03 +00:00
nisheeth%netscape.com
02450534e5 Changed nsHTMLStyleSheetImpl::AttributeChanged() so that it asks the
content objects for style change hint.  Removed tag specific code in this function.
1998-12-10 23:49:13 +00:00
buster%netscape.com
5cbf93ec0f added implementation for CSS-2 style attributes border-collapse, border-spacing, empty-cells, caption-side 1998-12-09 06:24:50 +00:00
buster%netscape.com
e89fff43d2 added implementation for CSS-2 style attributes border-collapse, border-spacing, empty-cells, caption-side
this is sufficient for now, but incomplete.  It doesn't handle inherit properly.
1998-12-09 06:24:27 +00:00
buster%netscape.com
bc20fdad3a fixed default cellspacing and cellpadding 1998-12-08 00:59:15 +00:00
harishd%netscape.com
dccdd4a155 Changed code that previously accessed mBorderStyle and mBorderColor
with new mehtods added in nsStyleSpacing
1998-12-07 19:05:40 +00:00
harishd%netscape.com
6b7934f14f changed all the places that previously accessed mBorderStyle and mBorderColor
with the new methods defined in nsStyleSpacing
1998-12-07 18:51:26 +00:00
troy%netscape.com
78a4ce96ec Changed wrapping of floated elements so the wrapping happens inside of
ConstructFrameByDisplayType(), and now we only wrap frames of display
type 'block' and 'inline'
1998-12-07 18:44:40 +00:00
troy%netscape.com
e05b04aa92 Temporary change to make sure we don't wrap floated tables in a BODY frame 1998-12-04 23:51:16 +00:00
troy%netscape.com
62857a1141 Moved creation of first page frame to frame construction code, and changed
it so the page frame has a view. This makes printing faster and easier
1998-12-04 21:04:56 +00:00
troy%netscape.com
205250b6c4 Moved view creation to frame construction code. Also moved wrapping of
floated and absolutely positioned elements to frame construction code
1998-12-04 19:03:44 +00:00
troy%netscape.com
90f35ce118 Changed view creation to occur when frame initialization occurs 1998-12-04 05:56:06 +00:00
troy%netscape.com
4a0f9cea8f Moved logic that created a BODY frame that forms the cell's content from the
table frame code to the frame construction code
1998-12-04 02:08:51 +00:00
waterson%netscape.com
1ebf1ebe4a A better fix. 1998-12-03 20:50:21 +00:00
waterson%netscape.com
a39407d940 Fix build bustage. 1998-12-03 20:47:01 +00:00
waterson%netscape.com
1cd4a28768 Added initializers that can be used from the repository. Export nsIHTMLStyleSheet.h. 1998-12-03 20:20:35 +00:00
waterson%netscape.com
e964f5d837 Added initializer that can be used from the repository. 1998-12-03 20:19:46 +00:00
buster%netscape.com
1f09ce3031 added table pseudo-style contenxts 1998-12-03 18:03:28 +00:00
troy%netscape.com
2a4b2c503f Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
peterl%netscape.com
ba1a0ff568 changed media type to atom
moved body fixup rule to body element
1998-12-02 00:38:33 +00:00
peterl%netscape.com
b5f9c257f1 changed media type to atom 1998-12-02 00:38:14 +00:00
peterl%netscape.com
1d114307e1 added media support to child sheet iteration
changed medium type to atoms
1998-12-02 00:37:32 +00:00
peterl%netscape.com
fd53cd27e2 added media support to import 1998-12-02 00:36:37 +00:00
peterl%netscape.com
32453af5dc changed medium type to atom 1998-12-02 00:36:00 +00:00
peterl%netscape.com
e5073780c6 fixed decoration style of del 1998-12-02 00:35:26 +00:00
peterl%netscape.com
efc9fc421e added media support 1998-12-02 00:30:42 +00:00
peterl%netscape.com
7e09a07d55 changed medium type to atom 1998-12-02 00:29:16 +00:00
vidur%netscape.com
6b930eba56 Moved nsGenericElement to base directory. Added basic support for document fragments. 1998-11-30 07:59:11 +00:00
kipp%netscape.com
1b3c96e6a4 Port to revised pres-context API 1998-11-26 18:14:41 +00:00
peterl%netscape.com
c66950da5a made css style sheet public (for mac) 1998-11-26 05:17:03 +00:00
peterl%netscape.com
d66876022f removed processimport 1998-11-26 05:16:43 +00:00
peterl%netscape.com
90510e12e0 added media support to @import 1998-11-26 05:16:22 +00:00
peterl%netscape.com
5166993f42 deal with const issues on unix compilers 1998-11-26 04:53:49 +00:00
peterl%netscape.com
e3f218d5b4 style change notification support 1998-11-26 01:34:53 +00:00
peterl%netscape.com
c757654c3a handle whitespace in url() better 1998-11-26 01:30:51 +00:00
peterl%netscape.com
e2fb1e2c1e added change notification support 1998-11-26 01:24:52 +00:00
peterl%netscape.com
6c90c991c0 added style sheet properties 1998-11-26 01:24:32 +00:00
kipp%netscape.com
c13a79ad48 Fixed IsScrollable to take an extra argument so that we would only create scroll-frames around blocks using the webshells criteria if it's the body frame (bug #1608) 1998-11-25 16:41:06 +00:00
kipp%netscape.com
b8e87edf4b Use Pushback to put back the right character 1998-11-24 01:47:19 +00:00
buster%netscape.com
ee5912363a removed the resolution of table pseudo-style until we can test it and
actually use it.  this was just a memory leak.
1998-11-21 00:53:03 +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
926252607e took out a dumb debug printf 1998-11-20 21:09:54 +00:00
buster%netscape.com
496fd7d73e put in a VERY temporary work-around for some crashes we're seeing as a
result of table style context's display type != TABLE
1998-11-20 21:08:06 +00:00
buster%netscape.com
54996e3fa5 added :TABLE pseudo-style 1998-11-20 21:06:59 +00:00
buster%netscape.com
fedd9bbb6a removed obsolete include of nsTableFrame 1998-11-20 01:04:43 +00:00
peterl%netscape.com
fa2ffaf5bd cursor style cleanup 1998-11-18 02:23:39 +00:00
peterl%netscape.com
265c4ca8a7 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
peterl%netscape.com
e7b84c9f31 use proper pseudo tag for text style contexts 1998-11-18 02:11:27 +00:00
peterl%netscape.com
8345b5f818 cleaned up cursor handling 1998-11-18 02:10:45 +00:00
vidur%netscape.com
026c273104 Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables. 1998-11-17 02:14:38 +00:00
troy%netscape.com
4a3de77c51 Made sure NS_BODY_THE_BODY flag is set for the body wrapper frame we
create for XML documents
1998-11-16 21:48:13 +00:00
buster%netscape.com
e46627bcf6 added storage in styleTable for a column's width contribution from cells that
have colspan>1.
1998-11-16 06:47:24 +00:00
kipp%netscape.com
68c8ed8188 Cleaned up OL/UL margins 1998-11-15 01:13:00 +00:00
michaelp%netscape.com
7a9e1a4bc1 changes for pixel scaling/printing. 1998-11-14 01:52:27 +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
555b09f7bd Added a scroll frame for print preview 1998-11-13 04:22:23 +00:00
troy%netscape.com
61080e7a03 Cleaned up ConstructXMLRootFrame() and added some XXX comments 1998-11-13 03:43:15 +00:00
vidur%netscape.com
dbf2544c2b Added script handling to XML content sink. Made sure frame construction by tag wasn't done for XML. 1998-11-12 23:55:47 +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
buster%netscape.com
f076fcd5be rowgroup pseudo-frames for rows inserted directly into a table 1998-11-12 20:45:28 +00:00
buster%netscape.com
f4b68564d6 col and colgroup attribute handling
colgroup pseudo frame for cols inserted directly into a table.  More like this to come...
1998-11-12 18:37:28 +00:00
vidur%netscape.com
8723f8326b Added XML display support. Split nsGenericHTMLElement into generic and HTML-specific components. Minor style modification. New XML classes and interfaces. 1998-11-11 22:06:16 +00:00
buster%netscape.com
1666eee663 fix for default cell padding and cell spacing 1998-11-11 19:54:23 +00:00
troy%netscape.com
f9a029ea12 Fixed memory leak 1998-11-11 16:50:51 +00:00
troy%netscape.com
690b52766a Fixed a memory leak of a content object 1998-11-11 06:37:30 +00:00
troy%netscape.com
3c6f99e1d7 Eliminated the hack where the scroll frame was creating a BODY wrapper for
the scrolled frame. Now the frame construction code creates the wrapper
frame
1998-11-11 04:43:13 +00:00
kipp%netscape.com
21c0ad58b2 Added a reminder to the ua.css 1998-11-10 18:00:46 +00:00
troy%netscape.com
527ee073f8 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00