Commit Graph

608 Commits

Author SHA1 Message Date
troy%netscape.com
6493c0fc74 Renamed NS_NewHTMLFrame() to NS_NewRootFrame() 1998-12-21 18:22:44 +00:00
brade%netscape.com
400bea8f9d remove extra comma to reduce warnings on Mac 1998-12-21 16:39:17 +00:00
peterl%netscape.com
66066e1f3c fixed a crasher when mapping list or table style with a null parent context 1998-12-21 07:48:12 +00:00
buster%netscape.com
c869f97f4c fixes for PaintBorderEdges 1998-12-21 06:37:10 +00:00
peterl%netscape.com
cdecfbc7dd fix spelling 1998-12-21 05:58:58 +00:00
peterl%netscape.com
01b2811d2e fix spelling
moved inline automatic key object out of line for buggy unix compilers
1998-12-21 05:58:31 +00:00
troy%netscape.com
9619058141 Changed the frame hierarchy, and changed how scrolling works. Also added
nsAreaFrame which replaces nsBodyFrame which is no longer used
1998-12-20 23:29:47 +00:00
peterl%netscape.com
887cd5f867 sync to new attribute api 1998-12-20 01:21:23 +00:00
peterl%netscape.com
7dd7b861c5 attribute selector work 1998-12-20 01:19:22 +00:00
peterl%netscape.com
1106a4c943 fix equals to not be case sensative 1998-12-20 01:18:47 +00:00
peterl%netscape.com
e2abd8b98e sync to new attribute api
added multiple class support
1998-12-20 01:17:50 +00:00
peterl%netscape.com
7bdfe8b5c1 implement multiple class support
implement attribute selector support
1998-12-20 01:17:05 +00:00
peterl%netscape.com
1742808c87 added case sensativity flag to attribute selectors 1998-12-20 01:16:20 +00:00
peterl%netscape.com
7c4d428475 fixes to attribute selector parsing 1998-12-20 01:15:18 +00:00
troy%netscape.com
7f566a1613 Reverted back to previous revision, because I came up with a cleaner
solution
1998-12-18 05:23:40 +00:00
troy%netscape.com
4bd653681f Re-ordered the call to set the scroll frame's initial child list so that
the XML demos work again. This is really a temporary change until things
get fixed right...
1998-12-18 04:59:14 +00:00
scc%netscape.com
ba11eb34ad Added static IID() method. This member function will be generated automatically in the future. 1998-12-18 03:43:29 +00:00
buster%netscape.com
e0d6677573 added PainBorderSegments 1998-12-17 22:58:51 +00:00
warren%netscape.com
0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
shaver%netscape.com
30635270f8 Add --enable-debug=module1,module2 to selective turn on debugging.
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful.  Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect.  We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy.  Thanks, Matt!]
1998-12-15 16:32:37 +00:00
av%netscape.com
080a4bf40d Making object tag to display alternative context 1998-12-13 21:44:55 +00:00
kipp%netscape.com
4f352d5736 Repaired the background image rendering code to properly factor in the dirty-rect with background-position handling (bug #912) 1998-12-12 03:06:02 +00:00
peterl%netscape.com
e54b306cf1 added css atoms 1998-12-11 02:51:05 +00:00
peterl%netscape.com
11b7d1b081 added support for CSS2 selector syntax 1998-12-11 02:50:43 +00:00
peterl%netscape.com
025b5533c7 support for CSS2 selector systax 1998-12-11 02:50:01 +00:00
peterl%netscape.com
a16ab20767 added case sensativity switch 1998-12-11 02:48:40 +00:00
nisheeth%netscape.com
02450534e5 Changed nsHTMLStyleSheetImpl::AttributeChanged() so that it asks the
content objects for style change hint.  Removed tag specific code in this function.
1998-12-10 23:49:13 +00:00
kipp%netscape.com
6961a03286 Fixed border drawing to not draw zero sized borders 1998-12-10 17:50:11 +00:00
buster%netscape.com
5cbf93ec0f added implementation for CSS-2 style attributes border-collapse, border-spacing, empty-cells, caption-side 1998-12-09 06:24:50 +00:00
harishd%netscape.com
dccdd4a155 Changed code that previously accessed mBorderStyle and mBorderColor
with new mehtods added in nsStyleSpacing
1998-12-07 19:05:40 +00:00
harishd%netscape.com
f3cdc3cfdb Included a new DrawDashedSide() function prototype and modified DrawSide() function. 1998-12-07 19:04:39 +00:00
harishd%netscape.com
2adb142aa5 Changed code that previously accessed mBorderStyle and mBorderColor
with new methods added in nsStyleSpacing
1998-12-07 19:02:13 +00:00
troy%netscape.com
78a4ce96ec 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
ramiro%netscape.com
e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
troy%netscape.com
e05b04aa92 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
62857a1141 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
205250b6c4 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
90f35ce118 Changed view creation to occur when frame initialization occurs 1998-12-04 05:56:06 +00:00
troy%netscape.com
4a0f9cea8f 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
1ebf1ebe4a A better fix. 1998-12-03 20:50:21 +00:00
waterson%netscape.com
a39407d940 Fix build bustage. 1998-12-03 20:47:01 +00:00
waterson%netscape.com
e24288bbb6 First Checked In. 1998-12-03 20:28:15 +00:00
waterson%netscape.com
1cd4a28768 Added initializers that can be used from the repository. Export nsIHTMLStyleSheet.h. 1998-12-03 20:20:35 +00:00
waterson%netscape.com
e964f5d837 Added initializer that can be used from the repository. 1998-12-03 20:19:46 +00:00
troy%netscape.com
2a4b2c503f Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
peterl%netscape.com
ba1a0ff568 changed media type to atom
moved body fixup rule to body element
1998-12-02 00:38:33 +00:00
peterl%netscape.com
b5f9c257f1 changed media type to atom 1998-12-02 00:38:14 +00:00
peterl%netscape.com
1d114307e1 added media support to child sheet iteration
changed medium type to atoms
1998-12-02 00:37:32 +00:00
peterl%netscape.com
fd53cd27e2 added media support to import 1998-12-02 00:36:37 +00:00
peterl%netscape.com
32453af5dc changed medium type to atom 1998-12-02 00:36:00 +00:00
vidur%netscape.com
6b930eba56 Moved nsGenericElement to base directory. Added basic support for document fragments. 1998-11-30 07:59:11 +00:00
kipp%netscape.com
1b3c96e6a4 Port to revised pres-context API 1998-11-26 18:14:41 +00:00
peterl%netscape.com
c66950da5a made css style sheet public (for mac) 1998-11-26 05:17:03 +00:00
peterl%netscape.com
d66876022f removed processimport 1998-11-26 05:16:43 +00:00
peterl%netscape.com
90510e12e0 added media support to @import 1998-11-26 05:16:22 +00:00
peterl%netscape.com
5166993f42 deal with const issues on unix compilers 1998-11-26 04:53:49 +00:00
peterl%netscape.com
e3f218d5b4 style change notification support 1998-11-26 01:34:53 +00:00
peterl%netscape.com
c757654c3a handle whitespace in url() better 1998-11-26 01:30:51 +00:00
kipp%netscape.com
c13a79ad48 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
b8e87edf4b Use Pushback to put back the right character 1998-11-24 01:47:19 +00:00
buster%netscape.com
ee5912363a 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
cyeh%netscape.com
65038e9551 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +00:00
troy%netscape.com
4893fa0a92 Added nsHTMLAtoms::wrappedFramePseudo and changed ConstructFrame() to use
it instead of nsHTMLAtoms::columnPseudo
1998-11-20 23:27:59 +00:00
buster%netscape.com
926252607e took out a dumb debug printf 1998-11-20 21:09:54 +00:00
buster%netscape.com
496fd7d73e 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
fedd9bbb6a removed obsolete include of nsTableFrame 1998-11-20 01:04:43 +00:00
peterl%netscape.com
265c4ca8a7 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
peterl%netscape.com
e7b84c9f31 use proper pseudo tag for text style contexts 1998-11-18 02:11:27 +00:00
vidur%netscape.com
026c273104 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
4a3de77c51 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
7a9e1a4bc1 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
troy%netscape.com
555b09f7bd Added a scroll frame for print preview 1998-11-13 04:22:23 +00:00
troy%netscape.com
61080e7a03 Cleaned up ConstructXMLRootFrame() and added some XXX comments 1998-11-13 03:43:15 +00:00
vidur%netscape.com
dbf2544c2b 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
532ccd2885 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
f076fcd5be rowgroup pseudo-frames for rows inserted directly into a table 1998-11-12 20:45:28 +00:00
buster%netscape.com
f4b68564d6 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
8723f8326b 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
f9a029ea12 Fixed memory leak 1998-11-11 16:50:51 +00:00
troy%netscape.com
690b52766a Fixed a memory leak of a content object 1998-11-11 06:37:30 +00:00
troy%netscape.com
3c6f99e1d7 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
527ee073f8 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
66157a9852 Create a block frame for run-in and compact frames 1998-11-09 23:35:44 +00:00
karnaze%netscape.com
aec75f892e 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
081c78e696 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
cc256d154b 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
44c72dc670 fixed text-decorations some more 1998-11-06 01:06:26 +00:00
peterl%netscape.com
e992193567 sync to declaration api change 1998-11-06 00:59:03 +00:00
peterl%netscape.com
44ce3054b9 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
b0d65f24f9 removed char* apis
fixed ! important property ordering
fixed CSSOM access to ! important properties
1998-11-06 00:56:28 +00:00
peterl%netscape.com
c082c22d32 removed char* method types 1998-11-06 00:52:57 +00:00
peterl%netscape.com
7b042ff290 sync to declaration api change 1998-11-06 00:52:30 +00:00
troy%netscape.com
04c879d6fb Changed frame construction code to create a simple page sequence frame
when paginated
1998-11-05 06:13:55 +00:00
buster%netscape.com
a84d47ada2 nsHTMLReflowCommand now knows what attribute triggered a StyleChanged notification 1998-11-04 19:34:34 +00:00
peterl%netscape.com
ed14dc36b1 made parent context no longer be optional on re-resolve style context method 1998-11-03 21:29:14 +00:00
peterl%netscape.com
cedec7bc27 sync to style resolution api changes 1998-11-03 20:33:43 +00:00
peterl%netscape.com
a753f1285d 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
0eb342abbc changed inheritance of colors
hacked inheritance of vert align for now
1998-11-03 20:31:21 +00:00
troy%netscape.com
fe4e76d9d9 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
buster%netscape.com
6f31889714 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
kipp%netscape.com
eb48bec90b Uncommented the two pseudo properties so that the rest of the table would line up properly 1998-10-30 22:05:50 +00:00
buster%netscape.com
03cad6390d some extremely preliminary work for styleChanged incremental reflow 1998-10-30 07:57:44 +00:00
michaelp%netscape.com
fc225bf7c1 changes to support nsIRenderingContext that conforms to COM conventions. 1998-10-30 02:08:25 +00:00
troy%netscape.com
c16076d5ca Changed to use a scroll frame for the BODY 1998-10-29 23:25:02 +00:00
cls%seawood.org
411ab80ce3 New autoconf files for nglayout 1998-10-28 03:53:57 +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
kipp%netscape.com
6ad745856d Reworked background rendering to properly handle the background-position properties 1998-10-27 16:50:19 +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
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
f5f59ee897 reversed ridge & groove rendering 1998-10-26 23:18:32 +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
troy%netscape.com
3441ff97d9 Changed some comments 1998-10-24 05:03:55 +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
15b3d3c0c3 nuked 1998-10-16 14:45:44 +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
kipp%netscape.com
75cc3c0b39 Disabled the code 1998-10-13 20:43:05 +00:00
kipp%netscape.com
67fdf8457e Removed nsCSSLayout from the build 1998-10-13 20:42:49 +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
troy%netscape.com
713db072d6 Work in progress on scroll frame code 1998-10-12 22:13:23 +00:00
kipp%netscape.com
a77548baff 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
ea5a5735f5 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
2aa95d75a8 support nsTableOuterFrame incremental reflow 1998-10-09 19:59:45 +00:00
troy%netscape.com
d25a9a35a2 Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +00:00
kipp%netscape.com
b6fdb1227b Fixed top relative position bug #1024 1998-10-08 15:37:34 +00:00
karnaze%netscape.com
70a0abb395 fixed Mac bug due to undeclared index in for loop 1998-10-08 14:58:32 +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
4632b67a7b moved nsCSSValue to seperate file 1998-10-08 01:29:01 +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
troy%netscape.com
7aceb4270d Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
troy%netscape.com
ba3c7125c2 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
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
72d707b1dd added nsCSSProps2.cpp 1998-09-29 23:51:47 +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
kipp%netscape.com
261b8bd181 Changed factory method to parameterize the shrink wrapping behavior 1998-09-29 03:44:25 +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
bb57a6d08f Added callback to image loading api 1998-09-26 18:36:59 +00:00
kipp%netscape.com
a995b1ec9f Fixed background-image rendering so that when the entire background is not covered by the image the background color can be seen 1998-09-26 17:29:10 +00:00
kipp%netscape.com
3df3b79365 Support a dx,dy value to adjust origin of image rendering; add in partial support for background-position property 1998-09-26 17:16:56 +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
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
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
karnaze%netscape.com
fb883f1869 Converted forms to use the new content model classes and better separate content from layout. 1998-09-23 17:16:51 +00:00
troy%netscape.com
c2b31326e5 Fixed an off by one problem in the ContentInserted() code 1998-09-23 04:25:49 +00:00
kipp%netscape.com
045654d701 Added a list method for outputing top/right/bottom/left objects like border/padding/margins 1998-09-23 02:36:07 +00:00
kipp%netscape.com
dfe4d42ca1 Fixed parsing of margins to allow for auto values 1998-09-23 02:35:10 +00:00
kipp%netscape.com
cd78e9f1fb Removed VerticallyAlignChildren (it's in nsInlineReflow now) 1998-09-23 02:34:43 +00:00
kipp%netscape.com
2687e9ae4c Improved list output for border/padding/margin 1998-09-23 02:34:21 +00:00
buster%netscape.com
8c93860f3d captions now work properly with new frame layout strategy.
nsTableOuterFrame->mFirstChild==nsTableOuterFrame->mInnerTableFrame, always.
1998-09-20 04:50:08 +00:00
troy%netscape.com
fcf1a1dcdb Changes to ContentInserted() handler 1998-09-18 21:28:21 +00:00
troy%netscape.com
28c7cf540c Removed content delegates 1998-09-18 17:18:37 +00:00
troy%netscape.com
9adcf5d319 Cleaned up frame construction code 1998-09-17 04:07:58 +00:00
peterl%netscape.com
31be38a404 connected xheight, fixed font realtive sizes,
fixed text-decoration
1998-09-17 00:19:47 +00:00
troy%netscape.com
0849b34474 Changed ContentAppended() to not walk up the frame hierarchy looking
for a frame that maps the parent content object that changed
1998-09-17 00:06:46 +00:00
troy%netscape.com
65269d3422 Frame construction changes for tables 1998-09-16 17:19:20 +00:00
buster%netscape.com
953b2efb58 nsStyleConsts.h added some HTML 4 consts for tables
nsHTMLAtoms.cpp,h             added some HTML 4 strings for tables
nsHTMLParts.h                 added constructors for new table content classes
nsGenericHTMLElement.cpp,h    added table frame creation, common table attribute parsing
nsHTMLTable*Element.cpp       these are the new table content classes
nsHTMLContentSink.cpp         enabled the new content and removed the old
nsHTMLStyleSheet.cpp          fixed the table style optimizations to work with new content
nsTable*Frame.cpp             these work with the new content
1998-09-15 17:58:24 +00:00
kipp%netscape.com
8f2807a027 Removed css/layout directory 1998-09-15 00:19:49 +00:00
troy%netscape.com
805dafbcdf Added overloaded ConstructFrame() member function. Prep work for table
changes
1998-09-14 21:16:01 +00:00
troy%netscape.com
17fd2c695e Changes ProcessChildren() to return the child list and leave it to the caller
(ConstructFrame() member function) to call Init()
1998-09-12 23:51:57 +00:00
troy%netscape.com
4ad7bda623 Part of frame construction changes 1998-09-12 04:46:35 +00:00
peterl%netscape.com
61a4c6858a vend important rule when present 1998-09-12 02:46:59 +00:00
peterl%netscape.com
33bac6b83b fixed content ref count bugs in ContentAppended 1998-09-12 02:46:09 +00:00
peterl%netscape.com
7b8fd5e5b4 added debug code for ref counting 1998-09-12 02:45:26 +00:00
peterl%netscape.com
a51760d803 init ref count of important rule 1998-09-12 02:43:48 +00:00
troy%netscape.com
f35125901c Fixed leak of reflow command 1998-09-11 18:57:54 +00:00
kipp%netscape.com
37fb2e7a12 Support length values for vertical-align 1998-09-11 04:15:03 +00:00
peterl%netscape.com
4701208437 added strength api to style rule 1998-09-11 02:07:58 +00:00
peterl%netscape.com
282eb4c3bb added important rule support 1998-09-11 02:07:46 +00:00
peterl%netscape.com
bfc7f2ffe1 added important rule support
factored declaration processing to a static method
1998-09-11 02:07:05 +00:00
kipp%netscape.com
97c08325ed Revised various vertical alignment cases to use font introspection data instead of hard coding in values; corrected middle computation. 1998-09-10 23:43:12 +00:00
kipp%netscape.com
1408d551cd Fixed a bug with percent values being converted to strings 1998-09-10 23:42:18 +00:00
troy%netscape.com
b6e6eb1e83 Hooked back up IFRAME 1998-09-10 21:03:16 +00:00
troy%netscape.com
effef91cf6 Phase one of frame construction changes 1998-09-10 19:32:14 +00:00
peterl%netscape.com
ab0ec41618 added to string support 1998-09-10 01:19:26 +00:00
peterl%netscape.com
68a67f588b removed assert on x-height unit 1998-09-10 01:18:27 +00:00
peterl%netscape.com
b0238f71b5 fixed filtering of valid ID selectors 1998-09-10 01:18:06 +00:00
peterl%netscape.com
0fec5be8c0 changed the way map attributes into is connected 1998-09-05 04:00:06 +00:00
peterl%netscape.com
1a36a503a7 tweaked output of percent values 1998-09-05 03:59:44 +00:00
peterl%netscape.com
2c3031a807 COMified interface
made first attribute local
added support for attr uniquing
1998-09-02 02:10:44 +00:00
peterl%netscape.com
1efe47933e COMified style rule interface 1998-09-02 02:09:43 +00:00
warren%netscape.com
4f1b718b4e Added closure argument to nsHashtable::Enumerate. 1998-09-01 00:16:47 +00:00
kipp%netscape.com
c6290fa577 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
troy%netscape.com
e524804caa Changed interface nsIFontMetrics to use the XPCOM conventions for returning
a nsresult
1998-08-29 02:34:34 +00:00
peterl%netscape.com
bd68b9452b added table dir to includes 1998-08-27 00:51:11 +00:00
peterl%netscape.com
a6fe8afb6d added table cell style rule inheritance 1998-08-27 00:50:52 +00:00
peterl%netscape.com
a71cd5de1d reversed rule ordering 1998-08-27 00:49:55 +00:00
peterl%netscape.com
7c644d95bd fixed processing of font face (preserve original quotes) 1998-08-07 02:17:56 +00:00
peterl%netscape.com
184554a885 save quote char on string tokens 1998-08-07 02:17:10 +00:00
peterl%netscape.com
711e9a2d5e fixed font face support 1998-08-07 02:16:38 +00:00
karnaze%netscape.com
8cdf00711c support for frameset cells without frames, fixed nsCSSRendering paint background divide by zero 1998-08-05 22:24:56 +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
094f51e1e6 renamed LoadImage 1998-07-31 05:59:31 +00:00
michaelp%netscape.com
4ce7ab5a99 improved performance of background rendering. 1998-07-30 23:31:42 +00:00
kipp%netscape.com
7ff5d0e7ce Remove most compiler warnings on IRIX 1998-07-29 20:19:08 +00:00
michaelp%netscape.com
b636c3052c made color handling code in css part of the gfx color utilities. 1998-07-27 21:07:47 +00:00
peterl%netscape.com
e4af0f2495 fixed build on unix 1998-07-25 02:17:13 +00:00
peterl%netscape.com
ab09d83870 added font scaling support 1998-07-25 01:22:10 +00:00
peterl%netscape.com
62cb905c58 made anchor pseudo classes not resolve unless anchor has an href 1998-07-25 01:21:47 +00:00
peterl%netscape.com
7ecf7edd80 added body link color support 1998-07-25 01:20:48 +00:00
kipp%netscape.com
de4d61cd11 Check style unit before translating relative position coords 1998-07-24 16:22:54 +00:00
michaelp%netscape.com
96cf645164 modified for new streaming APIs. 1998-07-23 20:35:43 +00:00
peterl%netscape.com
6ddf7a6d9a added nsStyleUtil.cpp 1998-07-23 18:04:24 +00:00
peterl%netscape.com
7ee20b51d8 factored font sizing code to nsStyleUtil
implemented font flags
1998-07-23 18:03:55 +00:00
peterl%netscape.com
732ce5235d added nsStyleUtil.h 1998-07-23 18:02:55 +00:00
troy%netscape.com
302ac6c6d4 Fixed it so backgrounds are properly tiled again 1998-07-22 18:34:14 +00:00
troy%netscape.com
048270ffb0 Changed PaintBorder() to use the (x,y) that's passed in 1998-07-22 05:02:07 +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
troy%netscape.com
25d601cd32 Fixed MakeSide() so it does a better job of drawing the correct pixels in
the case of 1-pixel thick lines
1998-07-21 09:30:03 +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
troy%netscape.com
8a3882d546 Added background color to image loading member functions 1998-07-16 04:34:59 +00:00
kipp%netscape.com
8432d360c2 Cleaned up exports list 1998-07-15 22:04:21 +00:00
kipp
8c6299af3d Handle unconstrained width during percentage width computations 1998-07-15 17:07:20 +00:00
kmcclusk
ebefc920fc Put all EXPORT's on a single line. Didn't work on Linux when they were on separate lines. 1998-07-15 17:04:56 +00:00
kostello
671a19cd9d Fix Unix build bustage 1998-07-15 16:54:29 +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
37213af260 Don't build shared libraries 1998-07-03 23:12:11 +00:00
kipp
3f7d5435a3 Avoid crashing when no link handler is involved 1998-06-30 20:22:27 +00:00
peterl
5e48108666 added ! important support 1998-06-26 05:51:55 +00:00
peterl
d1e43f5eac fixed equal weight rule ordering 1998-06-26 05:50:10 +00:00
vidur
3f8df8346d Hooked up SCRIPT tag evaluation. Added the nsIScriptContextOwner interface. 1998-06-25 22:26:52 +00:00
kipp
1a446c2e3f New and improved (?) line layout 1998-06-25 16:33:10 +00:00
vidur
b5f413930d Added autogeneration of XPCOM headers and JavaScript stub classes. Added better masking of JS-specific structures in generic interfaces. Creation of a scripting global object interface. 1998-06-23 18:43:06 +00:00
karnaze
505cf9d7ac fixed divide by zero, test9 has sub sub doc. 1998-06-18 18:33:34 +00:00
troy
948d7d756a Fixed a problem with thick left border edges being the wrong thickness 1998-06-18 05:43:32 +00:00
troy
b66023d41f Reduced the number of polygon calls 1998-06-17 22:14:20 +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
atotic
2b30eaf7bd First Checked In. 1998-06-16 21:39:13 +00:00
kipp
7af507cf8e Revised keyword tables 1998-06-15 20:40:27 +00:00
troy
8dbcb4c135 Changed some GetStyleContext/GetStyleData calls to use nsIFrame::GetStyleData
instead. This saves the AddRef/Release overhead
1998-06-14 05:23:59 +00:00
kipp
a69369de69 Revised SizeOf methods to add in nsString's, nsIAtom's and nsVoidArray's properly 1998-06-05 21:50:57 +00:00
kipp
591b2ccd11 Sprinkled SizeOf methods around 1998-06-05 21:06:24 +00:00
peterl
91c5893512 sync up to new style data apis 1998-06-05 06:09:09 +00:00
peterl
2427d97445 added accessor to rules for save code 1998-06-05 06:07:08 +00:00
peterl
119198c615 now track rules by insertion order as well as weighted order
added accessor to rules for save code
1998-06-05 06:06:50 +00:00
kipp
b7847a124d Use revised GetDocument API from content 1998-06-03 16:00:40 +00:00
kipp
07e45af91f Print out percentage values properly 1998-06-03 16:00:15 +00:00
troy
35e6293e4b Added a comment to GetStyleDimension indicating that computed percentage
values are being handled incorrectly
1998-05-31 04:45:21 +00:00
kipp
669da95542 Revised API so that correct percentage width/height could be computed 1998-05-30 21:22:17 +00:00
buster
aad54b07f6 set the groundwork for handling COLS attribute, and attributes on COLGROUP and COL tags. WIP.
set the groundwork for handling percentage-width tables.  Troy is adding a hook for me to get the correct width info from the parent.  WIP.
1998-05-28 21:39:22 +00:00
kipp
3b43bc8d84 Use mOpacity as a float in the nsStyleColor struct 1998-05-28 19:55:42 +00:00
kipp
b20743e28a Revised API to be com-ish and added ParseDeclarations; implement ParseDeclartions using basic declaration handling routines 1998-05-28 18:39:42 +00:00
kipp
d9e2ce27b1 Revised API to be com-ish and added ParseDeclarations 1998-05-28 18:39:08 +00:00
kipp
74805620cf Fixed infinite loop in GetStyleSize code 1998-05-28 17:06:43 +00:00
kipp
72d77edcbb Added style support for the new css opacity property 1998-05-28 02:02:43 +00:00
kipp
f8872f1a9f Revised HorizontallyPlaceChildren API to support a default alignment based on the layout direction 1998-05-28 02:02:22 +00:00
kipp
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
kipp
a4ac37270f Only perform horizontal alignment when there is room to do it 1998-05-27 21:04:33 +00:00
michaelp
b5140d2751 added support for front-to-back view rendering. 1998-05-27 02:13:28 +00:00
peterl
3fd983bcd3 moved attributes around 1998-05-26 23:16:55 +00:00
kostello
843b8a3ff9 Moved Get3DColors from HRPart to CSSRendering.
Modified Border Drawing Code to use Get3DColors for backwards compatibility purposes.
1998-05-26 20:52:59 +00:00
kipp
eb7c893d4f Fixed windows cvpack problem 1998-05-22 18:41:08 +00:00
peterl
7168f94691 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +00:00
peterl
745e32a18d made it build on irix 1998-05-20 21:28:36 +00:00
peterl
c33cdeff7c added rule hash table to speed up style resolution 1998-05-20 20:34:17 +00:00
thom
aa407491f5 fixed compile errors for mac 1998-05-19 23:11:28 +00:00
peterl
194cc28a2d added pseudo-class rule matching 1998-05-19 00:09:29 +00:00
peterl
47db0f2192 added pseudo frame support 1998-05-18 21:11:08 +00:00
peterl
0528c87a0a cleaned up list output 1998-05-18 21:10:44 +00:00
peterl
e8e82334f0 pseudo frame support 1998-05-18 21:10:19 +00:00