Commit Graph

736 Commits

Author SHA1 Message Date
kipp%netscape.com
7f96144059 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
sfraser%netscape.com
13930cd646 Fix build bustage. 1999-01-15 23:47:23 +00:00
kipp%netscape.com
4243726f6a Switch to using nsFrameList for frame lists 1999-01-15 22:53:39 +00:00
troy%netscape.com
6d63084a70 Fix for bug #1998. Now we render the background image over the padding area and not over the border area 1999-01-15 18:25:58 +00:00
troy%netscape.com
e075d4bfbc Fixed an assert that was getting hit for absolutely positioned elements 1999-01-15 04:28:17 +00:00
peterl%netscape.com
5cc1370c12 better base url support
Checkin during red tree approved by sar
1999-01-15 02:07:46 +00:00
peterl%netscape.com
e86b440abd better base URL support
Checkin during red tree approved by sar
1999-01-15 01:57:58 +00:00
kipp%netscape.com
a1c6f729a4 Implement temporary versions of AppendFrames/InsertFrames/RemoveFrame; stub out ReplaceFrame 1999-01-15 01:29:15 +00:00
kipp%netscape.com
6302998324 Added append/insert/remove/replace methods 1999-01-15 01:28:28 +00:00
vidur%netscape.com
895ce771ea Moved text and comment code out of HTML-specific directories. Completed CloneNode for elements. Completed factory methods for intersection of XML and HTML. 1999-01-14 23:14:02 +00:00
troy%netscape.com
036e6852f2 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
troy%netscape.com
5c75ea66f0 Fix for bug #2276, and some initial support for 'right' and 'bottom'
for absolutely positioned elements
1999-01-13 06:37:31 +00:00
kipp%netscape.com
cd76455b98 Use new flag defines 1999-01-12 16:42:03 +00:00
kipp%netscape.com
3c5005ec2d Clean up block frame flags 1999-01-12 16:41:30 +00:00
vidur%netscape.com
274a4add3e Second pass of attributes as nodes. Improved namespace management - XML elements now hold on to their containing namespace. Fixed Get/SetDOMAttriute naming issue. Added new namespace parsing methods to nsIContent 1999-01-12 16:37:24 +00:00
troy%netscape.com
4f14253e33 Turned off assert 1999-01-09 01:43:02 +00:00
kipp%netscape.com
10a89709d7 new 1999-01-09 00:18:08 +00:00
kipp%netscape.com
d1dd0f55bd Reworked to use dom content objects for holding the raw map data and observering content changes and updating the 'compiled' map 1999-01-09 00:13:53 +00:00
kipp%netscape.com
19e73d1f62 Use nsImageMap 1999-01-09 00:13:19 +00:00
kipp%netscape.com
1de1edbd74 Added defines and comments indicating which parts of the frames reflow state are reserved 1999-01-09 00:11:40 +00:00
troy%netscape.com
20fbd1e186 Added support for 'right' and 'bottom' properties. Changed to using a
nsStyleSides struct to hold all the offsets
1999-01-08 04:47:46 +00:00
troy%netscape.com
6d753e4c78 Changed to handle FrameRemoved reflow command for an absolutely positioned
child frame
1999-01-07 05:46:26 +00:00
brade%netscape.com
7bc19df3f9 reduce Macintosh compiler warnings by adding prototype 1999-01-06 18:53:59 +00:00
brade%netscape.com
2ad8ae0483 reduce Macintosh compiler warnings byadding prototype 1999-01-06 18:52:58 +00:00
brade%netscape.com
8727d91f50 reduce Macintosh compiler warnings by adding prototype 1999-01-06 18:44:59 +00:00
brade%netscape.com
c79a8d793c reduce Macintosh compiler warnings by making function private 1999-01-06 18:43:39 +00:00
troy%netscape.com
4b3e1eebad Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
kipp%netscape.com
844a41c615 Use macros from nsTextFragment 1999-01-05 23:02:27 +00:00
kipp%netscape.com
50b331f35c Reinstated the last set of checkins that were backed out 1999-01-05 23:01:54 +00:00
troy%netscape.com
a423353676 Initial check-in 1999-01-05 19:44:41 +00:00
donm%netscape.com
9b2666a111 backing out changes against a long red tree. would like to clear
the hook.  -donm
1999-01-05 18:16:05 +00:00
kipp%netscape.com
e29f665a91 Fix handling of removed-child incremental reflow to no longer crash (bug #1941); also disabled incremental behavior for remove and inserted for now so that layout looks correct 1999-01-05 17:50:41 +00:00
kipp%netscape.com
3a981f0215 Removed aPrevSibling from DoRemoveFrame's arg list 1999-01-05 17:49:44 +00:00
amusil%netscape.com
0adb3694fe Temporary workaround so that plugins display correctly. This will change after support for
CSS borders and padding are added.
1999-01-04 23:45:38 +00:00
troy%netscape.com
c5ec74eb54 Changed nsISpaceManager interface to conform to XP-COM conventions on
return values
1999-01-04 04:54:33 +00:00
troy%netscape.com
99455f5082 Moved enum and replaced it with #defines 1999-01-03 00:31:46 +00:00
troy%netscape.com
097f73ee6c Changed CreatePlaceholderFrame() to use a pseudo element style context
(:PLACEHOLDER-FRAME) for the placeholder frame. This way it looks like an
inline static frame with a specified size of (0, 0)
1999-01-02 20:51:43 +00:00
troy%netscape.com
8e168ef086 Better computation of computed width and height and margins for block-level
elements
1998-12-31 05:35:38 +00:00
troy%netscape.com
4591f9d2ad Changed width/height constraints in nsHTMLReflowState struct 1998-12-30 17:50:00 +00:00
troy%netscape.com
583682a5c1 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
troy%netscape.com
7b5cc03059 Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code
1998-12-29 03:38:16 +00:00
troy%netscape.com
5cebecb150 Fix for bug #1924 1998-12-22 05:02:46 +00:00
troy%netscape.com
98e47c310d Fix for bug #1942. Also made it so we respect 'width' and 'height' properties
specified on the HTML element
1998-12-22 03:49:04 +00:00
troy%netscape.com
6493c0fc74 Renamed NS_NewHTMLFrame() to NS_NewRootFrame() 1998-12-21 18:22:44 +00:00
rods%netscape.com
0120a7d8e5 Added in NS_RELEASE of LookAndFeel object 1998-12-21 16:52:17 +00:00
brade%netscape.com
0dd08f1cf8 remove extra comma to reduce Macintosh compiler warnings 1998-12-21 16:40:46 +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
kipp%netscape.com
8943d05510 Implement GetSkipSides so that continued inline frames render properly 1998-12-18 22:12:42 +00:00
kipp%netscape.com
ed1c9c40e1 Display inline borders/background during content painting, not during background painting (per css2 spec) 1998-12-18 22:12:15 +00:00
akkana%netscape.com
c3905a8204 Attempt to patch mac build error 1998-12-18 21:04:33 +00:00
troy%netscape.com
8d3739ba94 Initial check-in 1998-12-18 17:54:54 +00:00
kipp%netscape.com
40c2cfef07 Fixed numerous compiler warnings (hopefully) from the mac build 1998-12-18 17:34:34 +00:00
kipp%netscape.com
c29e5116c7 Revised frame Paint API 1998-12-18 15:54:23 +00:00
troy%netscape.com
087d7aeae8 Fixed a couple of compiler wanrings by including nsHTMLParts.h 1998-12-18 05:50:19 +00:00
troy%netscape.com
452402c73d Fixed a compiler warning where there was an extra ',' after an enum
identifier
1998-12-18 05:46:00 +00:00
troy%netscape.com
9cc97f6532 Fixed a compiler warning by including nsHTMLParts.h 1998-12-18 05:44:26 +00:00
troy%netscape.com
7e29c81e53 Changed CreateViewForFrame() to check whether the parent view is a scrolling
view and if so use SetScrolledView() instead of the view manager's InsertChild().
This ensures that the scrolled frame's view is inserted as a child of the clip
view during the view initialization stage
1998-12-18 05:25:36 +00:00
kipp%netscape.com
df22ba5edf Disabled skid marks 1998-12-17 19:10:53 +00:00
kipp%netscape.com
a9cbdcd957 nuked some tabs; added in comment to note where max-element-size computation should be fixed up 1998-12-17 18:55:13 +00:00
kipp%netscape.com
61e5ececd9 Added set/get empty line methods (currently unused) 1998-12-17 18:54:40 +00:00
kipp%netscape.com
0a7f47b0de Add in border and padding to get the max-element-size right 1998-12-17 18:54:22 +00:00
kipp%netscape.com
98848b0634 Factor in margins into in-flow-bounds rect; update max-element-size to include the margins around the block element 1998-12-17 18:52:45 +00:00
kipp%netscape.com
b5ddc4184d Clean up max-element-size computations; added code to remove empty lines (disabled for now) 1998-12-17 18:52:10 +00:00
kipp%netscape.com
5c8c37f9e8 Added methods for get floater info in the band and a method to compute the impact on the max-element-size of the floaters 1998-12-17 18:50:45 +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
kipp%netscape.com
dafa9178f7 Removed bogus null pointer check 1998-12-15 17:59:49 +00:00
kipp%netscape.com
081d6a2815 Moved floater reflow out of PlaceFloater and into AddFloater so that floaters are only reflowed during reflow, not during placement; Added code to support css 10.3.5; reflow floaters more often so that % width values are recomputed properly 1998-12-15 04:20:54 +00:00
kipp%netscape.com
0c1d7e289e Print out state bits in hex too 1998-12-15 00:16:32 +00:00
kipp%netscape.com
d349695d52 #ifdef'd out the outside-children state methods 1998-12-15 00:16:21 +00:00
kipp%netscape.com
8f3bfb6318 Fixed rendering problems with lines with outside children; repaired code (currently unused an ifdef'd) to compute the lines outside children state 1998-12-15 00:14:09 +00:00
mjudge%netscape.com
2f5ca67ece adding in selection 1998-12-14 18:34:14 +00:00
kipp%netscape.com
a475e77dd2 Made ListTag more usable for all frame types, not just derivations of nsFrame 1998-12-12 19:20:10 +00:00
kipp%netscape.com
398462eb7a Moved a #if 0 to get rid of a compiler warning 1998-12-12 19:19:48 +00:00
kipp%netscape.com
934a9c6a93 Reworked incremental reflow floater handling to place floaters as their state is recovered instead of moving them 1998-12-12 19:19:11 +00:00
kipp%netscape.com
c2c34891ef Factored out floater sliding from SlideFrames; Added the dy value to the RecoverState method 1998-12-12 19:18:28 +00:00
kipp%netscape.com
9cb6aebcb0 Revised ClearFloaters to loop so that all appropriate floaters are cleared 1998-12-12 19:17:58 +00:00
troy%netscape.com
e0814be9c7 Changed inline and block reflow code to reset reflow state's isTopOfPage
data member based on whether IsAdjacentWithTop() is true
1998-12-12 17:59:30 +00:00
troy%netscape.com
b76ea91da7 Changed Reflow() to set isTopOfPage in reflow state 1998-12-12 17:58:18 +00:00
kipp%netscape.com
ea17e7a1d7 I disabled selection rendering until it works again 1998-12-12 03:05:24 +00:00
kipp%netscape.com
58fef6676e Compute correct Y coordinate after clear floaters; fixed bullet positioning bug when placing a bullet next to a block frame that has a carried-out top margin 1998-12-11 22:26:45 +00:00
vidur%netscape.com
3a9dd64bbf Work in progress of async loading of SCRIPT and STYLE with SRC attributes. Content sinks can now return a BLOCK_PARSER return code, forcing the parser to block. nsIParser::EnableParser can be used to unblock. Also introduced nsIContentSink::SetParser. 1998-12-11 17:02:37 +00:00
kipp%netscape.com
076df9152c Tweaked reflow status to be legible 1998-12-11 15:53:03 +00:00
kipp%netscape.com
6234eb38c7 Removed bogus assert that was tripping on spacer-frames; fixed up justification behavior (thanks harish!) 1998-12-11 15:49:07 +00:00
kipp%netscape.com
6c31b2d1f4 Repaired frame-util IID 1998-12-11 15:47:09 +00:00
troy%netscape.com
9d2a87867d Minor change to the flow of control to make it more readable 1998-12-10 03:20:31 +00:00
troy%netscape.com
d5d22e04da Added print options for controlling whether odd and even pages are printed 1998-12-10 03:07:11 +00:00
kipp%netscape.com
c51740de2d Only zero out the height/ascent/descent if the empty text is not a pre-formatted piece of empty text, otherwise blank lines in PRE sections disappear 1998-12-10 00:30:52 +00:00
troy%netscape.com
fad656e103 Moved StartDocument/EndDocument calls to document viewer impl's Print() member
function. This fits better with the Mac's printing model
1998-12-09 22:36:57 +00:00
troy%netscape.com
7ec6a2c281 Added new atoms to nsLayoutAtoms for additional named frame child lists 1998-12-09 05:30:17 +00:00
kipp%netscape.com
8ac9031a17 new 1998-12-09 03:40:03 +00:00
kipp%netscape.com
e9ff25188b new 1998-12-09 03:31:08 +00:00
kipp%netscape.com
14d0a212d5 new 1998-12-08 21:44:22 +00:00
kipp%netscape.com
e10802d09e Factored out the block-band-data class; fixed a bug with treating block objects that weren't really nsBlockFrame's like they were (bug #1713) 1998-12-08 21:43:15 +00:00
mjudge%netscape.com
948d2e6638 chagnes to selection 1998-12-08 18:26:06 +00:00
kipp%netscape.com
320f0facc1 Fixed bug #1621 - if a floater was too wide and it was right aligned it would end up positioned off the left edge of the block 1998-12-08 03:57:12 +00:00
kipp%netscape.com
2025694b82 Removed check for a band count of when when clearing floaters because if the floater is large the band may only have one trapezoid in it 1998-12-08 03:47:44 +00:00
kipp%netscape.com
3723b826cc Disabled fixed height/width ignoring code for shrink-wrap blocks; fixed crash bug with premature deleting of a line 1998-12-07 22:28:55 +00:00
kipp%netscape.com
be0240395a Added DeleteLine method 1998-12-07 22:28:23 +00:00
kipp%netscape.com
4d4668dca4 Slightly better handling of left/right block margins 1998-12-07 19:34:41 +00:00