Commit Graph

7026 Commits

Author SHA1 Message Date
kipp
e531368a89 Use FirstChild method so that more subclasses can use the method 1998-07-14 18:38:11 +00:00
kipp
8ff38eadd5 Implement VerifyReflow 1998-07-13 19:49:42 +00:00
kipp
21059331cd Added reflow verification api 1998-07-13 19:49:20 +00:00
kipp
2432218467 updated a few comments 1998-07-13 19:49:07 +00:00
kipp
473f3e0175 Avoid crashing when we have no content 1998-07-11 03:47:56 +00:00
kipp
bdc1ff0f5b Made GetCursorAt looping generic so that more subclasses could use it 1998-07-11 03:47:37 +00:00
kipp
3fdb071728 Pass on DidReflow always so that sub-frames that contain views can get notified and move the views 1998-07-10 20:27:43 +00:00
kipp
7664b60bce initialize reflow metrics and reflow state to avoid downstream bugs 1998-07-10 20:26:20 +00:00
troy
97ae834b23 Deprecated the SetFirstContentOffset/SetLastContentOffset member
functions that take a nsIFrame*
1998-07-10 19:04:06 +00:00
troy
6d06722267 Added some new sizing constraints 1998-07-09 20:53:37 +00:00
kipp
5bb77d7e59 Added some slots to nsReflowMetrics specifically to support collapsing css margins; it needs to go somewhere else! 1998-07-09 17:06:12 +00:00
jevering
afde6be6e3 Fixed optimized build. 1998-07-07 22:07:35 +00:00
kipp
37213af260 Don't build shared libraries 1998-07-03 23:12:11 +00:00
kipp
7125b57c68 Fixed up logging to use the frame logging 1998-07-02 21:26:00 +00:00
rpotts
2d418707f3 Reworked Post data to avoid memory leaks... Removed nsIDocument::LoadURL(...). Added nsIDocument::StartDocumentLoad(...) as a callback method for the DocumentLoader... 1998-07-01 11:16:09 +00:00
kipp
93a84a0358 Reworked PropagateContentOffsets so that the update to the offsets is done by the frame itself instead of the child whacking the parent directly; this allows subclasses to override the whackage. 1998-06-30 20:12:23 +00:00
kipp
925e12fa74 Added NS_IS_REFLOW_ERROR; updated reflow status comment to indicate which bits are reserved by nsIFrame API's 1998-06-27 22:54:58 +00:00
kipp
b04bd31883 Removed PutCachedData(etc) API from nsIPresShell 1998-06-26 16:26:24 +00:00
kipp
0352d421ad Removed obsolete justify-reflow method 1998-06-26 15:11:53 +00:00
kipp
b00f7215a5 Eliminated IRIX compiler warnings (and a bug) 1998-06-26 15:07:09 +00:00
peterl
b3f9eec797 fixed context dumping 1998-06-26 05:49:01 +00:00
kipp
52519ae680 Removed gratuitous if's 1998-06-26 00:31:44 +00:00
vidur
3f8df8346d Hooked up SCRIPT tag evaluation. Added the nsIScriptContextOwner interface. 1998-06-25 22:26:52 +00:00
kipp
e23973dc33 Fixed irix build bustage 1998-06-25 17:23:32 +00:00
kipp
1a446c2e3f New and improved (?) line layout 1998-06-25 16:33:10 +00:00
kipp
fc85edd770 Revised page size computation 1998-06-25 15:05:35 +00:00
kipp
03930d69e0 Removed include of stdio.h 1998-06-25 15:03:49 +00:00
kipp
3147b0e1a7 Assign values to reflow reason so that when printing them numerically it's easier to map the integer back to the enum 1998-06-25 15:03:37 +00:00
michaelp
ec4811f612 added init() method to prescontext.
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00
troy
fb859a6264 Work around for the case where a content change notification has
no corresponding frame in the frame hierarchy
1998-06-24 04:37:11 +00:00
karnaze
3074df2576 named <iframe>s, scrolling attribute, more complete test9.html 1998-06-23 22:25:28 +00:00
joki
e820a618d7 Event handling additions for DOM suport. Adding additional event pathway through HandleDOMEvent 1998-06-23 21:53:02 +00:00
vidur
e25cc5bd2b Added js dependency 1998-06-23 19:11:22 +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
rpotts
58123235cc Some reference counting to make things go away... 1998-06-23 18:40:18 +00:00
troy
a89d59bb51 Changed AddObserver() to check if the observer is already in the list.
This worksaround a problem with the pres shell being added twice
1998-06-20 00:45:05 +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
5b6d6015b1 First Checked In. 1998-06-15 22:13:46 +00:00
spider
ccea853a2f Support for TrueColor display, add nsNativeDeviceContext to Init method of nsIDeviceContext, fix FontMetrics crash if no RenderingContext is available. 1998-06-11 21:26:21 +00:00
buster
f1483bd22e more separation between table content and frames 1998-06-11 17:50:51 +00:00
troy
66b6882d23 Added nsIReflowCommand interface 1998-06-09 04:51:44 +00:00
joki
10ffd04c8c Adding new event handling mechanism into raptor. 1998-06-08 00:57:15 +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
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
peterl
2c0fe9653c changed GetStyleData to return const pointers to style structs
new method GetMutableStyleData to get non-const pointer
1998-06-05 05:59:34 +00:00
peterl
29b60dc6ff added flag to force return of unique style context 1998-06-05 05:58:20 +00:00
kipp
e058ce04b6 Removed ReflowChild that handles space manager (troy can stop nagging me now :-) 1998-06-04 23:08:24 +00:00
kipp
748fce93e0 removed blather code 1998-06-04 20:41:14 +00:00
kipp
10364f001e Draw a different colored border when showing visual frame boundaries if the frame has a view 1998-06-04 17:47:30 +00:00
kmcclusk
ec03ab29c7 Added nsFrameImageLoader to the unix make 1998-06-03 23:44:08 +00:00
michaelp
9f71c8886e added support for handling transparent views to viewmanager. added
transparency query to nsIFrame.
1998-06-03 22:49:45 +00:00
kipp
d6d26b8295 Added logging events 1998-06-03 18:55:23 +00:00
kipp
c900a1196c declare and implement revised content api 1998-06-03 15:48:14 +00:00
kipp
f31e8fd941 Init fEntireContent 1998-06-03 15:47:48 +00:00
kipp
55edd67670 Declare factory here for now 1998-06-03 15:47:34 +00:00
kipp
1493956e90 IMplement factory in this class; AddRef during QueryInterface like it should; init refcnt in ctor 1998-06-03 15:47:22 +00:00
kipp
ddc78890a7 Implement COMized document observer API; added logging of doc observer methods 1998-06-03 15:46:54 +00:00
kipp
349cdb5768 Tell document that content changed not shell's 1998-06-03 15:46:04 +00:00
kipp
2d08a4ac14 Display view during listings 1998-06-03 15:45:48 +00:00
kipp
5aac2c535d Decleare BeginLoad/EndLoad 1998-06-03 15:45:36 +00:00
kipp
81d74eee6a Pass on Begin/End Load to observers; removed selection factory method 1998-06-03 15:45:25 +00:00
kipp
4a9e16a98f Print out view during listings 1998-06-03 15:41:53 +00:00
kipp
41b1731f72 Presentation shell is no longer a subclass of nsIDocumentObserver (the implementation still is however, it's just not publicized) 1998-06-03 15:41:39 +00:00
kipp
c9660cdcf8 COMized API; added Begin/End reflow and Begin/End Load methods 1998-06-03 15:40:56 +00:00
kipp
627dc37066 Added begin/end load methods 1998-06-03 15:39:45 +00:00
kipp
521349db05 COMized some of the API; added a notify flag to the child insert/replace/append/remove methods 1998-06-03 15:39:32 +00:00
michaelp
a948d320c3 prevented infinite paint/damage loop. 1998-06-02 22:05:45 +00:00
michaelp
d4e9eac3bb now calls viewmanager to effect view changes. 1998-06-02 22:04:54 +00:00
troy
edd188c5e9 Added member function Invalidate() 1998-06-02 05:28:11 +00:00
kipp
85370222ed Removed some debug printfs 1998-06-01 20:55:28 +00:00
kipp
db0df5f7c3 Revised LoadURL to take an nsIStreamListener; removed old document load hooks 1998-06-01 19:52:39 +00:00
troy
d870f336d8 Fixed an assert 1998-05-30 23:56:28 +00:00
kipp
3a6dc218b6 NS_IMETHOD'd some of the API's 1998-05-30 01:36:47 +00:00
kipp
33f579eb13 enter/exit reflow lock automatically in content changed (temporary maybe) 1998-05-30 01:31:04 +00:00
troy
b33d67da1e Changed ReflowChild() to handle the 'OccupiedMultiple' case 1998-05-29 23:06:08 +00:00
michaelp
739c83297e fixed over-releasing of views in DeleteFrame(). 1998-05-29 22:36:21 +00:00
troy
7a485fcc40 Changed nsReflowState structs to be linked together 1998-05-29 20:36:05 +00:00
kipp
b31171c2f2 IMplement new content method 1998-05-29 02:10:27 +00:00
kipp
66d92c9bb7 Clear both frame-in-reflow and frame-first-reflow bits on finished didreflow 1998-05-29 02:10:12 +00:00
kipp
cb30a1fea6 Added a new content method to see if a piece of content is synthetic or not 1998-05-29 02:09:38 +00:00
kipp
e4431fe3a2 Added another state bit 1998-05-29 02:09:18 +00:00
troy
5cecc918fd Changed it so we don't position or size the view while in the middle
of reflowing. Now that's done in DidReflow()
1998-05-28 21:55:13 +00:00
kipp
b4112aff11 Set value to 1.0F as a float 1998-05-28 19:55:15 +00:00
kipp
5aa4fad9a2 Simplified mOpacity to a float 1998-05-28 19:54:50 +00:00
troy
d6ceb1bcea Changed VerifyTree() to check that NS_FRAME_IN_REFLOW isn't set 1998-05-28 19:00:31 +00:00
troy
27c2f0230b Added WillReflow() calls around reflowing of child frame 1998-05-28 18:37:56 +00:00
rickg
31e784bf95 fixed class name crasher 1998-05-28 07:38:28 +00:00
troy
4910a3a407 Added 'ns' prefix to class name 1998-05-28 02:37:37 +00:00
kipp
024ff28d3a Use default text alignment; setup opacity properly 1998-05-28 02:01:19 +00:00
kipp
13cab9bf52 Added text_align_default for better direction handling 1998-05-28 02:00:59 +00:00
kipp
51e93a2d77 Added mOpacity to nsStyleColor 1998-05-28 01:59:38 +00:00
karnaze
f1382417c0 post submission, file content submission 1998-05-27 17:51:41 +00:00
michaelp
b5140d2751 added support for front-to-back view rendering. 1998-05-27 02:13:28 +00:00
peterl
3ce1b73e85 use context graph for finding contexts 1998-05-26 23:14:56 +00:00
peterl
ef2b8c8f94 cleaned up visibility 1998-05-26 23:14:29 +00:00
peterl
8dea0e7806 reworked up reset code
added child list
1998-05-26 23:14:09 +00:00
peterl
8ab27e1cb9 cleanup 1998-05-26 23:13:26 +00:00
peterl
45e4d76785 moved overflow from position to display struct 1998-05-26 23:13:15 +00:00
peterl
ffff5d5941 documented reset vs inherited attributes
shuffled some attributes around
1998-05-26 23:12:14 +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
troy
3ea1d2d8e3 Merged ResizeReflow() and IncrementalReflow() into one Reflow() member function 1998-05-25 17:31:49 +00:00
kipp
eb7c893d4f Fixed windows cvpack problem 1998-05-22 18:41:08 +00:00
kipp
f2ba7b689f Removed includes; updated GetVisibleArea API 1998-05-22 18:36:40 +00:00
kipp
ec47208d0c updated GetVisibleArea API 1998-05-22 18:36:27 +00:00
kipp
8daaf04ddd Removed includes 1998-05-22 18:28:40 +00:00
kipp
b5a42fbb0a Only verify last is complete when enabled 1998-05-22 18:28:29 +00:00
kipp
619abbfb24 Removed unneeded include 1998-05-22 18:28:02 +00:00
kipp
73c89fcb92 Repaired GetVisibleArea API 1998-05-22 18:27:48 +00:00
troy
9b54fbae32 Changed reference to reflow command to a pointer to a reflow command 1998-05-22 04:56:27 +00:00
troy
6204c78831 Changed splittable enum to be bit flags 1998-05-22 04:54:11 +00:00
troy
a1ab3d3e9a Changed the nsBandTrapezoid::State enum values to conform to the coding
standard
1998-05-22 04:03:14 +00:00
troy
a4a33ecef7 Added new Reflow() member function that will eventually supersede the two
existing reflow functions: ResizeReflow() and IncrementalReflow()
1998-05-22 03:52:51 +00:00
troy
e47c71bad0 Fixed some busted code of a bogus type cast 1998-05-22 00:45:34 +00:00
kipp
347d3d39f9 Removed temporary content appended hack (it no longer works) 1998-05-21 16:10:35 +00:00
peterl
f850f5baa5 new file 1998-05-21 02:34:45 +00:00
peterl
7168f94691 Changed GetStyleData to use an enum instead of an nsID 1998-05-21 02:34:13 +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
61caa1fb64 Added a minor optimization to avoid memcpy calls that aren't needed 1998-05-20 16:25:16 +00:00
kipp
8265678786 Use new frame tracing macros 1998-05-20 16:24:54 +00:00
kipp
19123d58e5 Declare tracing macros that use nspr logging and tracing methods that support the macros 1998-05-20 16:24:36 +00:00
kipp
313514d5da Implement new debugging hooks that use nspr logging; also implement tracing methods in nsFrame; use tracing in will/did-reflow hooks 1998-05-20 16:24:13 +00:00
kipp
d329a05735 Added some trace messages; fixed bug in PaintChildren that was always painting all children instead of allowing the intersection with the dirty rect to avoid paints 1998-05-20 16:23:37 +00:00
kipp
98f696a9af Added more debugging hooks that use nspr logging 1998-05-20 16:22:15 +00:00
troy
1fa629b516 Added more self-test code 1998-05-20 05:29:56 +00:00
troy
689fa77686 Implemented RemoveRegion() 1998-05-20 05:14:14 +00:00
thom
aa407491f5 fixed compile errors for mac 1998-05-19 23:11:28 +00:00
troy
70eb627aa6 Changes for removing regions 1998-05-19 22:55:40 +00:00
troy
a0060561f9 Work in progress on removing a region 1998-05-19 15:30:10 +00:00
troy
a2a3cb6c02 Initial check-in 1998-05-19 03:01:30 +00:00
troy
27cefaf456 Revamped space manager internals 1998-05-19 03:00:56 +00:00
thom
a2729a12bc Mac checkin 1998-05-18 22:47:24 +00:00
peterl
c440da74c3 added pseudo style support 1998-05-18 21:06:33 +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
489fb9f6ed fixed memory leak 1998-05-18 21:03:55 +00:00
peterl
3a943ba17e added pseudo frame style support 1998-05-18 21:03:10 +00:00
peterl
a8329d74b5 added list method 1998-05-18 21:02:49 +00:00
kipp
f51cf58f63 Print out state when non-zero 1998-05-18 16:53:09 +00:00
kipp
d87b1d5927 Implement DidReflow to pass it down to children when exiting reflow; dump out state and next-in-flow/prev-in-flow conditionally 1998-05-18 16:51:37 +00:00
kipp
46b2e73f37 Implement DidReflow to pass it down to children when exiting reflow 1998-05-18 16:51:17 +00:00
kipp
3773985de9 Implement new frame methods and store the current state 1998-05-14 00:47:32 +00:00
kipp
c0075966dd Flipped state value of NS_FRAME_COMPLETE with NS_FRAME_NOT_COMPLETE; added new methods WillReflow and DidReflow as well as GetFrameState and SetFrameState 1998-05-14 00:47:05 +00:00
peterl
a28652c5d3 connected spacing calculations to frame 1998-05-13 22:38:54 +00:00
peterl
5000488855 fixed style position values 1998-05-13 22:38:37 +00:00
peterl
084e36938f added style size calculation methods
made get style data const
1998-05-13 22:38:09 +00:00
peterl
cb3cb74d17 removed cache invalidation methods 1998-05-13 22:35:30 +00:00
michaelp
d55497643c added gamma correction methods to the device context. the windows rendering context now
gamma corrects colors. fixed tablecellframe to call the right nsStyleCoord constructor.
1998-05-13 18:15:06 +00:00
troy
2269c1d962 Changes to space manager implementation. 1998-05-13 16:22:44 +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
a56175b972 Export nsIFrameImageLoader too 1998-05-13 00:10:06 +00:00
kipp
0f25b685df Removed left/right margin calc as caller is doing it 1998-05-12 23:48:37 +00:00
kipp
6a762cbfff Added methods to invalidate the caches 1998-05-12 23:47:50 +00:00
troy
2f7c5e2ad6 Changed API 1998-05-12 23:02:14 +00:00
troy
224249091a Added new member functions 1998-05-12 23:02:02 +00:00
peterl
a74065d6fc sync to nsStyleSpacing api changes 1998-05-12 22:58:14 +00:00
peterl
9bc80be166 sync to new spacing apis 1998-05-12 22:28:01 +00:00
peterl
1b9417b6fa added table enums
added clip flags
1998-05-12 22:25:31 +00:00
peterl
4abbba9368 added factor unit
added nsStyleSides
1998-05-12 22:24:12 +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
8f0b181a70 Merged nsStyleBorder & nsStyleSpacing
changed spacing values o use nsStyleSides
removed virtual methods
1998-05-12 22:21:03 +00:00
peterl
c66846cbf8 added factor unit type
added nsStyleSides
1998-05-12 22:18:42 +00:00
troy
8f2db5dfa6 Changed enum to conform with coding standards 1998-05-12 04:38:23 +00:00
troy
5b69e1f043 Change to nsIFrame API 1998-05-12 04:17:56 +00:00
kipp
a5887e310b Init band data so that zero is returned on failure 1998-05-12 01:30:57 +00:00
kipp
8ad0fdc600 Re-installed the temporary content appended hack 1998-05-12 01:30:40 +00:00
kipp
d0ae47e340 Pass on stop image load to the image loader too so that circular references can be broken and memory can get released properly 1998-05-12 01:30:15 +00:00
kipp
b58d55a356 Removed unused variables and methods 1998-05-12 01:29:43 +00:00
kipp
7004a73082 Implement stop and abort; stop properly breaks circular link to image request 1998-05-12 01:29:29 +00:00
kipp
9f9c04ca2b Declare stop and abort methods 1998-05-12 01:28:51 +00:00
kipp
f66e300932 Added stop and abort methods 1998-05-12 01:28:31 +00:00
kipp
619471fc16 Use new image loading API's 1998-05-11 22:58:20 +00:00
kipp
4bd1b3a848 Revised image loading API's 1998-05-11 22:57:05 +00:00
kipp
4542f9f903 Removed image loading code (factored out into nsFrameImageLoader); revised API for image loading 1998-05-11 22:56:58 +00:00
kipp
0eb99d9f58 Added nsFrameImageLoader 1998-05-11 22:56:23 +00:00
kipp
0175c0420c Export nsIFrameImageLoader.h 1998-05-11 22:55:54 +00:00
kipp
8fa5204d63 new 1998-05-11 22:52:40 +00:00
troy
8c077bc14e Fixed build bustage 1998-05-11 21:03:50 +00:00
troy
71191f123b More incremental reflow work. 1998-05-11 18:38:10 +00:00
kipp
e09e86128b Use new LoadImage API 1998-05-09 03:23:54 +00:00
kipp
46b1b4e39c Cheesy implementation of the reflow lock and content appended 1998-05-09 03:22:41 +00:00
kipp
5fdc67cce5 Updated to new API 1998-05-09 03:22:14 +00:00
kipp
d2e721ddd9 Reworked load image support and provided content changed calls to the shell when image sizes arrive 1998-05-09 03:22:01 +00:00
kipp
2cc285c48b Added enter/exit reflow lock methods 1998-05-09 03:21:34 +00:00
kipp
7e5dd2d493 Revised LoadImage API to use NS_IMETHOD and provide alot more information about the load 1998-05-09 03:21:19 +00:00
kipp
2358c691b7 Fixed irix bustage 1998-05-08 21:12:12 +00:00
rods
1d7ce79a12 added major selection method and data members 1998-05-08 18:33:42 +00:00
troy
f6213badc1 Changed container related functions to return NS_ERROR_NOT_IMPLEMENTED
instead of NS_OK
1998-05-08 17:02:35 +00:00
troy
d555488943 Changed ContentChanged() to generate a reflow command 1998-05-08 16:33:07 +00:00
rods
e80f937688 added Selection methods to nsICodment, nsDocument, nsiSplittableFRame 1998-05-08 15:07:41 +00:00
troy
684762559e Hooked up ContentChanged() to notify the frame 1998-05-08 04:59:35 +00:00
troy
b3c5708bd1 Added ContentChanged() member function 1998-05-08 04:45:37 +00:00
kipp
5a5b088cad Set clip rect if style says to 1998-05-07 21:35:03 +00:00
kipp
c60883d207 Fixed the dancing form-elements bug by making MoveTo properly account for the views offset from parent 1998-05-07 16:13:09 +00:00
kipp
519a6403a4 Ported to new CreateFrame/CreateContinuingFrame APIs 1998-05-07 00:08:20 +00:00
kipp
f8bff82f91 Changed CreateContinuingFrame to take a style context argument to reduce style context creation 1998-05-07 00:05:37 +00:00
kipp
e03db2b516 Updated CreateFrame to take a style context argument to reduce style context creation 1998-05-07 00:05:13 +00:00
troy
02e5832c88 Started adding ContentChanged() notifications 1998-05-06 16:28:55 +00:00
troy
d477d86672 Frames no longet store the content index-in-parent 1998-05-05 23:56:50 +00:00
troy
9fe7339f4c Fixed my build bustage 1998-05-04 22:50:13 +00:00
troy
4789d6cab9 Implemented DOM document's createTextNode() function, and changed insertBefore()
handler to allow refChild to be null
1998-05-04 20:34:37 +00:00
troy
7d8404bbe3 Work in progress for incremental reflow (insert) 1998-05-04 17:54:45 +00:00
troy
b6217c70a6 Changed body to create block pseudo-frame instead of a column pseudo frame,
and hooked up the reflow appended code
1998-05-03 03:51:48 +00:00
kipp
ee76c81742 Fixed default background repeat bug 1998-05-02 00:55:29 +00:00
kipp
2b63b1ff15 Stub for WillDeleteNextInFlowFrame; call it during DeleteChildNextInFlows; fixed up ReflowChild spacemanager version to not mess with the availSize when talking to a space manager cognizant child 1998-05-02 00:55:11 +00:00
kipp
3d1d6e2dc4 Added WillDeleteNextInFlowFrame to allow for deletion pre-processing by container frames 1998-05-02 00:54:12 +00:00
kostello
a5c40d6b25 * Made SetStyleContext take the presentation context as a parameter
* Made DidSetStyleContext virtual, since we need to override the behavior in subclasses
1998-05-01 20:43:02 +00:00
rpotts
f9d512df9f nsSelectionRange.h is required by nsISelection.h 1998-05-01 05:56:08 +00:00
rpotts
11bc3a6660 nslayout.h is *all* lower case 1998-05-01 05:55:11 +00:00
rpotts
8079b4ef67 added netlib to the include path... 1998-05-01 05:07:25 +00:00
peterl
adf806b888 removed include 1998-04-30 19:53:05 +00:00
peterl
8007d1ba75 changed api, added new units 1998-04-30 19:52:46 +00:00
peterl
bd7c900947 changed to nsStylePosition to use nsStyleCoord 1998-04-30 19:52:26 +00:00
peterl
d13f3e9451 removed style position value, added cursor auto 1998-04-30 19:51:52 +00:00
peterl
3d7101b7ce updated api, added new units 1998-04-30 19:50:36 +00:00
peterl
349e809427 changed nsStypePosition to use nsStyleCoord 1998-04-30 19:50:18 +00:00
rods
40bc934f3b initial 1998-04-30 19:15:05 +00:00
rods
4ff8130ec4 added selection classes to makefiles and added the selection object and methods to nsDocument and nsIDocument 1998-04-30 18:21:59 +00:00
rods
3735ca89f7 turned off selection 1998-04-30 16:13:01 +00:00
michaelp
33997423e6 minor tweaks to UpdateView() in view manager. if you want to invalidate a whole
view, pass in nsnull for the nsRegion param.
viewmanager InsertChild() above/below now does the right thing.
fixed cujo's table thingie.
1998-04-30 02:41:14 +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
bc77280fd7 removed unneeded destructors 1998-04-29 21:04:57 +00:00
rods
90bc62a72a initial check in 1998-04-29 17:08:57 +00:00
troy
4123dc2ed8 Changed space manager to return a list of available and unavailable trapezoids 1998-04-29 00:58:16 +00:00
peterl
7f0ab2c651 added nsStyleCoord 1998-04-28 23:54:06 +00:00
peterl
36ad79f92e added subclass hook for style post-processing 1998-04-28 23:25:07 +00:00
troy
beceaa1b53 Added mClip and mClipFlags to nsStylePosition 1998-04-28 03:21:18 +00:00
kipp
4d8d4f9951 Init nsStyleText values using new nsStyleValue 1998-04-27 21:21:42 +00:00
kipp
ae119edbb6 Cleaned up percent names 1998-04-27 21:20:24 +00:00
kipp
05983c54da Added nsStyleValue and then updated nsStyleText to use it 1998-04-27 21:19:45 +00:00
rods
28ca9ccfe4 started adding selection 1998-04-27 16:44:52 +00:00
kipp
0e59c2de8c Removed hack 1998-04-27 15:39:58 +00:00
troy
1b17c6e7f7 Added function to set a trapezoid's shape based on a rectangle 1998-04-27 03:35:05 +00:00
kipp
e6099dd7cd Added inherit for direction style 1998-04-26 03:46:26 +00:00
kipp
941c955ed8 Fix porting bugs - made it compile on IRIX 1998-04-26 02:59:29 +00:00
kipp
93fdfbe671 Port to removal of nsStyleMolecule 1998-04-25 18:48:48 +00:00
kipp
f94192041a Implement nsStyleText, nsStyleDisplay; added cursors; removed hack code 1998-04-25 18:33:32 +00:00
kipp
0881a942f0 Tidy up style constants 1998-04-25 18:33:11 +00:00
kipp
7c51e017b9 Cleaned up the API 1998-04-25 18:32:59 +00:00
kipp
edb8a27c9e Added nsStyleText, nsStyleDisplay; removed nsStyleMolecule and hack code; cleaned up a few others 1998-04-25 18:32:11 +00:00
troy
e6ae1b0bcb Added mOverflow to nsStylePosition 1998-04-25 04:07:18 +00:00
troy
800accf63a Added mZIndex to nsStylePosition. Absolutely positioned code now passed
it along to view system
1998-04-24 18:34:31 +00:00
troy
2adf9e6718 Added more position properties and removed some stuff from nsStyleMolecule 1998-04-24 03:50:38 +00:00
michaelp
bf7e14549f removed conditional calling of view->SetDimensions() in SizeTo(). 1998-04-23 21:51:03 +00:00
buster
742a6deb6f added style for HTML 4 table elements and TH 1998-04-23 17:19:21 +00:00
kipp
59359e73b4 define win32_lean_and_mean 1998-04-23 16:47:26 +00:00
troy
2c0ca536fc More CSS position work 1998-04-23 15:39:48 +00:00
troy
55632fc7af Added nsStylePosition 1998-04-22 23:29:01 +00:00
troy
fdf2b8c3d4 HackStyleFor no longer sets positionFlags 1998-04-22 16:07:27 +00:00
peterl
6421bec370 WIP moving margin, border & padding out of nsStyleMolecule 1998-04-22 06:39:35 +00:00
peterl
83bb132b05 WIP moving border, margin & padding out of nsStyleMolecule 1998-04-22 06:33:35 +00:00
peterl
065043c183 made GetStyleContext work with a null pres context 1998-04-22 06:32:55 +00:00
peterl
fdc0e3f023 WIP removing border, margin & padding from nsStyleMolecule 1998-04-22 06:32:17 +00:00
troy
73a2d89927 Changed space manager to pass in the frame that's associated with a block
of unavailable space
1998-04-21 23:06:41 +00:00
troy
2e70be499e Fixed column's incremental reflow function to properly handle margins 1998-04-21 04:27:34 +00:00
peterl
365c3a7d93 added spacing and border structs 1998-04-21 00:02:44 +00:00
troy
38fe177725 Changed the space manager interface to return trapezoids instead
of rects
1998-04-20 23:53:47 +00:00
buster
073e82f152 table performance and minor bug fixes. 1998-04-20 22:49:15 +00:00
troy
cfd0fcd45e Changed to using continuing frames for runaround of left/right floaters 1998-04-20 19:56:35 +00:00
troy
fddbbebe51 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
3c1512e523 Fixed a bug I introduced in the previous checkin 1998-04-18 05:03:04 +00:00
troy
e1e6d470ff Changed IsSplittable to have three return values 1998-04-17 23:08:20 +00:00
troy
3ce8e88882 Changed nsIFrame member functions to return a nsresult 1998-04-17 01:41:24 +00:00
peterl
066232b1c2 added a style hack to get P align attributes to work again 1998-04-16 22:21:45 +00:00
peterl
74502df8bb fix leaks 1998-04-16 21:51:16 +00:00
dario
21730dc654 doc 1998-04-15 18:55:21 +00:00
michaelp
150ac682db fixed bug where we would double paint any frame that had a view. 1998-04-14 21:49:29 +00:00
scullin
c706c01f42 IRIX build fixes. 1998-04-14 01:56:50 +00:00
kipp
098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00