Commit Graph

193 Commits

Author SHA1 Message Date
troy%netscape.com
06c2b4210f Removed a comment that is no longer applicable 1998-09-23 21:55:41 +00:00
karnaze%netscape.com
fb883f1869 Converted forms to use the new content model classes and better separate content from layout. 1998-09-23 17:16:51 +00:00
troy%netscape.com
c2b31326e5 Fixed an off by one problem in the ContentInserted() code 1998-09-23 04:25:49 +00:00
kipp%netscape.com
045654d701 Added a list method for outputing top/right/bottom/left objects like border/padding/margins 1998-09-23 02:36:07 +00:00
kipp%netscape.com
dfe4d42ca1 Fixed parsing of margins to allow for auto values 1998-09-23 02:35:10 +00:00
kipp%netscape.com
cd78e9f1fb Removed VerticallyAlignChildren (it's in nsInlineReflow now) 1998-09-23 02:34:43 +00:00
kipp%netscape.com
2687e9ae4c Improved list output for border/padding/margin 1998-09-23 02:34:21 +00:00
buster%netscape.com
8c93860f3d captions now work properly with new frame layout strategy.
nsTableOuterFrame->mFirstChild==nsTableOuterFrame->mInnerTableFrame, always.
1998-09-20 04:50:08 +00:00
troy%netscape.com
fcf1a1dcdb Changes to ContentInserted() handler 1998-09-18 21:28:21 +00:00
troy%netscape.com
28c7cf540c Removed content delegates 1998-09-18 17:18:37 +00:00
troy%netscape.com
9adcf5d319 Cleaned up frame construction code 1998-09-17 04:07:58 +00:00
peterl%netscape.com
31be38a404 connected xheight, fixed font realtive sizes,
fixed text-decoration
1998-09-17 00:19:47 +00:00
troy%netscape.com
0849b34474 Changed ContentAppended() to not walk up the frame hierarchy looking
for a frame that maps the parent content object that changed
1998-09-17 00:06:46 +00:00
troy%netscape.com
65269d3422 Frame construction changes for tables 1998-09-16 17:19:20 +00:00
buster%netscape.com
953b2efb58 nsStyleConsts.h added some HTML 4 consts for tables
nsHTMLAtoms.cpp,h             added some HTML 4 strings for tables
nsHTMLParts.h                 added constructors for new table content classes
nsGenericHTMLElement.cpp,h    added table frame creation, common table attribute parsing
nsHTMLTable*Element.cpp       these are the new table content classes
nsHTMLContentSink.cpp         enabled the new content and removed the old
nsHTMLStyleSheet.cpp          fixed the table style optimizations to work with new content
nsTable*Frame.cpp             these work with the new content
1998-09-15 17:58:24 +00:00
kipp%netscape.com
8f2807a027 Removed css/layout directory 1998-09-15 00:19:49 +00:00
troy%netscape.com
805dafbcdf Added overloaded ConstructFrame() member function. Prep work for table
changes
1998-09-14 21:16:01 +00:00
troy%netscape.com
17fd2c695e Changes ProcessChildren() to return the child list and leave it to the caller
(ConstructFrame() member function) to call Init()
1998-09-12 23:51:57 +00:00
troy%netscape.com
4ad7bda623 Part of frame construction changes 1998-09-12 04:46:35 +00:00
peterl%netscape.com
61a4c6858a vend important rule when present 1998-09-12 02:46:59 +00:00
peterl%netscape.com
33bac6b83b fixed content ref count bugs in ContentAppended 1998-09-12 02:46:09 +00:00
peterl%netscape.com
7b8fd5e5b4 added debug code for ref counting 1998-09-12 02:45:26 +00:00
peterl%netscape.com
a51760d803 init ref count of important rule 1998-09-12 02:43:48 +00:00
troy%netscape.com
f35125901c Fixed leak of reflow command 1998-09-11 18:57:54 +00:00
kipp%netscape.com
37fb2e7a12 Support length values for vertical-align 1998-09-11 04:15:03 +00:00
peterl%netscape.com
4701208437 added strength api to style rule 1998-09-11 02:07:58 +00:00
peterl%netscape.com
282eb4c3bb added important rule support 1998-09-11 02:07:46 +00:00
peterl%netscape.com
bfc7f2ffe1 added important rule support
factored declaration processing to a static method
1998-09-11 02:07:05 +00:00
kipp%netscape.com
97c08325ed Revised various vertical alignment cases to use font introspection data instead of hard coding in values; corrected middle computation. 1998-09-10 23:43:12 +00:00
kipp%netscape.com
1408d551cd Fixed a bug with percent values being converted to strings 1998-09-10 23:42:18 +00:00
troy%netscape.com
b6e6eb1e83 Hooked back up IFRAME 1998-09-10 21:03:16 +00:00
troy%netscape.com
effef91cf6 Phase one of frame construction changes 1998-09-10 19:32:14 +00:00
peterl%netscape.com
ab0ec41618 added to string support 1998-09-10 01:19:26 +00:00
peterl%netscape.com
68a67f588b removed assert on x-height unit 1998-09-10 01:18:27 +00:00
peterl%netscape.com
b0238f71b5 fixed filtering of valid ID selectors 1998-09-10 01:18:06 +00:00
peterl%netscape.com
0fec5be8c0 changed the way map attributes into is connected 1998-09-05 04:00:06 +00:00
peterl%netscape.com
1a36a503a7 tweaked output of percent values 1998-09-05 03:59:44 +00:00
peterl%netscape.com
2c3031a807 COMified interface
made first attribute local
added support for attr uniquing
1998-09-02 02:10:44 +00:00
peterl%netscape.com
1efe47933e COMified style rule interface 1998-09-02 02:09:43 +00:00
warren%netscape.com
4f1b718b4e Added closure argument to nsHashtable::Enumerate. 1998-09-01 00:16:47 +00:00
kipp%netscape.com
c6290fa577 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
troy%netscape.com
e524804caa Changed interface nsIFontMetrics to use the XPCOM conventions for returning
a nsresult
1998-08-29 02:34:34 +00:00
peterl%netscape.com
a6fe8afb6d added table cell style rule inheritance 1998-08-27 00:50:52 +00:00
peterl%netscape.com
a71cd5de1d reversed rule ordering 1998-08-27 00:49:55 +00:00
peterl%netscape.com
7c644d95bd fixed processing of font face (preserve original quotes) 1998-08-07 02:17:56 +00:00
peterl%netscape.com
184554a885 save quote char on string tokens 1998-08-07 02:17:10 +00:00
peterl%netscape.com
711e9a2d5e fixed font face support 1998-08-07 02:16:38 +00:00
kipp%netscape.com
7f87aceca7 Init refcnt for html anchor rules 1998-08-04 23:06:39 +00:00
peterl%netscape.com
714146a525 rounding support 1998-07-31 23:34:45 +00:00
peterl%netscape.com
ab09d83870 added font scaling support 1998-07-25 01:22:10 +00:00
peterl%netscape.com
62cb905c58 made anchor pseudo classes not resolve unless anchor has an href 1998-07-25 01:21:47 +00:00
peterl%netscape.com
7ecf7edd80 added body link color support 1998-07-25 01:20:48 +00:00
kipp%netscape.com
de4d61cd11 Check style unit before translating relative position coords 1998-07-24 16:22:54 +00:00
michaelp%netscape.com
96cf645164 modified for new streaming APIs. 1998-07-23 20:35:43 +00:00
peterl%netscape.com
6ddf7a6d9a added nsStyleUtil.cpp 1998-07-23 18:04:24 +00:00
peterl%netscape.com
7ee20b51d8 factored font sizing code to nsStyleUtil
implemented font flags
1998-07-23 18:03:55 +00:00
kostello%netscape.com
e7dee8f2f4 1) Move the CSS dependent methods out of nsDocument and placed them
in a new class nsMarkupDocument. The point of nsMarkupDocument is
to hold methods which are common to HTML and XML but not relevant
to the base nsDocument class.

2) Added Selection support methods for Rod.

3) Added LookupProperty to nsCSSProperty:
Given a property ID and Property Index returns back the string representation
of the property. This was need to convert CSSValues back to strings for saving.
TODO: Make sure that our URL Information stored in a CSSDeclaration contains
enough information to return it to it's original form on output.
1998-07-17 23:00:54 +00:00
peterl%netscape.com
ed2c6d38a8 added comment support 1998-07-17 05:50:35 +00:00
peterl%netscape.com
af17e2c85b fixed @import parsing
rejected malformed id selectors
sync to declaration api change
1998-07-17 05:50:07 +00:00
peterl%netscape.com
f45d7bcdde fixed fixed font handling 1998-07-17 05:49:03 +00:00
peterl%netscape.com
418a441427 added fixed font support
better font size support
1998-07-17 05:46:12 +00:00
kipp
8c6299af3d Handle unconstrained width during percentage width computations 1998-07-15 17:07:20 +00:00
kostello
33fd5ef97a Added XIF (XML Interchange Format) Support. XIF is designed
as an Netscape internal XML application. It is designed to
allow conversion from our content model to any output format --
most importantly to HTML 3.2 and HTML4.0 format.
1998-07-14 22:34:27 +00:00
kipp
3f7d5435a3 Avoid crashing when no link handler is involved 1998-06-30 20:22:27 +00:00
peterl
5e48108666 added ! important support 1998-06-26 05:51:55 +00:00
peterl
d1e43f5eac fixed equal weight rule ordering 1998-06-26 05:50:10 +00:00
kipp
1a446c2e3f New and improved (?) line layout 1998-06-25 16:33:10 +00:00
buster
288d645ae3 Separated table content from table layout. This paves the way for XML/CSS-2 tables.
Lots and lots of optimizations.
1998-06-17 16:38:24 +00:00
troy
8dbcb4c135 Changed some GetStyleContext/GetStyleData calls to use nsIFrame::GetStyleData
instead. This saves the AddRef/Release overhead
1998-06-14 05:23:59 +00:00
kipp
a69369de69 Revised SizeOf methods to add in nsString's, nsIAtom's and nsVoidArray's properly 1998-06-05 21:50:57 +00:00
kipp
591b2ccd11 Sprinkled SizeOf methods around 1998-06-05 21:06:24 +00:00
peterl
91c5893512 sync up to new style data apis 1998-06-05 06:09:09 +00:00
peterl
119198c615 now track rules by insertion order as well as weighted order
added accessor to rules for save code
1998-06-05 06:06:50 +00:00
kipp
b7847a124d Use revised GetDocument API from content 1998-06-03 16:00:40 +00:00
kipp
07e45af91f Print out percentage values properly 1998-06-03 16:00:15 +00:00
troy
35e6293e4b Added a comment to GetStyleDimension indicating that computed percentage
values are being handled incorrectly
1998-05-31 04:45:21 +00:00
kipp
669da95542 Revised API so that correct percentage width/height could be computed 1998-05-30 21:22:17 +00:00
buster
aad54b07f6 set the groundwork for handling COLS attribute, and attributes on COLGROUP and COL tags. WIP.
set the groundwork for handling percentage-width tables.  Troy is adding a hook for me to get the correct width info from the parent.  WIP.
1998-05-28 21:39:22 +00:00
kipp
3b43bc8d84 Use mOpacity as a float in the nsStyleColor struct 1998-05-28 19:55:42 +00:00
kipp
b20743e28a Revised API to be com-ish and added ParseDeclarations; implement ParseDeclartions using basic declaration handling routines 1998-05-28 18:39:42 +00:00
kipp
d9e2ce27b1 Revised API to be com-ish and added ParseDeclarations 1998-05-28 18:39:08 +00:00
kipp
74805620cf Fixed infinite loop in GetStyleSize code 1998-05-28 17:06:43 +00:00
kipp
72d77edcbb Added style support for the new css opacity property 1998-05-28 02:02:43 +00:00
kipp
f8872f1a9f Revised HorizontallyPlaceChildren API to support a default alignment based on the layout direction 1998-05-28 02:02:22 +00:00
kipp
9be967661a Parse (and ignore) important declarations 1998-05-27 23:38:16 +00:00
kipp
a4ac37270f Only perform horizontal alignment when there is room to do it 1998-05-27 21:04:33 +00:00
peterl
3fd983bcd3 moved attributes around 1998-05-26 23:16:55 +00:00
peterl
7168f94691 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +00:00
peterl
745e32a18d made it build on irix 1998-05-20 21:28:36 +00:00
peterl
c33cdeff7c added rule hash table to speed up style resolution 1998-05-20 20:34:17 +00:00
thom
aa407491f5 fixed compile errors for mac 1998-05-19 23:11:28 +00:00
peterl
194cc28a2d added pseudo-class rule matching 1998-05-19 00:09:29 +00:00
peterl
47db0f2192 added pseudo frame support 1998-05-18 21:11:08 +00:00
peterl
0528c87a0a cleaned up list output 1998-05-18 21:10:44 +00:00
peterl
e8e82334f0 pseudo frame support 1998-05-18 21:10:19 +00:00
peterl
0018dab23e correct case of selectors
skip empty selectors
better pseudo-class support
1998-05-18 21:09:43 +00:00
peterl
93ce222761 added pseudo element support 1998-05-18 21:07:54 +00:00
peterl
5119956475 fixed memory leak
fixed uninitialized memory read
1998-05-18 21:07:24 +00:00
kipp
f8feba0fad Removed some useless code 1998-05-14 00:49:11 +00:00
peterl
c7341728eb added HTML CSS style sheet 1998-05-13 23:42:18 +00:00