Commit Graph

481 Commits

Author SHA1 Message Date
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
kipp%netscape.com
1785db3870 Implement opacity methods 1998-10-28 02:04:27 +00:00
kipp%netscape.com
44596edbf4 Fixed oopsie in the hint storage check 1998-10-28 02:04:06 +00:00
peterl%netscape.com
859f1bee32 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
4c01f19982 removed depth style remap (context does it for us now) 1998-10-27 03:03:49 +00:00
peterl%netscape.com
1f6f1f1426 added reparent method 1998-10-27 03:03:02 +00:00
peterl%netscape.com
9e59e54ad2 added CSS2 property handling 1998-10-26 23:22:40 +00:00
peterl%netscape.com
59c1a6c9c5 brought existing property handing up to spec for CSS2 1998-10-26 23:22:19 +00:00
peterl%netscape.com
821744e23b added aural style hint 1998-10-26 23:21:19 +00:00
peterl%netscape.com
d110125cab moved !important handling into parser 1998-10-26 23:20:45 +00:00
peterl%netscape.com
2d703daf87 added new value types 1998-10-26 23:19:59 +00:00
peterl%netscape.com
66082c24f8 made helper functions static 1998-10-26 23:19:28 +00:00
peterl%netscape.com
adfd98fcef added CSS2 properties 1998-10-26 23:16:27 +00:00
peterl%netscape.com
a21191639f added CSS2 keywords 1998-10-26 23:15:35 +00:00
peterl%netscape.com
055f6c9ae8 renamed cursor values 1998-10-26 23:14:45 +00:00
troy%netscape.com
3441ff97d9 Changed some comments 1998-10-24 05:03:55 +00:00
michaelp%netscape.com
5afda242db changes to support opacity. 1998-10-23 17:54:23 +00:00
karnaze%netscape.com
2a0c2366bb 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
9b9a796719 Added new pseudo class style :SCROLLED-CONTENT 1998-10-22 20:12:34 +00:00
buster%netscape.com
280ae703e0 preliminary code to resolve parent frame issues for table frames 1998-10-21 22:24:59 +00:00
karnaze%netscape.com
9fb22bd084 html 4 <BUTTON> basic functionality 1998-10-17 00:35:32 +00:00
kipp%netscape.com
b53160a31e 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
e38d304eb9 Make default line-height be normal 1998-10-16 22:05:03 +00:00
kipp%netscape.com
454582badf Fixed inheritance behavior of line-height ala peterl 1998-10-16 03:47:40 +00:00
kipp%netscape.com
9fb39f0732 Setup display:none for NOEMBED, NOSCRIPT and NOFRAMES 1998-10-15 05:11:23 +00:00
kipp%netscape.com
32ea84d644 Temporary work around to setting hint better 1998-10-14 23:46:02 +00:00
karnaze%netscape.com
c82d985b8a 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
7b064882de expanded font size table 1998-10-13 19:17:25 +00:00
peterl%netscape.com
a904f8b43e cleanup 1998-10-13 19:14:19 +00:00
peterl%netscape.com
dc5a5464b3 shifted CSS absolute font sizes 1998-10-13 19:13:59 +00:00
peterl%netscape.com
c10e30346c corrected order of properties 1998-10-13 19:13:14 +00:00
peterl%netscape.com
7adba8a6ce shifted absolute font sizes so initial value matches HTML
removed table border style
1998-10-13 19:12:19 +00:00
peterl%netscape.com
8c48296887 added recycler for rules array 1998-10-13 19:09:39 +00:00
peterl%netscape.com
eab54339c6 Added GetMargin/Padding/... to replace CalcMargin/Padding/...
Corrected border width initial value
1998-10-13 01:05:52 +00:00
troy%netscape.com
713db072d6 Work in progress on scroll frame code 1998-10-12 22:13:23 +00:00
buster%netscape.com
2aa95d75a8 support nsTableOuterFrame incremental reflow 1998-10-09 19:59:45 +00:00
peterl%netscape.com
fe1ca7d45f zero out border when style == none
fixed padding cache bug
1998-10-09 17:28:24 +00:00
troy%netscape.com
d25a9a35a2 Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +00:00
karnaze%netscape.com
63f45a785b inline, shrinkwrap support for fieldsets, legneds 1998-10-08 19:04:57 +00:00
karnaze%netscape.com
42797648cf fieldset, legend support. fixed bug #987 1998-10-08 04:38:41 +00:00
rpotts%netscape.com
7d88ecde74 Fixed crash due to null pointer... 1998-10-08 04:14:18 +00:00
peterl%netscape.com
f65a2a8850 added css2 properties 1998-10-08 01:34:58 +00:00
peterl%netscape.com
154eeceebf init hash code to make purify happy 1998-10-08 01:32:41 +00:00
peterl%netscape.com
e9cf015856 added CSS2 properties 1998-10-08 01:31:58 +00:00
peterl%netscape.com
b9cc95d754 sync to css declaration changes 1998-10-08 01:31:38 +00:00
peterl%netscape.com
a8c29650d6 moved from nsCSSDeclaration 1998-10-08 01:29:29 +00:00
peterl%netscape.com
759f587f49 improve speed of finding children 1998-10-08 01:27:38 +00:00
vidur%netscape.com
7cff1485c8 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
981c6a47a8 never create frames when display is none 1998-10-06 00:43:48 +00:00
troy%netscape.com
fa70c38667 Changed some code to use XPCOM ref counting related macros 1998-10-05 05:11:18 +00:00
peterl%netscape.com
20929d4c89 added get value as string 1998-09-30 01:08:59 +00:00
peterl%netscape.com
ec47856ca5 make text decoration always an enum 1998-09-30 01:08:44 +00:00
peterl%netscape.com
1ad78fe181 added attribute & content changed code 1998-09-29 23:51:28 +00:00
peterl%netscape.com
3bc6123a01 added hint table
moved non-generated code to nsCSSProps2.cpp
1998-09-29 23:50:56 +00:00
peterl%netscape.com
191c84a963 added change hint to parse declaration 1998-09-29 23:50:09 +00:00
peterl%netscape.com
d221719350 added hint to parse delcaration 1998-09-29 23:49:19 +00:00
peterl%netscape.com
257630f5c7 added content & attribute change to style frame construction
cleaned up api
1998-09-29 23:47:03 +00:00
kipp%netscape.com
9c4b2f1a1d Better margins 1998-09-29 22:35:24 +00:00
kipp%netscape.com
261b8bd181 Changed factory method to parameterize the shrink wrapping behavior 1998-09-29 03:44:25 +00:00
kipp%netscape.com
cfa13731e2 Added FIELDSET and LEGEND preliminary support 1998-09-28 21:52:10 +00:00
michaelp%netscape.com
528cf54cd0 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
1e75853398 Diable body margin for now until rendering problem with background images is resolved 1998-09-26 17:15:07 +00:00
kipp%netscape.com
85f4e23d94 Added rules to properly setup HTML and BODY and FRAMESET 1998-09-25 23:38:10 +00:00
kipp%netscape.com
dc09f46996 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
703d1f18a6 Backed out last change since it was too aggressive 1998-09-25 22:53:48 +00:00
troy%netscape.com
2bd6a1a377 Moved ContentReplaced() handler code to style system 1998-09-25 22:47:00 +00:00
kipp%netscape.com
931ab0fbb3 Made SkipRuleSet actually work 1998-09-25 18:17:48 +00:00
kipp%netscape.com
96b8114547 Renamed FrameDeleted to FrameRemoved 1998-09-25 16:12:13 +00:00
troy%netscape.com
50795d8516 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
3b8aee3337 handle HTML comment tags as whitespace 1998-09-25 01:50:51 +00:00
peterl%netscape.com
27b3193c87 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
8582fa89ce removed table default values 1998-09-25 01:49:27 +00:00
peterl%netscape.com
7aaa6f0444 removed content apis from style context 1998-09-25 01:48:22 +00:00
vidur%netscape.com
b4fc446c94 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
49f2e69fbe Disable a certain kind of caching to make incremental style changes work 1998-09-24 23:56:45 +00:00
kipp%netscape.com
eb45c70707 Expose remap method 1998-09-24 23:56:30 +00:00
kipp%netscape.com
77548847c2 Added bullet pseudo-style 1998-09-24 21:36:21 +00:00
troy%netscape.com
bc86038f2a Added call to ProcessChildren() for OBJECT tag 1998-09-24 20:35:59 +00:00
troy%netscape.com
06c2b4210f Removed a comment that is no longer applicable 1998-09-23 21:55:41 +00:00
buster%netscape.com
1fba5ac7dc 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
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
dfe4d42ca1 Fixed parsing of margins to allow for auto values 1998-09-23 02:35:10 +00:00
kipp%netscape.com
2687e9ae4c Improved list output for border/padding/margin 1998-09-23 02:34:21 +00:00
kipp%netscape.com
aa0e54c319 Some improvement to list layout 1998-09-23 02:33:37 +00:00
buster%netscape.com
6b5085a487 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
718f4b9882 clamp border & padding width to 0 1998-09-22 02:08:45 +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
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
peterl%netscape.com
ef34a211d1 sort style rules by strength 1998-09-11 02:05:30 +00:00
peterl%netscape.com
690e996b99 added strength 1998-09-11 02:05:07 +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
3a5dd0b74f removed content from style mapping api 1998-09-05 03:52:30 +00:00
peterl%netscape.com
10c7185fad removed content from style map api 1998-09-05 03:51:56 +00:00
kipp%netscape.com
b869a47308 Make more objects invisible 1998-09-03 22:23:22 +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
peterl%netscape.com
dc32acedf3 COMified some interfaces 1998-09-02 02:03:24 +00:00
peterl%netscape.com
ef15112377 COMified 1998-09-02 02:00:05 +00:00
kipp%netscape.com
9b03021e16 Added some style rules for new content objects 1998-09-01 01:37: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
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
1361e6230c reversed sheet/rule ordering
added backstop rule count
1998-08-27 00:47:15 +00:00
peterl%netscape.com
0b78c480f4 commented on sheet/rule ordering 1998-08-27 00:46:34 +00:00
kipp%netscape.com
1a2351620b Elminated top/bottom margins around center tags 1998-08-11 15:32:12 +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
d3024f8eb7 cleaned up 1998-07-31 05:58:13 +00:00
kipp%netscape.com
7ff5d0e7ce Remove most compiler warnings on IRIX 1998-07-29 20:19:08 +00:00
kipp%netscape.com
8469091965 Bottom align BR's to make the compatible with nav 1998-07-28 23:33:31 +00:00
karnaze%netscape.com
9c030a8f5c more robust frameset layout; <frame>, <iframe> borders; reenabled scrolling attr for <iframe> 1998-07-27 05:59:37 +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
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
peterl%netscape.com
b14b73ba93 added font flags 1998-07-23 17:57:16 +00:00
troy%netscape.com
789a2dbe45 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
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
peterl%netscape.com
a65025d311 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
d2bf561219 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
1e57359168 ua.css changed to match Nav default for cell padding 1998-07-16 23:24:53 +00:00
karnaze%netscape.com
a7e143ec46 removed hack for input, textarea 1998-07-16 19:48:37 +00:00
kipp
6c7df9225b Fixed HR style 1998-07-15 17:07:00 +00:00
kipp
fff0d2b60c Made applet's, embed's and object's inlines 1998-07-15 00:48:56 +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
59156541d0 Made tables look more real by eliminating ebina auto margins 1998-07-14 15:22:11 +00:00
kipp
6272e27350 Fixed UL/OL to be blocks again (whoops) 1998-07-13 22:12:58 +00:00
kipp
68ab2aa86e Cleaned up style sheet 1998-07-13 19:49:53 +00:00
kipp
50698a0e13 Made it more ebina ish 1998-07-10 20:28:04 +00:00
kipp
eba3466b03 tweaked nested lists style; add in bottom margins for most block elements 1998-07-09 17:08:09 +00:00
kipp
72388e4355 Added some style for html4 tags and some nav tags 1998-07-03 18:41:44 +00:00
karnaze
5c32434ce8 more nav4 compatibility, radio group bug fixes 1998-07-01 20:11:57 +00:00
kipp
3f7d5435a3 Avoid crashing when no link handler is involved 1998-06-30 20:22:27 +00:00
kipp
9d7cab2d27 Made sub/sup look more like navigator 1998-06-29 16:10:41 +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
peterl
b3f9eec797 fixed context dumping 1998-06-26 05:49:01 +00:00
kipp
1a446c2e3f New and improved (?) line layout 1998-06-25 16:33:10 +00:00
buster
3d98654938 minor updates and fixes 1998-06-17 19:51:51 +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
kipp
7af507cf8e Revised keyword tables 1998-06-15 20:40:27 +00:00
buster
f1483bd22e more separation between table content and frames 1998-06-11 17:50:51 +00:00
kipp
0d61200514 Added rules to make TD's, TH's behave more like navigator 1998-06-09 17:31:34 +00:00
kipp
63b4b0d1d0 Use serif instead of times roman directly 1998-06-05 17:53:46 +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
peterl
cddb45ae76 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
9c18b6fa69 added flag to get unique style context during resolve 1998-06-05 06:00:55 +00:00
buster
07076ff7cf 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
8eb86c6579 Eliminate css margins around block elements (so that ebina margins are used instead) 1998-06-04 17:52:22 +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
kipp
e6a44c24b8 Use outside bullets again 1998-05-29 02:16:29 +00:00
kipp
3b43bc8d84 Use mOpacity as a float in the nsStyleColor struct 1998-05-28 19:55:42 +00:00
kipp
b4112aff11 Set value to 1.0F as a float 1998-05-28 19:55:15 +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
f285347b6d Eliminated bogus style from HR rule 1998-05-28 17:06:15 +00:00
kipp
72d77edcbb Added style support for the new css opacity property 1998-05-28 02:02:43 +00:00
kipp
024ff28d3a Use default text alignment; setup opacity properly 1998-05-28 02:01:19 +00:00
kipp
6de497e240 Added a new property 1998-05-28 01:11:30 +00:00
kipp
9be967661a Parse (and ignore) important declarations 1998-05-27 23:38:16 +00:00
peterl
3fd983bcd3 moved attributes around 1998-05-26 23:16:55 +00:00
peterl
3ce1b73e85 use context graph for finding contexts 1998-05-26 23:14:56 +00:00
peterl
8dea0e7806 reworked up reset code
added child list
1998-05-26 23:14:09 +00:00
kipp
ca9dfd762d 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
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
peterl
cf8839a911 collapse double empty contexts 1998-05-20 20:33:30 +00:00
peterl
fa54b78ed1 added rule count accessor 1998-05-20 20:32:57 +00:00
kipp
90e9083b3a Added rule for MULTICOL 1998-05-20 16:28:19 +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
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
ee773f3472 added pseudo style support
added debug list of context graph
1998-05-18 21:05:52 +00:00
peterl
592d55c519 added debugging code 1998-05-18 21:04:26 +00:00
peterl
3a943ba17e added pseudo frame style support 1998-05-18 21:03:10 +00:00
peterl
c7341728eb added HTML CSS style sheet 1998-05-13 23:42:18 +00:00
peterl
89e961b03f fixed bug in parse declaration block, we now discard empty declarations
tweaked position
1998-05-13 22:40:54 +00:00
peterl
8f8eedabf5 fixed position 1998-05-13 22:40:17 +00:00
peterl
a28652c5d3 connected spacing calculations to frame 1998-05-13 22:38:54 +00:00
kipp
186c393da1 Removed unused variable 1998-05-13 00:12:54 +00:00
kipp
f926f04a0b Eliminate anonymous struct (and useless bitfields) to fix irix compilation problem 1998-05-13 00:10:35 +00:00
kipp
245009e879 Removed IMG rule 1998-05-12 23:51:09 +00:00
peterl
b1e4b9dddd added proper support for border padding & margin
better support for clip
1998-05-12 22:57:52 +00:00
peterl
8993ed1907 added clip inherit support
added line-height number support
1998-05-12 22:56:18 +00:00
peterl
0822939f9d merged nsStyleBorder & nsStyleSpacing
changed spacing data to use nsStyleSides
removed virtual methods
added nsStyleTable
1998-05-12 22:23:13 +00:00
peterl
c66846cbf8 added factor unit type
added nsStyleSides
1998-05-12 22:18:42 +00:00
kipp
e7b30a6c52 Make url's absolute per the css spec 1998-05-11 23:28:47 +00:00
kipp
df41bc56dd Skip over whitespace properly after url string (it's optional whitespace not mandatory whitespace) 1998-05-11 23:28:22 +00:00
kipp
04ca90d1da Updated style sheet 1998-05-07 00:06:15 +00:00
kipp
ae538db0c7 BR's are inline and cyan (if they are rendering) 1998-05-02 00:56:55 +00:00
kipp
ee76c81742 Fixed default background repeat bug 1998-05-02 00:55:29 +00:00
peterl
257cc56544 update to new value class api 1998-04-30 19:57:36 +00:00
peterl
1379c574d2 added new unit types, cleaned up api 1998-04-30 19:56:39 +00:00
peterl
bd7c900947 changed to nsStylePosition to use nsStyleCoord 1998-04-30 19:52:26 +00:00
peterl
3d7101b7ce updated api, added new units 1998-04-30 19:50:36 +00:00
peterl
6df9c2fbe6 removed unneeded destructors
cleaned up some initial values
1998-04-29 21:06:15 +00:00
peterl
078fdb51a3 added normal value 1998-04-29 21:05:28 +00:00
peterl
e69f24d204 removed inheritance from style mapping
changed nsStyleText to use nsStyleCoord
1998-04-28 23:56:28 +00:00
peterl
7f0ab2c651 added nsStyleCoord 1998-04-28 23:54:06 +00:00
kipp
71728fe999 Allow for optional commas between clip rect elements 1998-04-28 15:24:44 +00:00
troy
beceaa1b53 Added mClip and mClipFlags to nsStylePosition 1998-04-28 03:21:18 +00:00
kipp
bf0e442b27 Implement all of the text styles; update to use PERCENT in naming of style constants 1998-04-27 21:26:06 +00:00
kipp
380556b3c7 Normalize structure member names 1998-04-27 21:24:06 +00:00
kipp
4d8d4f9951 Init nsStyleText values using new nsStyleValue 1998-04-27 21:21:42 +00:00
kipp
3c277d5f82 Get cursor properly 1998-04-26 03:47:53 +00:00
kipp
ccb9067008 Added in cursor and direction properties 1998-04-26 03:47:37 +00:00
kipp
414176bd83 Add in cursors 1998-04-26 03:47:06 +00:00
kipp
941c955ed8 Fix porting bugs - made it compile on IRIX 1998-04-26 02:59:29 +00:00