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

723 Коммитов

Автор SHA1 Сообщение Дата
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 33afc7a9cc WIP checkin 1998-06-05 01:02:30 +00:00
kipp 6f00af11ec Fixed to return proper reflow status 1998-06-05 00:54:03 +00:00
kipp 9ece420342 Fixed spacer to work again 1998-06-04 23:10:26 +00:00
kipp aec0b7c844 Verify that mIsBlock is correct 1998-06-04 23:10:15 +00:00
kipp 1426c55b58 Pass through x,y events to an imagemap that is a map but doesn't use a named map 1998-06-04 23:09:52 +00:00
kipp 731de410d3 Removed dead code 1998-06-04 23:08:59 +00:00
kipp 107fb3d1e9 IMplement ReflowBlockChild 1998-06-04 23:08:49 +00:00
kipp e058ce04b6 Removed ReflowChild that handles space manager (troy can stop nagging me now :-) 1998-06-04 23:08:24 +00:00
karnaze b289931045 radio, checkbox padding done through MapAttributesInto 1998-06-04 21:34:41 +00:00
kipp 80db5ff5ad Create head part and insert it into the model 1998-06-04 21:33:44 +00:00
kipp 3bf2f977ba Only layout the body child in the root part 1998-06-04 21:33:23 +00:00
kipp 087c0f5463 Added a head part 1998-06-04 21:33:07 +00:00
kipp 193e9322c8 new 1998-06-04 21:32:50 +00:00
kipp 8f956b9c41 Work around body bug with placeholder code to avoid dup free's of placeholder's child frame 1998-06-04 21:04:50 +00:00
kipp 4915c6ac35 Pass through style rules 1998-06-04 21:04:22 +00:00
kipp 14d2243da5 Made absolute frame a container too to work around the pseudo-frame problem 1998-06-04 21:04:07 +00:00
kipp 748fce93e0 removed blather code 1998-06-04 20:41:14 +00:00
kmcclusk a1fce54624 Added nsAbsoluteFrame to the make for Linux 1998-06-04 19:49:19 +00:00
kipp 86a147a5f6 Updated tracing; if the body has no children then collapse to nothingness 1998-06-04 18:03:14 +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 cc0ee570ee Made a subclass of nsContainerFrame to deal with PropogateContentOffsets because placeholders contain pseudo-frames 1998-06-04 17:52:02 +00:00
kipp 382a176fe8 Added code to do ebina style margins; perform horizontal alignment and relative positioning for blocks 1998-06-04 17:51:27 +00:00
kipp c8f38f4ede Log view creation when it's done; create view when child and parent opacities differ 1998-06-04 17:50:53 +00:00
kipp b6726ddcb7 Draw a different colored border when showing visual frame boundaries if the frame has a view; only draw if rectangle has area; create scroll frame when requested stylistically 1998-06-04 17:50:19 +00:00
kipp e3bb53161d Added mPrevMarginSynthetic flag 1998-06-04 17:49:29 +00:00
kipp e6457a74ec Added a hack to only do incremental painting for the block whish is reflowing the html BODY; improved trace msgs; added code to collapse into nothingness empty blocks 1998-06-04 17:49:15 +00:00
kipp 6b1e29aa2c Add scroll frame to build 1998-06-04 17:48:08 +00:00
kipp fad8e7548d new 1998-06-04 17:47:49 +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
karnaze 1d293e47a5 added modes for backward compatibility 1998-06-04 17:23:48 +00:00
kipp d0641d5c59 Fixed another GetDesiredSize case that troy missed 1998-06-04 05:49:45 +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
kmcclusk 700d4dd6f8 Added nsLineLayout.cpp to linux makefile 1998-06-03 21:59:53 +00:00
kipp 8e9e2049c7 Fixed install bug on unix 1998-06-03 20:50:02 +00:00
kipp a8a149cb50 Install broke-image.gif 1998-06-03 18:56:45 +00:00
kipp 411f94f0a8 Avoid scaling image when rendering the broken-image image 1998-06-03 18:56:11 +00:00
kipp d6d26b8295 Added logging events 1998-06-03 18:55:23 +00:00
kipp 6df0b683f0 new 1998-06-03 18:31:14 +00:00
kipp 1fa3083a46 Fixed so that document still gets set even when notify is false 1998-06-03 18:31:07 +00:00
kipp 9a2095a7f5 Fixed up usage of insert/append/remove/replace api return values in dom methods 1998-06-03 18:09:17 +00:00
kipp a5e8fccf79 When root content frame doesn't have any children make sure the aDesiredSize out parameter is properly setup 1998-06-03 17:44:23 +00:00
kipp cd6f6d6e18 Updated to new api 1998-06-03 16:01:25 +00:00
kipp bb4f90a577 Whacked to implement revised COMized insert/delete/remove/append child methods from nsIContent 1998-06-03 16:01:02 +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 558164bb1a Disable notifications during construction of select container 1998-06-03 15:59:56 +00:00
kipp 20076b8898 Disable notifications during construction of file container 1998-06-03 15:59:44 +00:00
kipp 9f9564b141 Use new GetDocument API 1998-06-03 15:59:24 +00:00
kipp 5123a3c60b Fixed IID reference and added a reminder comment 1998-06-03 15:59:09 +00:00
kipp 1a461d9ed1 Use revised Presentation shell API; control notifications directly; propogate end of document load to document so that observers can be notified 1998-06-03 15:58:52 +00:00
kipp 23f0bd06ee Fixed logging messages to say Reflow not ResizeReflow 1998-06-03 15:57:39 +00:00
kipp aa7da9b898 Print out view during listings 1998-06-03 15:57:24 +00:00
kipp bdcfe7d55f Wrap created frames in a view if necessary 1998-06-03 15:57:08 +00:00
kipp a749574762 Added GetLoadImageFailed method 1998-06-03 15:56:50 +00:00
kipp 1c6861fba0 Create view for the image always; update to use new API's; use nsHTMLFrame to create view 1998-06-03 15:56:40 +00:00
kipp d97f2b9aa8 Implement stubs for revised insert/delete/remove/append api's 1998-06-03 15:56:15 +00:00
kipp 00e2688516 disable notifies during synthetic content insertion 1998-06-03 15:55:49 +00:00
kipp 2febe0edb4 Implement revised COMized API 1998-06-03 15:54:57 +00:00
kipp 138dca2e43 Print out view during listings; try to support broken image handling better 1998-06-03 15:52:01 +00:00
kipp f7b56628c8 Print out views during listings 1998-06-03 15:51:17 +00:00
kipp 8308f1bd45 Implement ListTag; print out view during listings 1998-06-03 15:50:58 +00:00
kipp 51129651d4 Added nsHTMLFrame to build 1998-06-03 15:49:09 +00:00
kipp 9460911cbf new 1998-06-03 15:49:00 +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
troy 9deea435e6 Initialized nsBlockReflowState::mStyleSizeFlags to 0 1998-06-03 02:27:39 +00:00
buster 3780538b44 a variety of fixes and optimizations
together with a fix troy just checked in, this makes a lot of real-world tables look a whole lot better
1998-06-03 00:43:53 +00:00
troy bc86a5f750 Changed Paint() to use GetCoordValue() instead of GetIntValue() 1998-06-03 00:11:15 +00:00
troy 50a9cf0e4b Changed GetReflowMetrics() to initial maxElementSize to (0,0) 1998-06-02 23:57:03 +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
kipp 71956a68ac removed 1998-06-02 16:33:52 +00:00
troy 26602e0734 Turned on incremental painting 1998-06-02 05:29:44 +00:00
troy edd188c5e9 Added member function Invalidate() 1998-06-02 05:28:11 +00:00
troy a2fd8036ca Fixed a problem that was causing a crash 1998-06-02 02:11:26 +00:00
kipp d2caf8b43e Make bullets transparent to whitespace compression 1998-06-02 01:43:02 +00:00
kipp 9176bca6d6 Set first child during reflow unmapped; leave white space compression flag alone for zero sized frames 1998-06-01 23:39:40 +00:00
kipp 29847f56c9 Map DIR attribute into style 1998-06-01 23:38:55 +00:00
kipp f7574b4cbd Fixed block frame Clear method to work properly 1998-06-01 23:38:40 +00:00
kipp 9be24b0fac Added SetFirstChild; made line layout a friend of block frame 1998-06-01 23:37:55 +00:00
troy 63d19a37ca Changed nsLeafFrane's GetdesiredSize() to not pass in the max size
since it's now part of nsReflowState
1998-06-01 23:31:30 +00:00
buster 3fe1fe2844 made tables quiet again 1998-06-01 21:07:56 +00:00
kipp 85370222ed Removed some debug printfs 1998-06-01 20:55:28 +00:00
kipp 4222da36de Support nsILinkHandler::OnOverLink 1998-06-01 20:55:10 +00:00
buster 3086966c54 much better fixed and percentage width layout 1998-06-01 20:21:05 +00:00
troy a63afc80fc Work in progress for floaters to handle percentage based
width/height
1998-06-01 19:56:58 +00:00
kipp 5fda0b28cd updated 1998-06-01 19:53:38 +00:00
kipp a244a4fe53 Updated LoadURL API to take an nsIStreamListener 1998-06-01 19:53:27 +00:00
kipp b328c87dfc Updated LoadURL API to take an nsIStreamListener; pass on listener to parser 1998-06-01 19:53:19 +00:00
troy 99a5451cee Added some support for percentage based width/height. Currently only works
for the initial reflow
1998-06-01 19:52:53 +00:00
kipp db0df5f7c3 Revised LoadURL to take an nsIStreamListener; removed old document load hooks 1998-06-01 19:52:39 +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
troy d870f336d8 Fixed an assert 1998-05-30 23:56:28 +00:00
kipp 669da95542 Revised API so that correct percentage width/height could be computed 1998-05-30 21:22:17 +00:00
kipp 9a2d1c3765 Updated a few table API's so that percentage width could be properly computed 1998-05-30 21:21:51 +00:00
kipp cefa24d0c1 Updated to new GetDesiredSize api's (so that percentage width's could be properly calculated) 1998-05-30 21:21:11 +00:00
kipp 89fa391100 fixed value to string for percentages to include the '%' 1998-05-30 21:20:07 +00:00
kipp b13aa91034 Removed dead code 1998-05-30 21:19:36 +00:00
kipp acae2baa96 Updated to new GetDesiredSize API; reworkd width handling 1998-05-30 21:19:11 +00:00
kipp 1ce91917a8 Use new cssLayout api 1998-05-30 21:18:32 +00:00
kipp 014fd2716d Use new mPendingBreak state 1998-05-30 17:46:11 +00:00
kipp ea63db96a3 Support BR tags in inline frames 1998-05-30 17:45:46 +00:00
kipp 9191e6894f Partial support for BR clear behavior 1998-05-30 17:45:15 +00:00
kipp d7b2db76d0 Cleaned up; use new slot in nsLineLayout state to support clear semantics 1998-05-30 17:44:50 +00:00
kipp 3a6dc218b6 NS_IMETHOD'd some of the API's 1998-05-30 01:36:47 +00:00
kipp 0a09bfc52f NS_IMETHOD'd some of the API's; rewrote insert/delete/append/replace dom methods so they actually work 1998-05-30 01:36:00 +00:00
kipp 55fb96306e Add attributes to result in ToHTML 1998-05-30 01:34:56 +00:00
kipp 7415276d6f Added QuoteForHTML method 1998-05-30 01:34:03 +00:00
kipp ad65ae2c8c process DIR attribute and lang attribute 1998-05-30 01:32:50 +00:00
kipp d25f654f17 updated 1998-05-30 01:32:10 +00:00
kipp 33f579eb13 enter/exit reflow lock automatically in content changed (temporary maybe) 1998-05-30 01:31:04 +00:00
kipp 7baf3bcb5b new 1998-05-30 00:44:38 +00:00
troy a4f359a574 Placeholder now wraps container content in a body pseudo frame 1998-05-29 23:12:26 +00:00
troy b33d67da1e Changed ReflowChild() to handle the 'OccupiedMultiple' case 1998-05-29 23:06:08 +00:00
troy 710593c695 Changed ComputeAvailSpaceRect() to handle the 'OccupiedMultiple' case 1998-05-29 23:05:12 +00:00
karnaze 4de74d7ac1 event improvements 1998-05-29 22:44:13 +00:00
michaelp 739c83297e fixed over-releasing of views in DeleteFrame(). 1998-05-29 22:36:21 +00:00
buster a58280cec0 some proportional column balancing now works
the <TABLE> COLS attribute is supported via proportional column balancing.
1998-05-29 22:08:19 +00:00
troy 7a485fcc40 Changed nsReflowState structs to be linked together 1998-05-29 20:36:05 +00:00
kipp 24a708a050 Consolidated list handling state variables 1998-05-29 18:25:14 +00:00
kipp 80e1675e3e Disabled assertions for now (sigh); removed DoResizeReflow and collapsed it into Reflow 1998-05-29 02:34:19 +00:00
kipp a73cb55e80 Disabled assertions for now (sigh) 1998-05-29 02:34:02 +00:00
kipp 8bf7e83385 Removed some unused list layout cruft 1998-05-29 02:33:50 +00:00
kipp c76134da19 nuked 1998-05-29 02:18:17 +00:00
kipp 42884324fa pass url into image loader 1998-05-29 02:16:46 +00:00
kipp e6a44c24b8 Use outside bullets again 1998-05-29 02:16:29 +00:00
kipp 59784b7f81 Get initial reflow state set right during child reflow; support list bullets directly 1998-05-29 02:15:46 +00:00
kipp 0ad4885eb9 Pass on initial reflow to ProcessInitialReflow 1998-05-29 02:15:00 +00:00
kipp 47b716e3b4 Added bullet creator 1998-05-29 02:14:41 +00:00
kipp 12ecea6824 Revised image loader API slightly 1998-05-29 02:14:30 +00:00
kipp a5ddf1f970 Revised image loader API slightly and used it to setup url spec via src attr 1998-05-29 02:14:17 +00:00
kipp e34cb470d5 stub out IsSynthetic API 1998-05-29 02:13:50 +00:00
kipp 8bb1a77086 Added initial reflow hook; setup list bullets using it 1998-05-29 02:13:25 +00:00
kipp 3e79bff40b Added initial reflow hook 1998-05-29 02:13:13 +00:00
kipp 5e78243075 Treat list-item like block when creating frames 1998-05-29 02:12:59 +00:00
kipp fd620819d3 Assert that reflow reason is correct 1998-05-29 02:11:50 +00:00