Commit Graph

728 Commits

Author SHA1 Message Date
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
kipp%netscape.com
66157a9852 Create a block frame for run-in and compact frames 1998-11-09 23:35:44 +00:00
karnaze%netscape.com
aec75f892e form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.
1998-11-09 23:30:16 +00:00
troy%netscape.com
081c78e696 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +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
44c72dc670 fixed text-decorations some more 1998-11-06 01:06:26 +00:00
peterl%netscape.com
e992193567 sync to declaration api change 1998-11-06 00:59:03 +00:00
peterl%netscape.com
44ce3054b9 added table-layout
added mix/max width/height
made text-decoration not be cumulative
1998-11-06 00:58:23 +00:00
peterl%netscape.com
b0d65f24f9 removed char* apis
fixed ! important property ordering
fixed CSSOM access to ! important properties
1998-11-06 00:56:28 +00:00
peterl%netscape.com
7b042ff290 sync to declaration api change 1998-11-06 00:52:30 +00:00
peterl%netscape.com
4b024efc62 added default style for INS, DEL & DFN 1998-11-06 00:51:46 +00:00
peterl%netscape.com
a76e7fffdd added min/max width/height
made table inheritance block be conditional on compatibility mode
1998-11-06 00:49:04 +00:00
troy%netscape.com
04c879d6fb Changed frame construction code to create a simple page sequence frame
when paginated
1998-11-05 06:13:55 +00:00
buster%netscape.com
a84d47ada2 nsHTMLReflowCommand now knows what attribute triggered a StyleChanged notification 1998-11-04 19:34:34 +00:00
peterl%netscape.com
ed14dc36b1 made parent context no longer be optional on re-resolve style context method 1998-11-03 21:29:14 +00:00
peterl%netscape.com
cedec7bc27 sync to style resolution api changes 1998-11-03 20:33:43 +00:00
peterl%netscape.com
a753f1285d sync to style resolution api changes
moved style context re-resolving to frame land
1998-11-03 20:33:23 +00:00
peterl%netscape.com
0eb342abbc changed inheritance of colors
hacked inheritance of vert align for now
1998-11-03 20:31:21 +00:00
peterl%netscape.com
66e00aeb03 added inherit rules for table child elements 1998-11-03 20:25:23 +00:00
peterl%netscape.com
a539d1f903 removed context hashtable code
decoupled style context resolution from frames
1998-11-03 20:19:28 +00:00
peterl%netscape.com
15ebc84957 added pseudo tag support
removed backstop rule count
removed reparent
1998-11-03 20:18:40 +00:00
peterl%netscape.com
13bdbc9c30 decoupled style resolution api from frame system 1998-11-03 20:16: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
buster%netscape.com
6f31889714 factored AttributeChanged so when deciding what to do in response to a change,
common attributes are checked first, then content-specific handlers are asked
1998-10-30 23:06:14 +00:00
buster%netscape.com
03cad6390d some extremely preliminary work for styleChanged incremental reflow 1998-10-30 07:57:44 +00:00
troy%netscape.com
c16076d5ca Changed to use a scroll frame for the BODY 1998-10-29 23:25:02 +00:00
kipp%netscape.com
1fca69289e Pass in opactity to view manager in case it changed 1998-10-28 02:05:05 +00:00