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