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

2509 Коммитов

Автор SHA1 Сообщение Дата
waterson%netscape.com 07920c6756 Added initializer that can be used from the repository. 1998-12-03 20:19:46 +00:00
buster%netscape.com 0259b3f134 added table pseudo-style contenxts 1998-12-03 18:03:28 +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
peterl%netscape.com f9df2b0fc3 fixed decoration style of del 1998-12-02 00:35:26 +00:00
peterl%netscape.com 6d6e66b873 added media support 1998-12-02 00:30:42 +00:00
peterl%netscape.com 009f5dbd89 changed medium type to atom 1998-12-02 00:29:16 +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
peterl%netscape.com 1bfec862ce added change notification support 1998-11-26 01:24:52 +00:00
peterl%netscape.com daab147c00 added style sheet properties 1998-11-26 01:24:32 +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
kipp%netscape.com 23b5a4de99 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 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 9fe1e3b039 added :TABLE pseudo-style 1998-11-20 21:06:59 +00:00
buster%netscape.com cae6af5e35 removed obsolete include of nsTableFrame 1998-11-20 01:04:43 +00:00
peterl%netscape.com 239ca35fcd cursor style cleanup 1998-11-18 02:23:39 +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
peterl%netscape.com 819ac307fd cleaned up cursor handling 1998-11-18 02:10:45 +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
buster%netscape.com 655121b757 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 01ab7c46e5 Cleaned up OL/UL margins 1998-11-15 01:13:00 +00:00
michaelp%netscape.com f186598ef5 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
joki%netscape.com a8b6fbcdee 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 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
buster%netscape.com baaa18677b fix for default cell padding and cell spacing 1998-11-11 19:54:23 +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
kipp%netscape.com 03015215fe Added a reminder to the ua.css 1998-11-10 18:00:46 +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
troy%netscape.com 70b4af0366 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 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 582d848efb sync to declaration api change 1998-11-06 00:52:30 +00:00
peterl%netscape.com 9bcd308ff6 added default style for INS, DEL & DFN 1998-11-06 00:51:46 +00:00
peterl%netscape.com 35b4b23fb3 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 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
peterl%netscape.com d20c2aa1e1 added inherit rules for table child elements 1998-11-03 20:25:23 +00:00
peterl%netscape.com a184103f85 removed context hashtable code
decoupled style context resolution from frames
1998-11-03 20:19:28 +00:00
peterl%netscape.com c8a8304961 added pseudo tag support
removed backstop rule count
removed reparent
1998-11-03 20:18:40 +00:00
peterl%netscape.com 8069fc8bda decoupled style resolution api from frame system 1998-11-03 20:16:23 +00:00
troy%netscape.com 10c06c1b72 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
kipp%netscape.com 9155526492 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 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 c5b842e239 added reparent method 1998-10-27 03:03:02 +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
peterl%netscape.com 3695d1bc09 added CSS2 keywords 1998-10-26 23:15:35 +00:00
peterl%netscape.com 7c7cd7545d renamed cursor values 1998-10-26 23:14:45 +00:00
troy%netscape.com c4862c491c Changed some comments 1998-10-24 05:03:55 +00:00
michaelp%netscape.com bed7d2d4c3 changes to support opacity. 1998-10-23 17:54:23 +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
karnaze%netscape.com b0a171ab5c html 4 <BUTTON> basic functionality 1998-10-17 00:35:32 +00:00
kipp%netscape.com e24173e891 Moved bullet pseudo-style next to LI defns to make it clear how to keep them in sync 1998-10-16 23:18:18 +00:00
kipp%netscape.com 9271229659 Make default line-height be normal 1998-10-16 22:05:03 +00:00
kipp%netscape.com c3ce7d20a6 Fixed inheritance behavior of line-height ala peterl 1998-10-16 03:47:40 +00:00
kipp%netscape.com 9eed2caf4b Setup display:none for NOEMBED, NOSCRIPT and NOFRAMES 1998-10-15 05:11:23 +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
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
peterl%netscape.com e59f0b3a61 corrected order of properties 1998-10-13 19:13:14 +00:00
peterl%netscape.com e2d33cd37b shifted absolute font sizes so initial value matches HTML
removed table border style
1998-10-13 19:12:19 +00:00
peterl%netscape.com b4fcd606d7 added recycler for rules array 1998-10-13 19:09:39 +00:00
peterl%netscape.com 2fa43632c8 Added GetMargin/Padding/... to replace CalcMargin/Padding/...
Corrected border width initial value
1998-10-13 01:05:52 +00:00
troy%netscape.com 7391b96095 Work in progress on scroll frame code 1998-10-12 22:13:23 +00:00
buster%netscape.com 37e93ed6b7 support nsTableOuterFrame incremental reflow 1998-10-09 19:59:45 +00:00
peterl%netscape.com b82165370a zero out border when style == none
fixed padding cache bug
1998-10-09 17:28:24 +00:00
troy%netscape.com cc44601bb8 Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +00:00
karnaze%netscape.com c68d17a425 inline, shrinkwrap support for fieldsets, legneds 1998-10-08 19:04:57 +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
peterl%netscape.com 18cbead466 improve speed of finding children 1998-10-08 01:27:38 +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
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
peterl%netscape.com ba250fd0f4 added content & attribute change to style frame construction
cleaned up api
1998-09-29 23:47:03 +00:00
kipp%netscape.com a7429e11c7 Better margins 1998-09-29 22:35:24 +00:00
kipp%netscape.com dc4362fa13 Changed factory method to parameterize the shrink wrapping behavior 1998-09-29 03:44:25 +00:00
kipp%netscape.com 16a21037b9 Added FIELDSET and LEGEND preliminary support 1998-09-28 21:52:10 +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 c6e974cdf0 Diable body margin for now until rendering problem with background images is resolved 1998-09-26 17:15:07 +00:00
kipp%netscape.com 6e274e26b0 Added rules to properly setup HTML and BODY and FRAMESET 1998-09-25 23:38:10 +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
peterl%netscape.com 1a0d20c00a removed table default values 1998-09-25 01:49:27 +00:00
peterl%netscape.com fbdaa1a086 removed content apis from style context 1998-09-25 01:48:22 +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
kipp%netscape.com 11c2f1cec3 Disable a certain kind of caching to make incremental style changes work 1998-09-24 23:56:45 +00:00
kipp%netscape.com d9590155c5 Expose remap method 1998-09-24 23:56:30 +00:00
kipp%netscape.com 7a05a95296 Added bullet pseudo-style 1998-09-24 21:36:21 +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
buster%netscape.com c1981ca059 all frame initialization and related logic has moved into the various table frames' Init() methods
from their respective InitalReflow() methods.
table-layout=fixed now completely skips pass1 reflow and doesn't require maxElementSize
information, saving a tremendous amount of time during initial reflow.
1998-09-23 21:48:26 +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 4a352f5802 Fixed parsing of margins to allow for auto values 1998-09-23 02:35:10 +00:00
kipp%netscape.com c734b42d73 Improved list output for border/padding/margin 1998-09-23 02:34:21 +00:00
kipp%netscape.com 995e9b67ea Some improvement to list layout 1998-09-23 02:33:37 +00:00
buster%netscape.com 29018c63f5 set all the groundwork for FAST table layout based on CSS-2 table-layout property 1998-09-22 23:36:06 +00:00
peterl%netscape.com bbc834e0ac clamp border & padding width to 0 1998-09-22 02:08:45 +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 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
peterl%netscape.com 52187d340b sort style rules by strength 1998-09-11 02:05:30 +00:00
peterl%netscape.com 20471b12bb added strength 1998-09-11 02:05:07 +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 d9e677533d removed content from style mapping api 1998-09-05 03:52:30 +00:00
peterl%netscape.com 8855841e3b removed content from style map api 1998-09-05 03:51:56 +00:00
kipp%netscape.com 6e22b45a38 Make more objects invisible 1998-09-03 22:23:22 +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
peterl%netscape.com aee54eb5c8 COMified some interfaces 1998-09-02 02:03:24 +00:00
peterl%netscape.com 9017183418 COMified 1998-09-02 02:00:05 +00:00
kipp%netscape.com 620d3cbb98 Added some style rules for new content objects 1998-09-01 01:37: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
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 4e78d9f83e reversed sheet/rule ordering
added backstop rule count
1998-08-27 00:47:15 +00:00
peterl%netscape.com d50246718e commented on sheet/rule ordering 1998-08-27 00:46:34 +00:00
kipp%netscape.com b30f3e8c70 Elminated top/bottom margins around center tags 1998-08-11 15:32:12 +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 d4cf8f20b8 cleaned up 1998-07-31 05:58:13 +00:00
kipp%netscape.com 4a52add42a Remove most compiler warnings on IRIX 1998-07-29 20:19:08 +00:00
kipp%netscape.com 703aedcf82 Bottom align BR's to make the compatible with nav 1998-07-28 23:33:31 +00:00
karnaze%netscape.com 0c57bd7dac more robust frameset layout; <frame>, <iframe> borders; reenabled scrolling attr for <iframe> 1998-07-27 05:59:37 +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
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
peterl%netscape.com 36c0aa0f94 added font flags 1998-07-23 17:57:16 +00:00
troy%netscape.com 23eb4a6ae4 Changed nsCSSRendering::PaintBorder() so the entire rect is used
and not just the width and height
1998-07-22 02:46:00 +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
peterl%netscape.com 522407746e removed body & table default settings
changed heading sizes to absolute instead of length
removed form element font hacks
1998-07-17 05:45:22 +00:00
peterl%netscape.com f37bfc3fc3 added fixed pitch font
added default color support
added content pointer
added style reset for table cells & captions
added linear links
1998-07-17 05:43:31 +00:00
buster%netscape.com bc9f28621d ua.css changed to match Nav default for cell padding 1998-07-16 23:24:53 +00:00
karnaze%netscape.com 25fbc6265e removed hack for input, textarea 1998-07-16 19:48:37 +00:00
kipp 5ce420759d Fixed HR style 1998-07-15 17:07:00 +00:00
kipp 6c9f53efd0 Made applet's, embed's and object's inlines 1998-07-15 00:48:56 +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 15a83c2495 Made tables look more real by eliminating ebina auto margins 1998-07-14 15:22:11 +00:00
kipp 8f35d36ee0 Fixed UL/OL to be blocks again (whoops) 1998-07-13 22:12:58 +00:00
kipp dbaf7838af Cleaned up style sheet 1998-07-13 19:49:53 +00:00
kipp 6d3504205c Made it more ebina ish 1998-07-10 20:28:04 +00:00
kipp b4651aac4e tweaked nested lists style; add in bottom margins for most block elements 1998-07-09 17:08:09 +00:00
kipp 2056d51a8c Added some style for html4 tags and some nav tags 1998-07-03 18:41:44 +00:00
karnaze e1d5194abb more nav4 compatibility, radio group bug fixes 1998-07-01 20:11:57 +00:00
kipp 30f8f69d23 Avoid crashing when no link handler is involved 1998-06-30 20:22:27 +00:00
kipp ed831815d1 Made sub/sup look more like navigator 1998-06-29 16:10:41 +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
peterl cb4e3b72c0 fixed context dumping 1998-06-26 05:49:01 +00:00
kipp 4b8864ebbc New and improved (?) line layout 1998-06-25 16:33:10 +00:00
buster 7463485160 minor updates and fixes 1998-06-17 19:51:51 +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
kipp 0030a5b770 Revised keyword tables 1998-06-15 20:40:27 +00:00
buster 3a0505d67b more separation between table content and frames 1998-06-11 17:50:51 +00:00
kipp 24d1f0f70d Added rules to make TD's, TH's behave more like navigator 1998-06-09 17:31:34 +00:00
kipp acd8d1a63f Use serif instead of times roman directly 1998-06-05 17:53:46 +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
peterl 338da2eab9 changed GetData to GetStyleData and made its return const
added GetMutableStyleData and support for unique contexts
1998-06-05 06:01:55 +00:00
peterl b1030af38c added flag to get unique style context during resolve 1998-06-05 06:00:55 +00:00
buster 020c0f9645 cell width calculations are working (not for colspan cells yet)
some bug fixes and optimizations
some of the more elaborate test cases are closer to Nav4-compatible
1998-06-05 02:36:25 +00:00
kipp 6754c323d8 Eliminate css margins around block elements (so that ebina margins are used instead) 1998-06-04 17:52:22 +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
kipp 1739e2e3b5 Use outside bullets again 1998-05-29 02:16:29 +00:00
kipp 8655e732f4 Use mOpacity as a float in the nsStyleColor struct 1998-05-28 19:55:42 +00:00
kipp 2628fb4bbb Set value to 1.0F as a float 1998-05-28 19:55:15 +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 9b22978d65 Eliminated bogus style from HR rule 1998-05-28 17:06:15 +00:00
kipp 8f988b8282 Added style support for the new css opacity property 1998-05-28 02:02:43 +00:00
kipp 399374728a Use default text alignment; setup opacity properly 1998-05-28 02:01:19 +00:00
kipp b268fad129 Added a new property 1998-05-28 01:11:30 +00:00
kipp 937fd8363b Parse (and ignore) important declarations 1998-05-27 23:38:16 +00:00
peterl 22f5019124 moved attributes around 1998-05-26 23:16:55 +00:00
peterl 742eb2d745 use context graph for finding contexts 1998-05-26 23:14:56 +00:00
peterl 3215b236c4 reworked up reset code
added child list
1998-05-26 23:14:09 +00:00
kipp b0fafece37 Move padding out of UL/OL and into LI's that are in UL/OL's 1998-05-22 18:39:11 +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
peterl 75034db5c9 collapse double empty contexts 1998-05-20 20:33:30 +00:00
peterl addc527eb6 added rule count accessor 1998-05-20 20:32:57 +00:00
kipp e627a68783 Added rule for MULTICOL 1998-05-20 16:28:19 +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 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 8cb0400608 added pseudo style support
added debug list of context graph
1998-05-18 21:05:52 +00:00
peterl 12db5cfc8d added debugging code 1998-05-18 21:04:26 +00:00
peterl d91757b5c8 added pseudo frame style support 1998-05-18 21:03:10 +00:00
peterl 344a1920c3 added HTML CSS style sheet 1998-05-13 23:42:18 +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
peterl f591955d94 connected spacing calculations to frame 1998-05-13 22:38:54 +00:00
kipp 8060bedbd5 Removed unused variable 1998-05-13 00:12:54 +00:00
kipp 155bd31586 Eliminate anonymous struct (and useless bitfields) to fix irix compilation problem 1998-05-13 00:10:35 +00:00
kipp b417c5623b Removed IMG rule 1998-05-12 23:51:09 +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
peterl b9d6cdc197 merged nsStyleBorder & nsStyleSpacing
changed spacing data to use nsStyleSides
removed virtual methods
added nsStyleTable
1998-05-12 22:23:13 +00:00
peterl 1f3c71eb21 added factor unit type
added nsStyleSides
1998-05-12 22:18:42 +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 cbdc7fbe69 Updated style sheet 1998-05-07 00:06:15 +00:00
kipp 6ce278f678 BR's are inline and cyan (if they are rendering) 1998-05-02 00:56:55 +00:00
kipp 21e1b3a406 Fixed default background repeat bug 1998-05-02 00:55:29 +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 82f09e3453 changed to nsStylePosition to use nsStyleCoord 1998-04-30 19:52:26 +00:00
peterl 121efdeb0f updated api, added new units 1998-04-30 19:50:36 +00:00
peterl 0a3102284e removed unneeded destructors
cleaned up some initial values
1998-04-29 21:06:15 +00:00
peterl 159b9dacbb added normal value 1998-04-29 21:05:28 +00:00
peterl e7b269d828 removed inheritance from style mapping
changed nsStyleText to use nsStyleCoord
1998-04-28 23:56:28 +00:00
peterl 3545f4e831 added nsStyleCoord 1998-04-28 23:54:06 +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 4037b259df Normalize structure member names 1998-04-27 21:24:06 +00:00
kipp cd2d1fca8e Init nsStyleText values using new nsStyleValue 1998-04-27 21:21:42 +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 6e81a203c7 Add in cursors 1998-04-26 03:47:06 +00:00
kipp 86764b175c Fix porting bugs - made it compile on IRIX 1998-04-26 02:59:29 +00:00
kipp acf5d69b34 new keywords 1998-04-25 19:11:20 +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
kipp 7e340e0d25 updated 1998-04-25 18:41:41 +00:00
kipp e6603fbd39 Implement nsStyleText, nsStyleDisplay; added cursors; removed hack code 1998-04-25 18:33:32 +00:00
troy 8b8a36182f Added mOverflow to nsStylePosition 1998-04-25 04:07:18 +00:00
kipp deffb550af latest props 1998-04-24 19:55:53 +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
buster 4ff4685dbe added style for HTML 4 table elements and TH 1998-04-23 17:19:21 +00:00
troy aa7d0f6143 More CSS position work 1998-04-23 15:39:48 +00:00
troy 3ba9ae16ba Added nsStylePosition 1998-04-22 23:29:01 +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 6a693cd797 HackStyleFor no longer sets positionFlags 1998-04-22 16:07:27 +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 dc64321aa5 added ref counting debug code 1998-04-22 06:38:31 +00:00
peterl b9de8ef7df WIP moving border, margin & padding out of nsStyleMolecule 1998-04-22 06:33:35 +00:00
peterl 69f50285b9 added spacing and border structs 1998-04-21 00:02:44 +00:00
buster 494d1f714f table performance and minor bug fixes. 1998-04-20 22:49:15 +00:00
troy e617812c67 Commented out the hack that explicitly set the P top margin since that's
now handled using CSS
1998-04-19 05:06:41 +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 6fb3bcb3e6 added a style hack to get P align attributes to work again 1998-04-16 22:21:45 +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