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

669 Коммитов

Автор SHA1 Сообщение Дата
harishd%netscape.com 545162f28e Changed code that previously accessed mBorderStyle and mBorderColor
with new mehtods added in nsStyleSpacing
1998-12-07 19:05:40 +00:00
troy%netscape.com e7be4256f2 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 1fcf20d0f3 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 55f632387d 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 bd58bde76d 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 80545a3bd4 Changed view creation to occur when frame initialization occurs 1998-12-04 05:56:06 +00:00
troy%netscape.com 36f4bf7247 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 989c4fbe60 A better fix. 1998-12-03 20:50:21 +00:00
waterson%netscape.com 8ca32ffd70 Fix build bustage. 1998-12-03 20:47:01 +00:00
waterson%netscape.com 3cbd2aa561 Added initializers that can be used from the repository. Export nsIHTMLStyleSheet.h. 1998-12-03 20:20:35 +00:00
waterson%netscape.com 07920c6756 Added initializer that can be used from the repository. 1998-12-03 20:19:46 +00:00
troy%netscape.com d97a31f115 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
peterl%netscape.com 6491194ab0 changed media type to atom
moved body fixup rule to body element
1998-12-02 00:38:33 +00:00
peterl%netscape.com b724dddfbc changed media type to atom 1998-12-02 00:38:14 +00:00
peterl%netscape.com 36202d8d46 added media support to child sheet iteration
changed medium type to atoms
1998-12-02 00:37:32 +00:00
peterl%netscape.com 62f19b11dc added media support to import 1998-12-02 00:36:37 +00:00
peterl%netscape.com 4f5e330093 changed medium type to atom 1998-12-02 00:36:00 +00:00
vidur%netscape.com e2547a120e Moved nsGenericElement to base directory. Added basic support for document fragments. 1998-11-30 07:59:11 +00:00
kipp%netscape.com d04dbf19bd Port to revised pres-context API 1998-11-26 18:14:41 +00:00
peterl%netscape.com 19549c35a8 made css style sheet public (for mac) 1998-11-26 05:17:03 +00:00
peterl%netscape.com 96c289a47a removed processimport 1998-11-26 05:16:43 +00:00
peterl%netscape.com 33c08ec108 added media support to @import 1998-11-26 05:16:22 +00:00
peterl%netscape.com 7edd98cfcb deal with const issues on unix compilers 1998-11-26 04:53:49 +00:00
peterl%netscape.com 4222f0257e style change notification support 1998-11-26 01:34:53 +00:00
peterl%netscape.com 1ec6fad39c handle whitespace in url() better 1998-11-26 01:30:51 +00:00
kipp%netscape.com ed15bc1725 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 5e7b2ca7ab Use Pushback to put back the right character 1998-11-24 01:47:19 +00:00
buster%netscape.com 199d61519b 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 21e1f648b1 Added nsHTMLAtoms::wrappedFramePseudo and changed ConstructFrame() to use
it instead of nsHTMLAtoms::columnPseudo
1998-11-20 23:27:59 +00:00
buster%netscape.com 074583f502 took out a dumb debug printf 1998-11-20 21:09:54 +00:00
buster%netscape.com aa0ff99ae0 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 cae6af5e35 removed obsolete include of nsTableFrame 1998-11-20 01:04:43 +00:00
peterl%netscape.com c053568936 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
peterl%netscape.com 00ae8e9cc9 use proper pseudo tag for text style contexts 1998-11-18 02:11:27 +00:00
vidur%netscape.com 4ca363e17b 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 8550f707c1 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
michaelp%netscape.com f186598ef5 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
troy%netscape.com 9b21f39f54 Added a scroll frame for print preview 1998-11-13 04:22:23 +00:00
troy%netscape.com e21c76703a Cleaned up ConstructXMLRootFrame() and added some XXX comments 1998-11-13 03:43:15 +00:00
vidur%netscape.com 632a979901 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 2b86b49c95 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 45f8b315a9 rowgroup pseudo-frames for rows inserted directly into a table 1998-11-12 20:45:28 +00:00
buster%netscape.com 9b8264930f 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 c068c96a00 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
troy%netscape.com bdd1ad3abf Fixed memory leak 1998-11-11 16:50:51 +00:00
troy%netscape.com e248cb0b50 Fixed a memory leak of a content object 1998-11-11 06:37:30 +00:00
troy%netscape.com b208618ab6 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
troy%netscape.com fd34820203 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 4f710d172f Create a block frame for run-in and compact frames 1998-11-09 23:35:44 +00:00
karnaze%netscape.com 44b5b9e670 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 02915d3677 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 1ef01c4b61 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
peterl%netscape.com fa0074c6e2 fixed text-decorations some more 1998-11-06 01:06:26 +00:00
peterl%netscape.com 077d785b93 sync to declaration api change 1998-11-06 00:59:03 +00:00
peterl%netscape.com 2cdbac2a3e 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 96a9c7b186 removed char* apis
fixed ! important property ordering
fixed CSSOM access to ! important properties
1998-11-06 00:56:28 +00:00
peterl%netscape.com 27305475ea removed char* method types 1998-11-06 00:52:57 +00:00
peterl%netscape.com 582d848efb sync to declaration api change 1998-11-06 00:52:30 +00:00
troy%netscape.com cc8a206808 Changed frame construction code to create a simple page sequence frame
when paginated
1998-11-05 06:13:55 +00:00
buster%netscape.com 1b3ee90d82 nsHTMLReflowCommand now knows what attribute triggered a StyleChanged notification 1998-11-04 19:34:34 +00:00
peterl%netscape.com e3cd00d3b0 made parent context no longer be optional on re-resolve style context method 1998-11-03 21:29:14 +00:00
peterl%netscape.com 776a2683ef sync to style resolution api changes 1998-11-03 20:33:43 +00:00
peterl%netscape.com 69ad11bff6 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 9d15cc0b80 changed inheritance of colors
hacked inheritance of vert align for now
1998-11-03 20:31:21 +00:00
troy%netscape.com 10c06c1b72 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
buster%netscape.com e82356e5d9 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 d8ae00b810 some extremely preliminary work for styleChanged incremental reflow 1998-10-30 07:57:44 +00:00
troy%netscape.com 37c1eb59c2 Changed to use a scroll frame for the BODY 1998-10-29 23:25:02 +00:00
kipp%netscape.com 76945822e1 Pass in opactity to view manager in case it changed 1998-10-28 02:05:05 +00:00
kipp%netscape.com 86b7edb580 Implement opacity methods 1998-10-28 02:04:27 +00:00
kipp%netscape.com 262d020083 Fixed oopsie in the hint storage check 1998-10-28 02:04:06 +00:00
peterl%netscape.com c88c131fe6 added the first Nav Quirk, when on, we now interpret numbers without units as pixel units 1998-10-28 01:12:38 +00:00
peterl%netscape.com d10c5c6553 removed depth style remap (context does it for us now) 1998-10-27 03:03:49 +00:00
peterl%netscape.com 624446110a added CSS2 property handling 1998-10-26 23:22:40 +00:00
peterl%netscape.com a85997ba8b brought existing property handing up to spec for CSS2 1998-10-26 23:22:19 +00:00
peterl%netscape.com d51752e653 added aural style hint 1998-10-26 23:21:19 +00:00
peterl%netscape.com 03049c7b12 moved !important handling into parser 1998-10-26 23:20:45 +00:00
peterl%netscape.com 084e1104ba added new value types 1998-10-26 23:19:59 +00:00
peterl%netscape.com 4fdb71d1d3 made helper functions static 1998-10-26 23:19:28 +00:00
peterl%netscape.com 93aae1a40c added CSS2 properties 1998-10-26 23:16:27 +00:00
troy%netscape.com c4862c491c Changed some comments 1998-10-24 05:03:55 +00:00
karnaze%netscape.com 1610cecf5a 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 6005461750 Added new pseudo class style :SCROLLED-CONTENT 1998-10-22 20:12:34 +00:00
buster%netscape.com 05f76c4440 preliminary code to resolve parent frame issues for table frames 1998-10-21 22:24:59 +00:00
kipp%netscape.com 05d3950c8e Temporary work around to setting hint better 1998-10-14 23:46:02 +00:00
karnaze%netscape.com 6dce0be4e1 fixed bug 958, checkboxes wrong background when not checked, select always multiple, text & texarea not reset. html 4 button work in progress. 1998-10-13 21:31:26 +00:00
kipp%netscape.com ed261f2102 Disabled the code 1998-10-13 20:43:05 +00:00
peterl%netscape.com 7cac29c2ed expanded font size table 1998-10-13 19:17:25 +00:00
peterl%netscape.com 2f06549f0b cleanup 1998-10-13 19:14:19 +00:00
peterl%netscape.com 035ffcf574 shifted CSS absolute font sizes 1998-10-13 19:13:59 +00:00
troy%netscape.com 7391b96095 Work in progress on scroll frame code 1998-10-12 22:13:23 +00:00
kipp%netscape.com e3998954e5 Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state 1998-10-12 17:00:32 +00:00
kipp%netscape.com 05a50b6ce3 Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling 1998-10-12 14:48:02 +00:00
buster%netscape.com 37e93ed6b7 support nsTableOuterFrame incremental reflow 1998-10-09 19:59:45 +00:00
troy%netscape.com cc44601bb8 Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +00:00
kipp%netscape.com c612fef61e Fixed top relative position bug #1024 1998-10-08 15:37:34 +00:00
karnaze%netscape.com 580dde94fe fieldset, legend support. fixed bug #987 1998-10-08 04:38:41 +00:00
rpotts%netscape.com 88edff2205 Fixed crash due to null pointer... 1998-10-08 04:14:18 +00:00
peterl%netscape.com 5d132479e5 added css2 properties 1998-10-08 01:34:58 +00:00
peterl%netscape.com 56dd6acce2 init hash code to make purify happy 1998-10-08 01:32:41 +00:00
peterl%netscape.com 042308dc64 added CSS2 properties 1998-10-08 01:31:58 +00:00
peterl%netscape.com 2817e0c448 sync to css declaration changes 1998-10-08 01:31:38 +00:00
peterl%netscape.com c7b1ae602c moved from nsCSSDeclaration 1998-10-08 01:29:29 +00:00
vidur%netscape.com 0031f0710a Implemented style sheet and style rule interfaces on CSS classes. Made public new entry point for CSSParser for adding new imports. 1998-10-06 01:39:33 +00:00
kipp%netscape.com ef4d185fa7 never create frames when display is none 1998-10-06 00:43:48 +00:00
troy%netscape.com 933dc19df8 Changed some code to use XPCOM ref counting related macros 1998-10-05 05:11:18 +00:00
troy%netscape.com f095846367 Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
troy%netscape.com 8b034f4950 Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
peterl%netscape.com 0a14260f95 added get value as string 1998-09-30 01:08:59 +00:00
peterl%netscape.com 61650722ad make text decoration always an enum 1998-09-30 01:08:44 +00:00
peterl%netscape.com e2c4541df8 added attribute & content changed code 1998-09-29 23:51:28 +00:00
peterl%netscape.com 39dc4dbc04 added hint table
moved non-generated code to nsCSSProps2.cpp
1998-09-29 23:50:56 +00:00
peterl%netscape.com b9ace40b77 added change hint to parse declaration 1998-09-29 23:50:09 +00:00
peterl%netscape.com 5bd69f379a added hint to parse delcaration 1998-09-29 23:49:19 +00:00
kipp%netscape.com dc4362fa13 Changed factory method to parameterize the shrink wrapping behavior 1998-09-29 03:44:25 +00:00
michaelp%netscape.com b308bcd473 object tag no longer processes it's children (i put troy's change from thursday
in a comment until the parser is sorted out).
1998-09-27 22:44:26 +00:00
kipp%netscape.com 69a575c5c0 Fixed the value of the background-image property when it's not set in the composite background property 1998-09-25 23:35:55 +00:00
kipp%netscape.com f33983a700 Backed out last change since it was too aggressive 1998-09-25 22:53:48 +00:00
troy%netscape.com d5336ff9ad Moved ContentReplaced() handler code to style system 1998-09-25 22:47:00 +00:00
kipp%netscape.com 058d6e86b5 Made SkipRuleSet actually work 1998-09-25 18:17:48 +00:00
kipp%netscape.com a1010ce974 Renamed FrameDeleted to FrameRemoved 1998-09-25 16:12:13 +00:00
troy%netscape.com 318174a3d8 Moved ContentDeleted() document notification code to the style system which
generates the reflow command
1998-09-25 05:13:06 +00:00
peterl%netscape.com 7c988b7689 handle HTML comment tags as whitespace 1998-09-25 01:50:51 +00:00
peterl%netscape.com a99f96fb65 fixed bug preventing properties from parsing if followed by whitespace.
ie: color : blue didn't work
1998-09-25 01:50:34 +00:00
vidur%netscape.com c65c40efea Added new style interfaces. Implemented getStyle() on HTMLElement. Moved DOM fields into side struct for nsGenericHTMLElement. Implemented style declaration interface on proxy. Added new entry point to CSSParser and new methods to style declaration. 1998-09-25 00:51:45 +00:00
troy%netscape.com 450e900440 Added call to ProcessChildren() for OBJECT tag 1998-09-24 20:35:59 +00:00
troy%netscape.com 88d8d60841 Removed a comment that is no longer applicable 1998-09-23 21:55:41 +00:00
karnaze%netscape.com b7d357fce8 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 cbc01b084c Fixed an off by one problem in the ContentInserted() code 1998-09-23 04:25:49 +00:00
kipp%netscape.com 1feda2c07d 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 4a352f5802 Fixed parsing of margins to allow for auto values 1998-09-23 02:35:10 +00:00
kipp%netscape.com 216fa8884f Removed VerticallyAlignChildren (it's in nsInlineReflow now) 1998-09-23 02:34:43 +00:00
kipp%netscape.com c734b42d73 Improved list output for border/padding/margin 1998-09-23 02:34:21 +00:00
buster%netscape.com c663125cd3 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 a0d36cd575 Changes to ContentInserted() handler 1998-09-18 21:28:21 +00:00
troy%netscape.com b6c1cfd2b8 Removed content delegates 1998-09-18 17:18:37 +00:00
troy%netscape.com 740f73d46a Cleaned up frame construction code 1998-09-17 04:07:58 +00:00
peterl%netscape.com 9326c0f61f connected xheight, fixed font realtive sizes,
fixed text-decoration
1998-09-17 00:19:47 +00:00
troy%netscape.com 517a28dfaa 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 abdd161d93 Frame construction changes for tables 1998-09-16 17:19:20 +00:00
buster%netscape.com c47f9bbfcb 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 46acb2313a Removed css/layout directory 1998-09-15 00:19:49 +00:00
troy%netscape.com 7d331e2c97 Added overloaded ConstructFrame() member function. Prep work for table
changes
1998-09-14 21:16:01 +00:00
troy%netscape.com 2766a78b70 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 8444a92233 Part of frame construction changes 1998-09-12 04:46:35 +00:00
peterl%netscape.com daaf147818 vend important rule when present 1998-09-12 02:46:59 +00:00
peterl%netscape.com 4192bbe6e8 fixed content ref count bugs in ContentAppended 1998-09-12 02:46:09 +00:00
peterl%netscape.com 1637c22891 added debug code for ref counting 1998-09-12 02:45:26 +00:00
peterl%netscape.com b58ec8977e init ref count of important rule 1998-09-12 02:43:48 +00:00
troy%netscape.com 21eebef753 Fixed leak of reflow command 1998-09-11 18:57:54 +00:00
kipp%netscape.com c38dcf9b44 Support length values for vertical-align 1998-09-11 04:15:03 +00:00
peterl%netscape.com 991dab3f18 added strength api to style rule 1998-09-11 02:07:58 +00:00
peterl%netscape.com f787309dc5 added important rule support 1998-09-11 02:07:46 +00:00
peterl%netscape.com d1deab28e2 added important rule support
factored declaration processing to a static method
1998-09-11 02:07:05 +00:00
kipp%netscape.com 634f05dad5 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 50abb37993 Fixed a bug with percent values being converted to strings 1998-09-10 23:42:18 +00:00
troy%netscape.com 585ef01470 Hooked back up IFRAME 1998-09-10 21:03:16 +00:00
troy%netscape.com f370908aef Phase one of frame construction changes 1998-09-10 19:32:14 +00:00
peterl%netscape.com 1114073cf0 added to string support 1998-09-10 01:19:26 +00:00
peterl%netscape.com f3cffd4969 removed assert on x-height unit 1998-09-10 01:18:27 +00:00
peterl%netscape.com 13290e1093 fixed filtering of valid ID selectors 1998-09-10 01:18:06 +00:00
peterl%netscape.com 9099acfd69 changed the way map attributes into is connected 1998-09-05 04:00:06 +00:00
peterl%netscape.com d91efeb4f8 tweaked output of percent values 1998-09-05 03:59:44 +00:00
peterl%netscape.com 703a2a4274 COMified interface
made first attribute local
added support for attr uniquing
1998-09-02 02:10:44 +00:00
peterl%netscape.com 0487d758b2 COMified style rule interface 1998-09-02 02:09:43 +00:00
warren%netscape.com 28969e9e90 Added closure argument to nsHashtable::Enumerate. 1998-09-01 00:16:47 +00:00
kipp%netscape.com ed22b370c4 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
troy%netscape.com 6a2fa61df2 Changed interface nsIFontMetrics to use the XPCOM conventions for returning
a nsresult
1998-08-29 02:34:34 +00:00
peterl%netscape.com 0839a8ef32 added table cell style rule inheritance 1998-08-27 00:50:52 +00:00
peterl%netscape.com 7950fd1f43 reversed rule ordering 1998-08-27 00:49:55 +00:00
peterl%netscape.com 595a6844b4 fixed processing of font face (preserve original quotes) 1998-08-07 02:17:56 +00:00
peterl%netscape.com 1d86a0da53 save quote char on string tokens 1998-08-07 02:17:10 +00:00
peterl%netscape.com 939ca85c1d fixed font face support 1998-08-07 02:16:38 +00:00
kipp%netscape.com 08e80f94e6 Init refcnt for html anchor rules 1998-08-04 23:06:39 +00:00
peterl%netscape.com 4d01ae8f02 rounding support 1998-07-31 23:34:45 +00:00
peterl%netscape.com 53e7e44e55 added font scaling support 1998-07-25 01:22:10 +00:00
peterl%netscape.com 2e94829b3e made anchor pseudo classes not resolve unless anchor has an href 1998-07-25 01:21:47 +00:00
peterl%netscape.com e5cf0b2266 added body link color support 1998-07-25 01:20:48 +00:00
kipp%netscape.com d1ac217668 Check style unit before translating relative position coords 1998-07-24 16:22:54 +00:00
michaelp%netscape.com 8a42c31205 modified for new streaming APIs. 1998-07-23 20:35:43 +00:00
peterl%netscape.com 8b578ec62e added nsStyleUtil.cpp 1998-07-23 18:04:24 +00:00
peterl%netscape.com 8ca7b29de7 factored font sizing code to nsStyleUtil
implemented font flags
1998-07-23 18:03:55 +00:00
kostello%netscape.com a930953dfa 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 1d53cc71ce added comment support 1998-07-17 05:50:35 +00:00
peterl%netscape.com d542a81118 fixed @import parsing
rejected malformed id selectors
sync to declaration api change
1998-07-17 05:50:07 +00:00
peterl%netscape.com 9edff7f8db fixed fixed font handling 1998-07-17 05:49:03 +00:00
peterl%netscape.com dea1e981bd added fixed font support
better font size support
1998-07-17 05:46:12 +00:00
kipp af61558bea Handle unconstrained width during percentage width computations 1998-07-15 17:07:20 +00:00
kostello 97e90b0639 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 30f8f69d23 Avoid crashing when no link handler is involved 1998-06-30 20:22:27 +00:00
peterl ba118571c6 added ! important support 1998-06-26 05:51:55 +00:00
peterl ec0fee2a9a fixed equal weight rule ordering 1998-06-26 05:50:10 +00:00
kipp 4b8864ebbc New and improved (?) line layout 1998-06-25 16:33:10 +00:00
buster 3f9f422457 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 6617da99b2 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 c76c309fef Revised SizeOf methods to add in nsString's, nsIAtom's and nsVoidArray's properly 1998-06-05 21:50:57 +00:00
kipp 71d12dae58 Sprinkled SizeOf methods around 1998-06-05 21:06:24 +00:00
peterl 71d5fd1025 sync up to new style data apis 1998-06-05 06:09:09 +00:00
peterl 1e36945bf8 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 e9039ce54f Use revised GetDocument API from content 1998-06-03 16:00:40 +00:00
kipp 26910a6705 Print out percentage values properly 1998-06-03 16:00:15 +00:00
troy 6d244dcc50 Added a comment to GetStyleDimension indicating that computed percentage
values are being handled incorrectly
1998-05-31 04:45:21 +00:00
kipp b17d369aaa Revised API so that correct percentage width/height could be computed 1998-05-30 21:22:17 +00:00
buster c3e2859006 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 8655e732f4 Use mOpacity as a float in the nsStyleColor struct 1998-05-28 19:55:42 +00:00
kipp 2dcaa2827c 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 b665a9ad54 Revised API to be com-ish and added ParseDeclarations 1998-05-28 18:39:08 +00:00
kipp 3fb5c8ed07 Fixed infinite loop in GetStyleSize code 1998-05-28 17:06:43 +00:00
kipp 8f988b8282 Added style support for the new css opacity property 1998-05-28 02:02:43 +00:00
kipp 4ddfb90b4c Revised HorizontallyPlaceChildren API to support a default alignment based on the layout direction 1998-05-28 02:02:22 +00:00
kipp 937fd8363b Parse (and ignore) important declarations 1998-05-27 23:38:16 +00:00
kipp 18f6c1ef3a Only perform horizontal alignment when there is room to do it 1998-05-27 21:04:33 +00:00
peterl 22f5019124 moved attributes around 1998-05-26 23:16:55 +00:00
peterl 5a96d99f60 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +00:00
peterl cb3b43ce42 made it build on irix 1998-05-20 21:28:36 +00:00
peterl 4aaff46277 added rule hash table to speed up style resolution 1998-05-20 20:34:17 +00:00
thom 5493b2968c fixed compile errors for mac 1998-05-19 23:11:28 +00:00
peterl ad536d754b added pseudo-class rule matching 1998-05-19 00:09:29 +00:00
peterl 3c44130d7a added pseudo frame support 1998-05-18 21:11:08 +00:00
peterl 5a28a44c63 cleaned up list output 1998-05-18 21:10:44 +00:00
peterl d017d2a20f pseudo frame support 1998-05-18 21:10:19 +00:00
peterl cf28024bc8 correct case of selectors
skip empty selectors
better pseudo-class support
1998-05-18 21:09:43 +00:00
peterl 2976d767a8 added pseudo element support 1998-05-18 21:07:54 +00:00
peterl 52fd4dfeed fixed memory leak
fixed uninitialized memory read
1998-05-18 21:07:24 +00:00
kipp ad7b3ca94e Removed some useless code 1998-05-14 00:49:11 +00:00
peterl 344a1920c3 added HTML CSS style sheet 1998-05-13 23:42:18 +00:00
peterl 295b3beff6 renamed getSupportsValue to getISupportsValue 1998-05-13 23:42:01 +00:00
peterl 9b327283f0 fixed bug in parse declaration block, we now discard empty declarations
tweaked position
1998-05-13 22:40:54 +00:00
peterl 197d50c4d7 fixed position 1998-05-13 22:40:17 +00:00
kipp 7353bb57bd Fixed vertical alignment bug: lines that contained bottom aligned objects would add in too much height 1998-05-12 23:53:37 +00:00
peterl 8dd3604496 added proper support for border padding & margin
better support for clip
1998-05-12 22:57:52 +00:00
peterl 3a1b51ba69 added clip inherit support
added line-height number support
1998-05-12 22:56:18 +00:00
kipp 55e1c1ea89 Make url's absolute per the css spec 1998-05-11 23:28:47 +00:00
kipp 8f85d77685 Skip over whitespace properly after url string (it's optional whitespace not mandatory whitespace) 1998-05-11 23:28:22 +00:00
kipp 773127ceb5 Removed uneeded code; added a reminder comment 1998-05-09 03:23:41 +00:00
kipp a19ea215c6 Added GetStyleSize 1998-05-07 21:36:16 +00:00
peterl 28e3d1856a update to new value class api 1998-04-30 19:57:36 +00:00
peterl 1cbc581d30 added new unit types, cleaned up api 1998-04-30 19:56:39 +00:00
peterl e680905372 changed nsStyleText to use nsStyleCoord 1998-04-28 23:57:01 +00:00
peterl e7b269d828 removed inheritance from style mapping
changed nsStyleText to use nsStyleCoord
1998-04-28 23:56:28 +00:00
kipp 9c9549a2f1 Allow for optional commas between clip rect elements 1998-04-28 15:24:44 +00:00
troy 2aae959115 Added mClip and mClipFlags to nsStylePosition 1998-04-28 03:21:18 +00:00
kipp 11bd0397f6 Implement all of the text styles; update to use PERCENT in naming of style constants 1998-04-27 21:26:06 +00:00
kipp b28f6f8258 Use PERCENT instead of PCT in style constants; implement vertial alignment for length values and percent values 1998-04-27 21:24:33 +00:00
kipp 4037b259df Normalize structure member names 1998-04-27 21:24:06 +00:00
kipp 096465ba4b Get cursor properly 1998-04-26 03:47:53 +00:00
kipp 38416b1028 Added in cursor and direction properties 1998-04-26 03:47:37 +00:00
kipp 86764b175c Fix porting bugs - made it compile on IRIX 1998-04-26 02:59:29 +00:00
kipp 1767b4a8f8 Port to removal of nsStyleMolecule 1998-04-25 18:48:48 +00:00
kipp b5a253fd63 Added in nsCSSDisplay; cleaned up text align; moved float, clear and display out of position and into display 1998-04-25 18:45:22 +00:00
kipp 051226c143 Implement borders, padding, text-align properties, display, etc. Fixed bug in list inheritance 1998-04-25 18:44:55 +00:00
kipp a1062f035e Updated to use new style constants 1998-04-25 18:44:17 +00:00
kipp 7207ba993f Added support for more properties 1998-04-25 18:43:42 +00:00
troy 8b8a36182f Added mOverflow to nsStylePosition 1998-04-25 04:07:18 +00:00
troy e8efdaa3c6 Added mZIndex to nsStylePosition. Absolutely positioned code now passed
it along to view system
1998-04-24 18:34:31 +00:00
troy 6d930e9882 Added more position properties and removed some stuff from nsStyleMolecule 1998-04-24 03:50:38 +00:00
troy 3edf6508da Fixed PROP_HEIGHT to use VARIANT_KLP (was using VARIANT_KL) 1998-04-24 02:43:42 +00:00
troy 568903a5d9 Setting up style for CSS positioning 1998-04-22 23:28:02 +00:00
troy 8c63963bdf Fixed some bustage 1998-04-22 18:15:48 +00:00
troy 71631d79cd Added support for CSS 'position' property 1998-04-22 15:46:53 +00:00
troy 0ea90de2c4 Fixed a problem in SelectorMatches() that was causing id-based selectors
to always match
1998-04-22 15:43:46 +00:00
peterl 66a1912794 Switch to nsIPtrs to eliminate leaks (and to test them)
added debug code for ref counts
1998-04-22 06:41:10 +00:00
peterl 17d1b9d01d WIP moving margin, border & padding out of nsStyleMolecule
added debug code to track ref counts
1998-04-22 06:40:21 +00:00
peterl ffe8fffe19 Switch to nsIPtr for style context ptrs to eliminate leaks 1998-04-22 06:39:00 +00:00
peterl dc64321aa5 added ref counting debug code 1998-04-22 06:38:31 +00:00
troy ee9a9cab3d Added code to handle CSS margin properties 1998-04-18 22:16:37 +00:00
troy d504fcfb0c Changed nsIFrame member functions to return a nsresult 1998-04-17 01:41:24 +00:00
peterl c839e3a447 fix leaks 1998-04-16 21:51:16 +00:00
kipp 4717009d75 moved to pub 1998-04-13 20:24:54 +00:00